[WiX-users] Reading xml file

2013-08-27 Thread Carl Enander
Hello, I am new to Wix and have a question regarding wix and reading settings from an xml file when running the installer. I have an xml file with database connectionstrings that are different for my test and production environment:

Re: [WiX-users] Reading xml file

2013-08-27 Thread John Ludlow
You would need an immediate custom action to read the .config file, find the appropriate connection string, and set its value to a property. CustomAction Id=MyAction ExeCommand=cmd.exe /C MyDatabaseInstaller [CONNSTR] Execute=deferred Return=check / If