Classification: Public And / or take a look at this: http://blogs.technet.com/b/alexshev/archive/2009/05/27/from-msi-to-wix-part-25-installable-items-updating-xml-files-using-xmlfile.aspx
-----Original Message----- From: Sharon Pierson [mailto:sharon.pier...@netiq.com] Sent: May-17-13 3:23 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] how to read a value from an xml app config file using WIX 3.6 I don't see any option to use a predefined wix element. I think you'll need to write your own code for a custom action. There are lots of good sources showing you steps for doing that. I'd start with the WIX tutorial, here: http://blogs.technet.com/b/alexshev/archive/2008/02/21/from-msi-to-wix-part-5-custom-actions.aspx -----Original Message----- From: Marty Offe [mailto:marty.o...@harlandfs.com] Sent: Friday, May 17, 2013 12:17 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] how to read a value from an xml app config file using WIX 3.6 Which custom action do I use to read the value from the XML app config file? Marty Offe Sr. Software Developer Harland Financial Solutions Portland, OR 503-274-7280 x2376 www.harlandfinancialsolutions.com -----Original Message----- From: Sharon Pierson [mailto:sharon.pier...@netiq.com] Sent: Friday, May 17, 2013 5:59 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] how to read a value from an xml app config file using WIX 3.6 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: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 ------------------------------------------------------------------------------ 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 This message has been marked as Public by Steven Ogilvie on May-17-13 3:32:18 PM. The above classification labels were added to the message by TITUS Message Classification. For more information visit www.titus.com. ------------------------------------------------------------------------------ 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