Hi there,
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:
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.
UninstallApplication()
Started by
Lehrling1988
, Mar 03 2008 13:16
1 reply to this topic
Posted 03 March 2008 - 13:16
CODE |
if( AskYesNo( @ID_OTHER_INSTALLDIR, YES ) = 1)then if( UninstallApplication ( svLine, "", LAAW_OPTION_WAIT) >= ISERR_SUCCESS )then if( checkRegistry("SOFTWARE\\" ^ path, "Version") = 1 ) then MessageBox(@ID_DEINST_ERROR ,SEVERE); abort; endif; endif; // end Unistallapplication endif; |
greets r
Edited by Lehrling1988, 03 March 2008 - 13:18.
Man lernt nie aus...darum bin ich immer noch ein Lehrling und werde es immer bleiben...
Posted 24 April 2008 - 09:48
Hey ,
Y dont u try this
UninstallApplication (strTotalUninstallPath,"/clone_wait ",LAAW_OPTION_WAIT|LAAW_OPTION_HIDDEN);
Y dont u try this
UninstallApplication (strTotalUninstallPath,"/clone_wait ",LAAW_OPTION_WAIT|LAAW_OPTION_HIDDEN);
Edited by tnand53, 24 April 2008 - 09:48.