Hey all..
From InstallShield manual -
Due to the nature of DOS, when you launch Setup.exe from the command line, a DOS prompt is quickly returned although Setup.exe is still in memory.
Now, I need to run uninstallation of another setup.exe from my installing silently. It can easily be done using RunAppAndWait("setup.exe", "/s....", WAIT), but, like the manual says, it reurns immediately and I need to wait for the uninstallation to finish before proceeding.
I tried -
WaitForApplication(LAAW_PROCESS_INFORMATION.hProcess, LAAW_PROCESS_INFORMATION.dwProcessId, 10000, LAAW_OPTION_WAIT);
but it also returns immediately.
Is there a way to overcome this behavior?
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
setup.exe from command prompt
Started by
guyjoules
, Feb 05 2008 19:21
1 reply to this topic
Posted 08 February 2008 - 00:35
Try the /SMS switch
Stefan Krüger
InstallSite.org twitter facebook