no files/folders are removed on uninstall - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

mheckmann
Posts: 74
Joined: Wed Apr 20, 2011 6:24 pm

no files/folders are removed on uninstall

Hello,

IN my project I have a synchronized folder. Now when uninstalling the program, none of the files and folders which were installed are removed. All shortcuts as well as registry keys are left and only the uninstall link in the "Programs and Features" controlpanel is removed.

What step did I miss when building my installer?

Thanks for the help

Markus
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: no files/folders are removed on uninstall

Hi Markus,

This behavior can appear if you have made multiple tests on the same machine with this installation package or if the source files have been modified
after the installation of the product.

Can you please test the package on multiple clean machines, virtual machines for example?

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
mheckmann
Posts: 74
Joined: Wed Apr 20, 2011 6:24 pm

Re: no files/folders are removed on uninstall

Before getting other computers into the same state - is there a way to "clean" the machine where this is occurring?

thx
Markus
mheckmann
Posts: 74
Joined: Wed Apr 20, 2011 6:24 pm

Re: no files/folders are removed on uninstall

Just an additional comment - it works on a virtual machine... No problems removing the files/folders. Yet it would be great if you had a pointer on how I can get my other computer back into a state where I can uninstall correctly.

Thx
Markus
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: no files/folders are removed on uninstall

Hi Markus,
Yet it would be great if you had a pointer on how I can get my other computer back into a state where I can uninstall correctly.
A manual cleaning process is very difficult to perform, as Windows Installer has a lot of entries in the registry hive related to the products it installs. You could try to force the removal operation
of the different versions of your application using this tool, but this cannot guarantee that your machine will be cleaned.

If you want to perform tests on your real machine you could create restore points in your OS. However, the recommended approach for testing are virtual machines because they can be restored much easier
to and older/cleaner state and have to interaction with your real machine. This way you can also easily test the package on different OSes, as your users would do.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
mheckmann
Posts: 74
Joined: Wed Apr 20, 2011 6:24 pm

Re: no files/folders are removed on uninstall

Thanks Bogdan,

very helpful advice!

cheers
Markus

Return to “Common Problems”