Hi.
After uninstalling my program the InstallationInformation directory and the registry entries unter HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{<product guid>} are not removed. All files and program groups are correctly removed. This circumstance causes the setup to start in mainenance mode next time instead of "first installation mode" because setup thinks the program is already there. Why IS does not remove this entries?
I tried to delete the entries and directory manually in OnMaintenanceUIAfter or OnEnd event, but IS recreates this entries.
Has anybody an idea to solve my problem?
Many thanks
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.
program is not unstalled properly
Started by
Thorsten
, May 13 2002 09:54
1 reply to this topic
Posted 13 May 2002 - 10:59
Mmmmh. My fault. Somwhere in the script I typed this code:
8<----------------------------------------------
Disable(LOGGING);
if (...) then
return(0);
else
return(-1);
endif;
Enable(LOGGING);
8<----------------------------------------------
This one works much better ;-)
8<----------------------------------------------
Disable(LOGGING);
if (...) then
nResult = 0;
else
nResult = -1;
endif;
Enable(LOGGING);
return(nResult);
8<----------------------------------------------
8<----------------------------------------------
Disable(LOGGING);
if (...) then
return(0);
else
return(-1);
endif;
Enable(LOGGING);
8<----------------------------------------------
This one works much better ;-)
8<----------------------------------------------
Disable(LOGGING);
if (...) then
nResult = 0;
else
nResult = -1;
endif;
Enable(LOGGING);
return(nResult);
8<----------------------------------------------