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
Execwait does not wait until completing running setup.exe
5 posts
It's to do with using ExecWait to run another installation program.
Do this,
In the Installation program that is executed...
Do this,
In the Installation program that is executed...
In your main program (in the section)
Function .onInit
WriteINIStr "$TEMP\nsistemp1.tmp"
FunctionEnd
Function .onInstSuccess
Delete "$TEMP\nsistemp1.tmp"
FunctionEnd
-Stuart
Exec "x:\path\to\setup.exe"
loop:
Sleep 1000
IfFileExists "$TEMP\nsistemp1.tmp" loop
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.