|
skissinger -> RE: Anyone know how to create a Custom MIF in VB?? (5/6/2008 8:48:10 PM)
|
I'm going to guess that the return code of 0 is coming from the "I successfully launched the vbscript, but I'm not going to tell you how successful the actual install inside of the vbscript went". In the vbscript, try something like this: quote:
On Error Resume Next Set sho = Wscript.CreateObject("Wscript.Shell") strcmd = "whatever their command line is for ccmsetup + switches" intretval = sho.run(strCmd,0,True) if intretval = 3010 or 0 then 'Their other code here for increasing Cache size-- 'why they don't put it on the ccmsetup line neither of us know end if wscript.quit(IntretVal)
|
|
|
|