View Full Version : uninstallation leaves files on XP

03-12-2008, 03:25 AM
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.


03-12-2008, 03:35 AM
Hi you can add this code in your OnUnistall or OnMainUIBefore at the end which will remove the files .



DialogSetInfo(DLG_INFO_ALTIMAGE,SUPPORTDIR^"(Your product).bmp"+";1;;;0,255,0;",TRUE);

SetStatusWindow(0, "");
PlaceWindow( STATUS , nWidth , 30 , CENTERED );
StatusUpdate(ON, 100);


03-12-2008, 03:48 AM

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=)


03-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 =)