brian.webb
Posts: 4
Joined: Thu Mar 21, 2019 4:00 pm

Files not removed on uninstall

I have an installer project that sets up and installs to IIS. Install works fine. Uninstall works fine, EXCEPT on one computer. For some reason upon uninstall it leaves all of the files in c:\inetpub\wwwroot. The Virtual Dir is removed, as well as the App Pool

Does anyone know of a good utility/methodology to clean these up?

I tried going through the registry and removing all of the keys that have the product name, product code, and package code but it didn't help. I'm hesitant to use any online because they're packed with malware.

Thank you!
Brian
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Files not removed on uninstall

Hi Brian,

This problem may appear if some registry entries got corrupted after many tests done on the same machine. That is why we recommend tests to be done on clean virtual machines that can be easily restored to their clean state.

You can try to manually remove the files from c:\inetpub\wwwroot, then clean all the unnecessary information remained on your machine about the product, using the Windows Installer CleanUp tool from the link below:
https://support.microsoft.com/en-us/hel ... or-removed

Let me know if this helped.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”