Uninstall files that were installed by a wisescript
Hi,
I am tring to find a way to uninstall files that were installed by a wisescript.
How can I do it.
When I uninstall the MSI, these files stay and I want them to be removed.
Appriciate for Idea.
Thanks, Ido
As the files
were not installed by the MSI, they are not automatically de-installed. You should use the removefiles table, or create a (WiseScript) custom action that carries out any clean up on de-installation.
Just my tuppence
Cheers
Phil
Was the Wisescript part of the MSI?
As Phil stated, unless the MSI actually installed the files, then they do not get automatically removed when the MSI is uninstalled.
In other words, the MSI is NOT aware of what happens in a custom action, and therefore it is up to you to create an uninstall custom action for any custom action that installs files or makes other changes that need to be reversed at uninstall.
If your situation only requires the removal of files at uninstall, then Phil's suggestion is the best way forward. If you choose to use a custom action to clean up at uninstall, the condition on the custom action should be REMOVE="ALL" (all caps). The Install custom action, I assume, already has the condition "Not Installed" so that it runs only on first install.
If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.
Would you like to reply?
Login or Register to post your comment.