If this is a major upgrade, you can add another custom action that reads the value from this file and sets a property in the installer that your dialog can use for displaying to the user. The new custom action would have a condition that makes it run only during upgrade.
-----Original Message----- From: Marty Offe [mailto:[email protected]] Sent: Thursday, May 16, 2013 4:58 PM To: [email protected] 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 [email protected] https://lists.sourceforge.net/lists/listinfo/wix-users

