Advice on approach to config 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!

clarkjason
Posts: 4
Joined: Thu May 27, 2010 10:08 pm

Advice on approach to config files.

Hi,

We have two installers and thinking of moving to Advanced installer.

An issue we have is saving the settings from previous installation.

1. We have a website with 5 sub sites each with web.config files ( up to 15 settings in each ) - one installer.
2. We have a 10 services, each with config files and registry settings - one installer.

The thing is we dont want the installer to have to enter all these settings on every upgrade, particularly since they have the software tuned to the environment its installed on i.e. test / UAT/ Live

any ideas on an approach to keeping existing settings and adding new keys to these settings during future releases?

thanks,
Jason
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Advice on approach to config files.

Hi Jason and welcome to Advanced Installer Forums,

You can use the Peristent User Data wizard to specify data that needs to be preserved during an upgrade.
Select the wizard from the top Wizards menu.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
clarkjason
Posts: 4
Joined: Thu May 27, 2010 10:08 pm

Re: Advice on approach to config files.

Thanks,

So if I wanted the best of both worlds in that I want to add a settings to my user data preserved web.config file how would I go about that?

ta,
jason
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Advice on approach to config files.

Hello,

You can easily achieve this by creating a new Windows Installer XML file from the Files and Folders page in the new version of your installer. Edit there the entries you want added to your xml file.

I hope this helps.

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

Return to “Common Problems”