Re: [WiX-users] Updating app.config

2014-05-13 Thread TimM
I have just been given a task to update one of our apps .config file and so I tried what was listed in this topic but I am getting the following error: Failed to find node: //configuration/appSettings/add[@key='ServiceInfo'] in XML file: C:\Program Files (x86)\CompanyName\Product\Product.exe.confi

Re: [WiX-users] Updating app.config

2008-09-14 Thread polan
It's working as I wanted it. Thx You both guys! Bob Arnson-6 wrote: > > polan wrote: >> Just one last question to make it clear : To make it work I need to move >> the >> creation of All the xml config nodes to WIX (.wxl) file, and simply >> forget >> about copying the app.config file from the

Re: [WiX-users] Updating app.config

2008-09-10 Thread Bob Arnson
polan wrote: > Just one last question to make it clear : To make it work I need to move the > creation of All the xml config nodes to WIX (.wxl) file, and simply forget > about copying the app.config file from the source like this > Vital="yes" /> ? > XmlFile and XmlConfig both support modify

Re: [WiX-users] Updating app.config

2008-09-10 Thread polan
Thank you. I'll try to go on with this. Just one last question to make it clear : To make it work I need to move the creation of All the xml config nodes to WIX (.wxl) file, and simply forget about copying the app.config file from the source like this ? Or maybe I didn't understand the concept

Re: [WiX-users] Updating app.config

2008-09-09 Thread cemiles
I haven't used Wix 2.0, but I know for sure it's in Wix 3.0. >From what I've read when I needed to use these elements, is that they look very very similar, but I think XmlConfig has a little more power and that's what I favor. derekj wrote: > > Hi, > > Just wondering if you could tell me is

Re: [WiX-users] Updating app.config

2008-09-09 Thread Chad Miles
1) I'll try and do you one better. Here's how I update a specifc node (key or value)... [INSTALLDIR] should be whatever your directoryref is to that component for the config file... And you'll probably want 2 xmlfile elements to create the 2 elements (newSection & add). I could be wrong on th

Re: [WiX-users] Updating app.config

2008-09-09 Thread polan
Thx for your fast answer Ok - sorry for the unclear description. I didn't want to make it long - let's do it more descriptive: Here's the scenario (I'll use simplify pseudo code for the app.config): I have my application version 1.0.0 with app.config: The user gets the app and i

Re: [WiX-users] Updating app.config

2008-09-09 Thread Chad Miles
You'll probably have to write up a dialog and have some edit fields set to properties and pass those values entered onto the util:xmlconfig element. That's been my approach. Maybe I'm on the wrong track on what you are trying to do... On Tue, Sep 9, 2008 at 10:32 AM, Chad Miles <[EMAIL PROTECTED]

Re: [WiX-users] Updating app.config

2008-09-09 Thread Chad Miles
You can update the config file during the UI sequence and modify keys/values. Is that all you're trying to do? util:xmlconfig element On Tue, Sep 9, 2008 at 10:26 AM, polan <[EMAIL PROTECTED]> wrote: > > I have some application settings (like database configuration etc.) stored > in > app.conf

[WiX-users] Updating app.config

2008-09-09 Thread polan
I have some application settings (like database configuration etc.) stored in app.config file. As it is a standard .Net approach i haven't expected any troubles with this and installer. I would like to make the newest version of the program available to the users via wix installer, but I couldn't