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
- :
- Re: Files not getting Deleted after uninstall
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
‎Nov 20, 2011
04:33 AM
Files not getting Deleted after uninstall
I am having an InstallShield basic msi project for my product, during uninstallation my product folders are not getting deleted from the machine.
Do I need to separately handle the uninstallation logic?
If any one know how to delete all the files from the installed machine during uninstallation of the product.
Regards,
Shijat.
Do I need to separately handle the uninstallation logic?
If any one know how to delete all the files from the installed machine during uninstallation of the product.
Regards,
Shijat.
(9) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 21, 2011
12:18 AM
Firstly:
What type of files are they?(versioned, unversioned etc...)
Secondly:
Check the uninstall log for the reason for the files not getting deleted.
There is no reason for a developer to handle the removal of files during uninstall. This is the installer's job.
Go through the log thoroughly first.
What type of files are they?(versioned, unversioned etc...)
Secondly:
Check the uninstall log for the reason for the files not getting deleted.
There is no reason for a developer to handle the removal of files during uninstall. This is the installer's job.
Go through the log thoroughly first.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 21, 2011
10:18 PM
Is that you just have empty folders after uninstall?
Just check on a clean system or set all the component Shared = No if you are not explicitly setting it to Yes.....
worth a try before you decide to delete them using a custom action.....
Just check on a clean system or set all the component Shared = No if you are not explicitly setting it to Yes.....
worth a try before you decide to delete them using a custom action.....
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 22, 2011
04:33 AM
😉 You can use the RemoveFile table directly in installshield.
This table is foreseen to this goal.
😉
This table is foreseen to this goal.
😉
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 22, 2011
04:45 AM
I am having most of the application files undeleted. The files are unversioned and the log is not showing any errors regarding this.
Regards,
Shijat.
Regards,
Shijat.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 22, 2011
04:47 AM
can u please mention how to use RemoveFile table, as I am new to InstallShield i dont have any idea about the internal tables that Install Shield is using.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 28, 2011
07:05 PM
If you have not, please refer to RemoveFile Table under Microsoft Windows Installer.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 30, 2011
03:19 AM
thanks for the suggestion
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 20, 2011
08:45 AM
If permissions on this folders are more than "read/execute" and some files are created for eg. during first start of application, the folder will not be deleted.
I always create a custom action to do delete it 🙂 it loks something like: cmd /c rmdir /q /s "[INSTALLDIR]"
Regards.
I always create a custom action to do delete it 🙂 it loks something like: cmd /c rmdir /q /s "[INSTALLDIR]"
Regards.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 21, 2011
12:47 AM
can u give in detail about that custom action and when the custom action gets executed.
Thanks,
Shijat.
Thanks,
Shijat.
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)