Use an immediate custom action that runs just after AppSearch to load the file, process the XPATH, and load the appropriate MSI property with the value.
-- John Merryweather Cooper Build & Install Engineer - ESA Jack Henry & Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -----Original Message----- From: Marty Offe [mailto:marty.o...@harlandfs.com] Sent: Thursday, May 16, 2013 4:58 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] how to read a value from an xml app config file using WIX 3.6 How can I read a value from an application's xml config file and present the value in a dialog? Scenario: During an install a dialog prompts the user for a port number. That port number is written to an application config file using the WIXUtilExtension XmlFile custom action element. During an upgrade install, I would prefer that the dialog present the port number which was read from the application config file. Thanks, Marty Offe ------------------------------------------------------------------------------ AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users NOTICE: This electronic mail message and any files transmitted with it are intended exclusively for the individual or entity to which it is addressed. The message, together with any attachment, may contain confidential and/or privileged information. Any unauthorized review, use, printing, saving, copying, disclosure or distribution is strictly prohibited. If you have received this message in error, please immediately advise the sender by reply email and delete all copies. ------------------------------------------------------------------------------ AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users