ivo_sol
Posts: 16
Joined: Tue Jul 07, 2009 11:30 am

DoNotUninstall

Hello,
I’m migrating an installation from Windows Installer (WI) to Advance Installer (AI).
There is a very handy feature in WI to prevent a particular file from uninstallation – property DoNotUninstall.
How can I achieve the same behavior with AI?
Thanks in advance.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: DoNotUninstall

Hi,

You can try using the "Permanent" attribute for the component of the file in the Organization page. This way Windows Installer will not remove the file during an uninstall.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ivo_sol
Posts: 16
Joined: Tue Jul 07, 2009 11:30 am

Re: DoNotUninstall

Thank you for the fast reply!
The solution works very well.

Return to “Common Problems”