Amit
Posts: 2
Joined: Mon Oct 10, 2005 12:38 am

Prevent Over-writing of Configuration files while Upgrading.

I am new to the installer. I am using the Installer to Package a VB.Net Application.

I will be packaging few configuration files along with my release. How can I have an option so that the Configuration files dont get over-written if they already have and older version installed and are upgrading to a newer version.

Thanks in advance.
Mike
Posts: 292
Joined: Wed Jun 01, 2005 10:50 am
Location: Craiova, Romania
Contact: Website

Hi,

The overwriting of a file is decided according to the file versioning rules. For more details, please visit:

http://msdn.microsoft.com/library/defau ... _rules.asp

You could use AI to set the version of the files in the upgrade to a smaller version but this is not a long-term solution.

This works only if those files components have the permanent atribute set, since an uninstall will occur before the new version is installed.

Also, this issue has been discussed on the forum in the past. Please see for alternative solutions:

http://www.advancedinstaller.com/forums ... .php?t=302

Hope this helps.

All the best,
Mihai
Mihai Bobaru
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Feature Requests”