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

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

2013-04-04 Thread Alain Forget
...@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. smile/ On Mon, Apr 1, 2013 at 11:14 AM, Alain

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

2013-04-04 Thread Rob Mensching
: Re: [WiX-users] Change content of Config file after installation Nothing available today. Would be cool if someone added it though. smile/ On Mon, Apr 1, 2013 at 11:14 AM, Alain Forget afor...@cmu.edu wrote: Ah, that should work for the original poster, but what if the file I want

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 content

[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. Component Id=cmp5F6F9B35A372943520CC8D5ABDE2F507 Directory=dirCFCE6D07D3330FE628276777F0488B18

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

2013-04-01 Thread Alain Forget
[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.Below

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

2013-04-01 Thread John H Bergman (XPedient)
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 external program

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

2013-04-01 Thread Rob Mensching
] 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. Component Id=cmp5F6F9B35A372943520CC8D5ABDE2F507 Directory

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

2013-04-01 Thread Alain Forget
: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 smile/). On Mon, Apr 1, 2013 at 10:53 AM, Alain

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

2013-04-01 Thread Rob Mensching
: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.Below

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 chennam
Here is the solution which worked for me using util:XmlFile Component Id=cmp5F6F9B35A372943520CC8D5ABDE2F507 Directory=dirCFCE6D07D3330FE628276777F0488B18 Guid={3AFB6DE8-D43E-4EC3-BC10-251EABFE3DD0} File Id=fil24F01DF9AB46C9205A3E021D5E98A3CF KeyPath=yes