Strike that.

Figured it out, changed my XmlFiles to XmlConfigs.

And realized that XmlConfig breaks SqlDatabase and FirewallException.

-----Original Message-----
From: Will Sullivan [mailto:wsulli...@softdocs.com] 
Sent: Thursday, April 22, 2010 12:41 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] XmlFile & FirewallException

Looking again at XmlConfig, I remember why I bailed on it.  While XmlFile is 
easy to parse and works as expected, XmlConfig has some very weird limitations 
and while I can figure out how to do what I want to do in XmlFile, I can't 
figure out how to do it in XmlConfig.

Here's a simplified example of one thing I'm doing with XmlFile:

<Component Id="ConfigUpdateWithoutInstance"
                Guid="5d2b1adf-ab62-49f5-8c17-8c08b26eb926">
        <util:XmlFile Id="connexWithout"
                Action="setValue"
                
ElementPath="/configuration/connectionStrings/add[...@name='MyDatabase'[\]]/@connectionString"
                File="[INSTALLDIR]HurrDurr.exe.config"
                Value="The new config string goes here lol" /> </Component>

I'm replacing the value of an attribute, which I don't believe you can do with 
XmlConfig.  You have to do some weird stuff like name the parent element and 
then replace its value or something, but I'm not sure how to do that without 
including actual XML in the Value, or if that's okay, or what the hell 
verifyPath does or if I need it.

How would that snippet look with XmlConfig, anyhow?

-----Original Message-----
From: Pally Sandher [mailto:pally.sand...@iesve.com]
Sent: Thursday, April 22, 2010 9:46 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] XmlFile & FirewallException

Use XMLConfig instead? 

Palbinder Sandher
Software Deployment & IT Administrator
T: +44 (0) 141 945 8500
F: +44 (0) 141 945 8501 

http://www.iesve.com
**Design, Simulate + Innovate with the <Virtual Environment>** Integrated 
Environmental Solutions Limited. Registered in Scotland No.
SC151456
Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 
0SP Email Disclaimer

-----Original Message-----
From: Will Sullivan [mailto:wsulli...@softdocs.com]
Sent: 22 April 2010 14:08
To: WiX-users@lists.sourceforge.net
Subject: [WiX-users] XmlFile & FirewallException

So, its clear that XmlFile breaks
SqlDatabase<https://sourceforge.net/tracker/?func=detail&aid=2986062&gro
up_id=105970&atid=642714> (I'm real happy at the way this issue is being 
ignored, btw).

Its also become clear to me that XmlFile also breaks FirewallException.

Is there nothing XmlFile can't do?

Is there any chance the Wix team is going to do something about all the freaky 
side effects that XmlFile causes?
------------------------------------------------------------------------
------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to