You need to write one.  As custom actions go, it's not hard.  I would recommend 
a table-driven approach.

--
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: 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
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

Reply via email to