Prevent Uninstallation of Common Files - 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!

gkfox
Posts: 4
Joined: Thu Feb 04, 2010 12:16 am

Prevent Uninstallation of Common Files

Seems that this should be possible, but I can't figure it out...

I am installing files to 2 locations, the app folder and some common DLLs to \Common Files\My Co Name\.
These are COM DLLs that get registered.

I want the uninstaller to not remove the ones in the Common area. Is it possible? Thanks much.
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Prevent Uninstallation of Common Files

Hello,

Right click on a file in under the Common Application Data folder and select "Go to component". You can then mark the component as "Do not register this component with Windows Installer".
Do this for all resources under Common Application Data. After doing so, they should remain on the machine after uninstall.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”