Doesn't exist today (unfortunately)... probably not too hard since you don't 
have to modify machine state.  Just read data, set properties... let XmlConfig 
do all the heavy lifting (aka: install/uninstall/rollback/etc.).

-----Original Message-----
From: Mordecai Zibkoff [mailto:mzibk...@netik.com]
Sent: Wednesday, January 21, 2009 10:28
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] how to read appsettings values within wix

Hi,



I have a requirement to build an installer the does the following:



1 - the installer should read an appsettings value from a pre existing
web.config on the target machine.

2 - This value should then be used to edit a web.config file before
writing it, as a new file to the target directory (different than the
directory where the first web.config resides)



I can get step 2 done easily with the Util:XmlFile, but I don't have a
way to extract the value, as described in step 1. I can imagine an
XmlSearch or an AppSettingsSearch tag would be a nice way to solve this.
Is there such an animal? If not, how difficult would it be to write one?



Thanks,

Mordecai



Netik LLC - Incorporated with limited liability in the State of Delaware, USA 
Head Office: 40 Fulton Street, 11th Floor, New York, NY 10038, USA London 
Branch registered in England & Wales with Company No FC025482 and Branch No 
BR007789 London Branch Office: Broken Wharf House, 2 Broken Wharf, High Timber 
Street, London EC4V 3DT, United Kingdom.
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to