Hi,
I want add <ModuleInfo AssemblyFile="My.dll" /> node to this xml
file under <Modules> node.
<SolutionProfile xmlns="http://schemas.microsoft.com/pag/cab-profile/2.0">
<Section Name="Apps">
<Modules>
</Modules>
</Section>
</SolutionProfile>
I added those 2 lines under <Component>:
<WixUtil:XmlFile Id="A1" Action="createElement"
ElementPath="SolutionProfile/[EMAIL PROTECTED] =
"Apps"[\]]/Modules" Name="ModuleInfo"
File="[#ProfileCatalog.xml]" SelectionLanguage="XPath" Sequence="1"/>
<WixUtil:XmlFile Id="A2" Action="setValue"
ElementPath="SolutionProfile/[EMAIL PROTECTED] =
"Apps"[\]]/Modules/ModuleInfo[\[]last()[\]]"
Name="AssemblyFile" Value="My.dll" File="[#ProfileCatalog.xml]"
SelectionLanguage="XPath" Sequence="2"/>
Its works only if I remove namespace from XML files. Once I add
namespace back to XML file - I have exception during install that node
not found.
Any idea?
Thanks in advance,
Dima
P.S. - I am using Wix 3.0.4325.0
-------------------------------------------------------------------------
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