WaitForSingleObject() not waiting for setup.exe to exit(IS2016 SP2)
Previously, I am used IS2014 Professional.
The WaitForSingleObject() is waiting for setup.exe to exit. (working)
I have upgraded from IS2014 Professional to IS2016 SP2 Professional. (The .ism file has been upgraded automatically when open the file in IS2016 SP2 & build installer)
The WaitForSingleObject() is not waiting for setup.exe to exit (not working)
The WaitForSingleObject() is Microsoft API.
Could you please check on this, This issue has blocked my work.
Thanks in advance.
I had the same problem some time ago after updating to IS2016
the clone_wait parameter fixed it in my case
/clone_wait -- InstallScript -- This parameter indicates that the original setup should wait for the cloned setup process to complete before exiting.
based on documentation. Clone_Wait for InstallSctipt. I am using BASIC MSI project.
please let me know, is it working for Basic MSI project.
Tip: Don't use printf to print plain old strings. Use puts for that. The danger with printf is that you might add an unescaped % sign later and unintentionally create a bogus format string. liteblue