Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Reading an xml value into a property for Wix

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?

like image 872
Mercurious Avatar asked Oct 27 '09 13:10

Mercurious


1 Answers

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.

like image 84
Christopher Painter Avatar answered Oct 30 '22 01:10

Christopher Painter