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:
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
greets r
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
, Feb 19 2008 14:07
1 reply to this topic
Posted 19 February 2008 - 14:07
Man lernt nie aus...darum bin ich immer noch ein Lehrling und werde es immer bleiben...
Posted 03 March 2008 - 13:20
Bitte schließen...ist an der falschen stelle...hab einen neues auf gemacht.
Danke.
Danke.
Man lernt nie aus...darum bin ich immer noch ein Lehrling und werde es immer bleiben...