<connectionStrings/> is the same thing as
<connectionStrings></connectionStrings> - they are both empty elements. In
XML you can indicate an empty element either way (<tag/> is the preferred
way to indicate an empty element).

If you give the connectionStrings element a value, you will get
<connectionStrings>some-value</connectionStrings>. Or you can add children
to the connectionStrings element as well.

-----Original Message-----
From: Chad Petersen [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 01, 2008 1:13 PM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Will XmlConfig do this?

My config file is simple. Just a configuration section.

 

<configuration>

 

</configuration>

 

I want to add a connectionStrings section inside the existing element.

 

<configuration>

            <connectionStrings>

</connectionStrings>

</configuration>

 

However, the installer always does this

 

<configuration>

            <connectionStrings/></configuration>

 

<XmlConfig Id="XMLMachine10" File="C:\hfshostingservice.exe.config"
On="install" ElementPath="/configuration" Node="element"
Name="connectionStrings" Action="create" Sequence="1"/>

 

 

 

Any ideas?

Chad

-------------------------------------------------------------------------
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


The information contained in this transmission contains potentially
privileged, export controlled and/or confidential information of Imageware
Systems, Inc. or its customers or partners.  It is intended only to be read
by the person(s) named above and for no other purpose.  You are hereby
notified that any dissemination, distribution, duplication of this
communication or use of its contents for any purpose not authorized
expressly by Imageware Systems, Inc. is strictly prohibited and could lead
to both civil and/or criminal penalties.  If you are not the intended
recipient, you are prohibited to review the contents herein and please
contact the sender by reply e-mail and destroy all copies of the original
message.  To reply to our e-mail administrator directly, please send an
e-mail to [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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to