This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- uninstallation leaves files on XP
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 12, 2008
03:25 AM
uninstallation leaves files on XP
Hi there.
I am using basic MSI on installshield2008 and i'm currently having a problem when i am uninstalling the software on XP computers. The un-installation works fine on Vista, but for XP, it seems to be only uninstalling the software at the start menu side but leaves all program files (exe,xml,rtf...) in the directory where it was installed in.
Can anybody identify the problem and provide a solution as to how i can solve this? Preferably step by step. I'm extremely new to this.
Any help will be greatly appreciated.
moex.
I am using basic MSI on installshield2008 and i'm currently having a problem when i am uninstalling the software on XP computers. The un-installation works fine on Vista, but for XP, it seems to be only uninstalling the software at the start menu side but leaves all program files (exe,xml,rtf...) in the directory where it was installed in.
Can anybody identify the problem and provide a solution as to how i can solve this? Preferably step by step. I'm extremely new to this.
Any help will be greatly appreciated.
moex.
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 12, 2008
03:35 AM
Hi you can add this code in your OnUnistall or OnMainUIBefore at the end which will remove the files .
--------------------------------------------------------------------------
FeatureRemoveAll();
DialogSetInfo(DLG_INFO_ALTIMAGE,SUPPORTDIR^"(Your product).bmp"+";1;;;0,255,0;",TRUE);
SetStatusWindow(0, "");
Enable(STATUSEX);
PlaceWindow( STATUS , nWidth , 30 , CENTERED );
StatusUpdate(ON, 100);
--------------------------------------------------------------------------
--------------------------------------------------------------------------
FeatureRemoveAll();
DialogSetInfo(DLG_INFO_ALTIMAGE,SUPPORTDIR^"(Your product).bmp"+";1;;;0,255,0;",TRUE);
SetStatusWindow(0, "");
Enable(STATUSEX);
PlaceWindow( STATUS , nWidth , 30 , CENTERED );
StatusUpdate(ON, 100);
--------------------------------------------------------------------------
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 12, 2008
03:48 AM
hi,
forgive me for sounding like a complete noob but could you please guide me to where i can find OnUninstall in basicMSI? Do i go to installScript and add CustomActions or something? Thanks=)
moex
forgive me for sounding like a complete noob but could you please guide me to where i can find OnUninstall in basicMSI? Do i go to installScript and add CustomActions or something? Thanks=)
moex
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 12, 2008
03:55 AM
hi sammathew,
thanks for the quick reply but i did a lookup on FeatureRemoveAll(); and it only applies to InstallScript and InstallScript MSI projects. Same applies to OnUninstall Function.
Do you know of any other alternative i can apply on a Basic MSI project instead?
Thanks 😃
moex.
thanks for the quick reply but i did a lookup on FeatureRemoveAll(); and it only applies to InstallScript and InstallScript MSI projects. Same applies to OnUninstall Function.
Do you know of any other alternative i can apply on a Basic MSI project instead?
Thanks 😃
moex.
![](/skins/images/CC38E504FC9E1309DC48ACFEB4925670/responsive_peak/images/icon_anonymous_message.png)