473,320 Members | 2,071 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Update configuration file during installation with Windows Installer

Hello,

I'm making a setup project for a Windows Installer, to update my
application.

The application has a configuration file (app.config) that is renamed
after the build. I would like to not replace this file by the new
configuration file during an installation, but keep it both (the new
and old one). In that way I am able to tell the user to merge both
files, or do it by myself as a Custom action.

However, how can I manage this? During an installation the old one is
replaced by the new one default. And the Custom Action 'Install' is
just called after the installation took place. So, I am not able to
rename the old config file or something like that.

Any ideas?

Greetings,
Roeland
Nov 22 '05 #1
1 2611
Roeland,

That is exactly why I have usersettings in the registry and program settings
in the config.

How you will add new config settings, doing that what you want, when you
have a new release.

However maybe there comes a very good answer as well for me.

Cor
Nov 22 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Tony Wright | last post by:
Hi, I am having a problem installing an msi for a web site. The error message I am getting is: "The specified path 'http://mipdev05/features/Fas2' is unavailable. The Internet Information...
0
by: Erick | last post by:
Hi, I have a Installer class used to install my windows service, it was created by the wizard that is in the VS, I just whent into the properties and set up the properties of the ServiceInstaller...
1
by: Roeland Kok | last post by:
Hello, I'm making a setup project for a Windows Installer, to update my application. The application has a configuration file (app.config) that is renamed after the build. I would like to not...
1
by: santhosh_176 | last post by:
:I Created a Pocket PC application for iPAQ 5450. Every thing went fine even installer creation. I could run the setup and install it into the actual device and worked fine. The application enables...
2
by: weichung | last post by:
I had build an installer project for my ASP.NET project. And found that several fields need to be configured, like the web.config files and etc, which requires user input. Also I need to attach my...
0
by: Luis Esteban Valencia | last post by:
Hello I have an installer that ask for the sql server. username and password. My application has a classlibrary in that classlibrary is a file called app.xml which has the connection string that I...
5
by: Wayne Wengert | last post by:
I want to have my application (VB.NET) check a table on an SQL server to see if there is a newer version released and, if so, download and install the new version. I know how to setup the database...
3
by: Chad Smith | last post by:
Hi, I have created a .NET deployment project in Visual Studio 2003. I have specified an entry point into my own code in this installer which launches into the familiar: public override void...
0
by: =?Utf-8?B?QkVB?= | last post by:
Folks, I am developing a deployment project with Visual Studio 2005 that produces an .msi installer. I am not understanding how to create some customized install time actions that I want...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.