Posted 03 March 2008 - 13:16
I have a problem with my install-script!!
If User chooses to install into same directory as a previous version, I call the build in function UninstallApplication( szUninstallKey, "", LAAW_OPTION_WAIT ), uninstall-key is definitley correct, and Unstallation starts as intended.
BUT: Sometimes the following code is executed without waiting and what happens then is a complete desaster.
Funny thing that all went well with install-Shield 11, now using 12 I do not know how to fix that bug.
worst thing is that even if user waits for the uninstallation process to finish, an uninstall-instance of install-shield is still running after user clicks on finish button.
code as this:
if( AskYesNo( @ID_OTHER_INSTALLDIR, YES ) = 1)then
if( UninstallApplication ( svLine, "", LAAW_OPTION_WAIT) >= ISERR_SUCCESS )then
if( checkRegistry("SOFTWARE\\" ^ path, "Version") = 1 ) then
endif; // end Unistallapplication
Edited by Lehrling1988, 03 March 2008 - 13:18.
Posted 24 April 2008 - 09:48
Y dont u try this
UninstallApplication (strTotalUninstallPath,"/clone_wait ",LAAW_OPTION_WAIT|LAAW_OPTION_HIDDEN);
Edited by tnand53, 24 April 2008 - 09:48.