In my application installer, I want to read credentials for logging into a database from an xml file. Is there any way that I can do this. If I had to use custom actions, how would I assign the return value into the property?
+1
A:
Here's a good example: http://www.dalun.com/wix/05.22.2007.htm They're using VBS code there; if you need C, start with looking at MsiSetProperty (http://msdn.microsoft.com/en-us/library/aa370391%28VS.85%29.aspx).
Vytautas Shaltenis
2009-10-27 13:26:46
+1
A:
WiX doesn't have a built in Xml read pattern, only Xml write. You'll have to write a custom action to accomplish this. BTW, VBScript is not a good solution due to ActiveScript hosting problems in Windows Installer.
Christopher Painter
2009-11-02 16:32:17