How to Prevent copying some file at the time of repair - 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!

sagar
Posts: 39
Joined: Tue Dec 13, 2011 2:53 pm

How to Prevent copying some file at the time of repair

Hi,
I have created installer for silverlight web application.At the time of installation user is selecting server name on which database is created for my application .So according to that user input I am updating connection string which is present in Web.config file.
But when I select repair Or modify option of installer, Installer is replacing all the older file so I get blank connection string which is present in web.config file.Because of this problem I don't want to copy the Web.config file at the time of repair & modify.
Please tell me solution for above problem.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: How to Prevent copying some file at the time of repair

What you actually need is to preserve the values of the properties that are written in the .config file at install time. For this you can use the following step by step solution:
http://www.advancedinstaller.com/user-g ... rties.html

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”