hcortez463
Posts: 785
Score: 63 Joined: 4/8/2005 Status: offline
|
the wonderfull world of medical apps.. I feel yoru paint.. Try this script.. copy and save as vbs. Depending on your app, you might need to check the option to run with admin rigths, user rights and allow user to interact with program under the program settings On Error Resume Next 'strComputer = "." set sho = Wscript.CreateObject("Wscript.Shell") strCurrentDir = Left(Wscript.ScriptFullName, (InstrRev(Wscript.ScriptFullName, "\") -1)) & "\" strCommandToRun = chr(34) & strCurrentDir & "setup.exe" & chr(34) & " /s /f1" & chr(34) & strcurrentdir & "xxxxx.iss" & chr(34) intret = sho.run(strCommandToRun,0,True) wscript.quit(intret)
_____________________________
If it Helps, Please rate....
|