Computing.Net > Forums > Programming > VBS InstallShield script

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

VBS InstallShield script

Reply to Message Icon

Name: Victor
Date: May 21, 2003 at 13:47:56 Pacific
OS: XP / 98SE
CPU/Ram: P3-500 128Mb
Comment:

Hello,

I am using a WSH VBScript to install a program using InstallShield's setup.iss answer file. I want the install to run and complete before moving on the the next line of the script. It seems that InstallShield's setup.exe launches other executables (_INST32I.EX_) and quits, tricking my script into thinking that the installation is finished. I launch setup using the TRUE switch to tell it to wait for completion before continuing, but it does not seem to know about the other precesses spawned by the setup executable and continues prematurely. Any thoughts on how to wait until everything is finished before proceeding?

Set WshShell = WScript.CreateObject("WScript.Shell")
Return = WshShell.Run("setup.exe -f1setup.iss -s", 1, true)
WScript.Echo "Result = " & Return

Thanks,
Victor




Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: VBS InstallShield script

How to OPen a File in VB.NET www.computing.net/answers/programming/how-to-open-a-file-in-vbnet/13055.html

VBS logon script help www.computing.net/answers/programming/vbs-logon-script-help/13812.html

VB macro www.computing.net/answers/programming/vb-macro/16000.html