ReneAlpert
30th March 2003 19:52 UTC
Execwait does not wait until completing running setup.exe
Hello
I use execwait to start a mysql setup.exe, but if I do so the next instruction is startet immediately wihtout completing the installation. What did I wrong ?
Thank you in advance for help
Rene
kichik
30th March 2003 20:06 UTC
This thread should help you:
http://forums.winamp.com/showthread....ghlight=%2FSMS
Afrow UK
30th March 2003 20:34 UTC
It's to do with using ExecWait to run another installation program.
Do this,
In the Installation program that is executed...
Function .onInit
WriteINIStr "$TEMP\nsistemp1.tmp"
FunctionEnd
Function .onInstSuccess
Delete "$TEMP\nsistemp1.tmp"
FunctionEnd
In your main program (in the section)
Exec "x:\path\to\setup.exe"
loop:
Sleep 1000
IfFileExists "$TEMP\nsistemp1.tmp" loop
-Stuart
virtlink
31st March 2003 12:49 UTC
According to the thread KiCHiK pointed to, one can just use the /sms switch if ReneAlpert's installer is a Windows Installer Service installer (i.e. MSI-package).
kichik
31st March 2003 13:10 UTC
InstallShield, not MSI.