I'm using WiX 3.0.4513.0.
######################################
$_='^#(/||/@[EMAIL PROTECTED]@:^[-['^";@@@\\>])@.".
"{)/];)^{";$,+=(++$,);$_.=">&$,";`$_`;
-----Original Message-----
From: Eitan Behar [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 21, 2008 1:33 AM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] XmlConfig: why can't I set a text value using
ElementId?
Hi Brian,
Which version are you using? I remember that once upon a time, ElementPath
required a XmlConfig Id:
Therefore, using
ElementPath="CreateDummyElement" is valid.
Rgrds,
Eitan
-----Original Message-----
From: Brian Rogers [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 21, 2008 9:18 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] XmlConfig: why can't I set a text value using
ElementId?
I'm running into some problems with XmlConfig. I've found that the
following does not work:
<util:XmlConfig Id="CreateDummyElement"
File="[SOMEFILE]"
Action="create"
ElementPath="/startingPath"
Name="Dummy"
Node="element"
On="install"
Sequence="1" />
<util:XmlConfig Id="AddText"
File="[SOMEFILE]"
ElementId="CreateDummyElement"
Value="This is the inner text"
Sequence="2" />
However, this does work:
<util:XmlConfig Id="CreateDummyElement"
File="[SOMEFILE]"
Action="create"
ElementPath="/startingPath"
Name="Dummy"
Node="element"
On="install"
Sequence="1" />
<util:XmlConfig Id="AddText"
File="[SOMEFILE]"
Action="create"
ElementPath="/startingPath/Dummy"
Node="value"
Value="This is the inner text"
Sequence="2" />
I would like for the first syntax to work, just as it does with attributes.
Is this a known limitation or can it be fixed?
######################################
$_='^#(/||/@[EMAIL PROTECTED]@:^[-['^";@@@\\>])@.".
"{)/];)^{";$,+=(++$,);$_.=">&$,";`$_`;
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users