Archive: Execwait does not wait until completing running setup.exe


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


This thread should help you:
http://forums.winamp.com/showthread....ghlight=%2FSMS


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

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).


InstallShield, not MSI.