Thank you,

I tried to find out how this works but the documentation is too small
and there are no examples .

 

I tried:

<XmlConfig Id="x" Action="create" File="FILENAME" Name="Plugin"
ElementPath="//Plugins" On="install" Node="element" VerifyPath="new"
Sequence="1" />

<XmlConfig Id="x1" Action="create" File="FILENAME" Name="Module"
ElementPath="//Plugins/Plugin" On="install" Node="value
"Value="[INSTALLDIR]plugin\DLL1.dll" VerifyPath="//Plugins/Plugin"
Sequence="2" />

<XmlConfig Id="x3" Action="create" File="FILENAME" Name="Plugin"
ElementPath="//Plugins" On="install" Node="element"
VerifyPath="//Plugins/[EMAIL PROTECTED]'[INSTALLDIR]plugin\DLL1.dll'[\]
]" Sequence="5" />

<XmlConfig Id="x4" Action="create" File="FILENAME" Name="Module"
ElementPath="//Plugins/Plugin" On="install" Node="value"
Value="[INSTALLDIR]plugin\DLL2.dll"
VerifyPath="//Plugin/[EMAIL PROTECTED]'[INSTALLDIR]plugin\DLL2.dll'[\]
]" Sequence="6" />

 

But this is not correct !

 

What I have to do for this output?

 

The first target

<Plugins>

   <Plugin Module=C:\Program Files\My Program\plugins\DLL1.dll />

   <Plugin Module= C:\Program Files\My Program\plugins\DLL2.dll />

</Plugins>

 

The second target:

<Plugins>

   <Plugin Module=C:\Program Files\My Program\plugin\DLL1.dll >

       <Connection>"Data Source=localhost\INSTANCE; Type System
Version=SQL Server 2000; Integrated Security=SSPI; Initial
Catalog=DATABASE; Connection TimeOut=300"</Connection>

   </Plugin>

  <Plugin Module= C:\Program Files\My Program\plugin\DLL2.dll >

       <Connection>"Data Source=localhost\INSTANCE; Type System
Version=SQL Server 2000; Integrated Security=SSPI; Initial
Catalog=DATABASE; Connection TimeOut=300"</Connection>

  </Plugin>

</Plugins>

 

Michael

 

 

 

Von: Bob Arnson [mailto:[EMAIL PROTECTED] 
Gesendet: Montag, 02. Juli 2007 16:22
An: Berger Michael Tech EDV
Cc: wix-users@lists.sourceforge.net
Betreff: Re: [WiX-users] Problem with XML edit

 

Berger Michael Tech EDV wrote: 

The 2nd "Plugin" entry overwrites the first "Plugin" entry in the XML
File.


The XmlConfig custom action was designed to solve this problem.



-- 
sig://boB
http://joyofsetup.com/

*********************************************************************
Hinweis: Dieses E-mail kann vertrauliche und geschützte Informationen
enthalten. 
Sollten Sie nicht der beabsichtigte Empfänger sein, verständigen Sie
bitte den Absender und löschen Sie dieses E-mail dann sofort.

Notice: This e-mail contains information that is confidential and may
be privileged.
If you are not the intended recipient, please notify the sender and 
then delete this e-mail immediately.
*********************************************************************
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to