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

Reply via email to