Re: [WiX-users] Change content of Config file after installation

2013-04-04 Thread Rob Mensching
er XML toolset. > Subject: Re: [WiX-users] Change content of Config file after installation > > Nothing available today. Would be cool if someone added it though. > > > On Mon, Apr 1, 2013 at 11:14 AM, Alain Forget wrote: > > > Ah, that should work for the original

Re: [WiX-users] Change content of Config file after installation

2013-04-04 Thread Alain Forget
lto:r...@robmensching.com] Sent: April 1, 2013 14:20 To: afor...@cmu.edu; General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Change content of Config file after installation Nothing available today. Would be cool if someone added it though. On Mon, Apr 1, 2013 at 11:14 AM, Alain F

Re: [WiX-users] Change content of Config file after installation

2013-04-04 Thread Gabriel Ivanes
My 2 cents, a vbscript's function : ' Prerequisites ' Proprierty FILE : File Path + Its name ' Propriété LINE : what you want to replace ' Propriété REG_EXP : Reg exp to identify what you want to be replaced ' Theses 3 properties are passed throught CustomActionData's property. ' Sub Sb_Fi

Re: [WiX-users] Change content of Config file after installation

2013-04-03 Thread chennam
Hey in Continuation of the previous solution (see previous comment) Can we do file search of Web.Prod.Web1.config and replace some content "web1" to "web2" on conditional basis based on [Computername] we are Installing? Like if [ComputerName] is WEBPQR then replace Web1 with web2 allover the cont

Re: [WiX-users] Change content of Config file after installation

2013-04-01 Thread chennam
Here is the solution which worked for me using -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Change-content-of-Config-file-after-installation-tp

Re: [WiX-users] Change content of Config file after installation

2013-04-01 Thread gep13
Hello, This is something that I am interested in as well. Has there been any work in using the XDT transform library which was recently released and made available? http://blogs.msdn.com/b/webdev/archive/2013/01/10/xdt-web-config-transform-engine-released-on-nuget.aspx

Re: [WiX-users] Change content of Config file after installation

2013-04-01 Thread Rob Mensching
.wikipedia.org/wiki/.properties ) > > Alain > > -Original Message- > From: Rob Mensching [mailto:r...@robmensching.com] > Sent: April 1, 2013 13:58 > To: afor...@cmu.edu; General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Change con

Re: [WiX-users] Change content of Config file after installation

2013-04-01 Thread Alain Forget
13 13:58 To: afor...@cmu.edu; General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Change content of Config file after installation Use XmlFile or XmlConfig (still custom actions but you don't have to write the code yourself ). On Mon, Apr 1, 2013 at 10:53 AM, Al

Re: [WiX-users] Change content of Config file after installation

2013-04-01 Thread Rob Mensching
sts.sourceforge.net > Subject: [WiX-users] Change content of Config file after installation > > Hi > > I want to change content of the Config file by detecting the Server on > which the file or MSI package is installed to.Below is the > component of the config file. > >

Re: [WiX-users] Change content of Config file after installation

2013-04-01 Thread John H Bergman (XPedient)
neral discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Change content of Config file after installation I want to do something similar as well, but from what I've found, file I/O through WiX is generally not possible (aside from creating a custom action running an extern

Re: [WiX-users] Change content of Config file after installation

2013-04-01 Thread Alain Forget
ennam [mailto:chatrapathi.chen...@gmail.com] Sent: April 1, 2013 13:45 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Change content of Config file after installation Hi I want to change content of the Config file by detecting the Server on which the file or MSI package is installed to.Bel

[WiX-users] Change content of Config file after installation

2013-04-01 Thread chennam
Hi I want to change content of the Config file by detecting the Server on which the file or MSI package is installed to.Below is the component of the config file. And the content as of now for "Web.Prod.Web1.config" is as below Before: