andre.silva-wdg
Posts: 11
Joined: Mon Dec 14, 2020 6:10 pm

Files and folders are not removed after uninstalling the product

Mon May 03, 2021 2:20 pm

I am testing the update patch.
I created an installation for example 1.0.0 of my application and a patch (.msp) to update it to 1.0.1.
So far OK and update is done without a problem.
However, when I uninstall the product, it is removed but the directory with all files and shortcuts on the desktop remains!
What can I be doing wrong? Do you have any tips?

Catalin
Posts: 6544
Joined: Wed Jun 13, 2018 7:49 am

Re: Files and folders are not removed after uninstalling the product

Wed May 05, 2021 7:49 pm

Hello Andre,

Without further investigation, unfortunately I can not say for sure why this is happening.

Are you testing the setup on a clean machine or on your developer machine? If it is the latter, could you please try to test the setups on a clean machine (e.g. a Virtual Machine) and let me know if the issue still reproduces?

A possible cause of this issue can be seen in the log file. Could you please create an uninstall log (the command line to be used to create such log is highlighted in the article) and check for the following in it:

Code: Select all

Disallowing uninstallation of component {GUID}
If your log file contains something similar to that, please refer to the following forum thread where I have explained why this is happening:

Uninstall does not remove files , shortcuts etc

Hope this helps!

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”