Hi,
I'm still having problems trying to use <util:XmlFile> to patch a config
file,the main problem seems to be that light fails with an error message. The
output I get is a weird 'FileShare' collision error - the full source can be
found at the bottom of this message. I'm using Wix3 version 3.0.2925.0.\
Does anyone know what I am doing wrong here?
Friedrich
----- Starting C:\sandbox\vela\common\tools\Wix3\candle.exe -nologo
"C:\temp\Test.wxs"
-out "C:\temp\Test.wixobj" -ext WixutilExtension at 9/17/2007 12:22:02 PM
Test.wxs
Done in: 343 ms
----- Starting C:\sandbox\vela\common\tools\Wix3\light.exe "Test.wixobj" -out
"Test.msi"
-ext WixutilExtension
-ext C:\sandbox\Vela\Common\Tools\Wix3\WixUtilExtension.dll
at 9/17/2007 12:22:02 PM
Microsoft (R) Windows Installer Xml Linker version 3.0.2925.0
Copyright (C) Microsoft Corporation 2003. All rights reserved.
light.exe : error LGHT0126 : The extension
'Microsoft.Tools.WindowsInstallerXml.Extensions.UtilExtension'
contains a defintion for table 'FileShare' that collides with a
previously loaded table definition. Please remove one of the
conflicting extensions or rename one of the tables to avoid the collision.
----- Finished
Error in light
-----------------Wix file follows --------------------
<?xml version="1.0" encoding="utf-8"?>
<!--
# This comment is generated by WixEdit, the specific commandline
# arguments for the WiX Toolset are stored here.
candleArgs:
lightArgs: "<projectname>.wixobj" -out "<projectname>.msi" <extensions>
-ext C:\sandbox\Vela\Common\Tools\Wix3\WixUtilExtension.dll
-->
xmlns:util="http://schemas.microsoft.com/wix/UtilExtension" >
<Product Id="00BC5CDA-DAD0-48CC-9E05-D9947295236C" Language="1033"
Manufacturer="Test" Name="Tst"
Version="1.0.0.0"
UpgradeCode="059CE874-AFC2-47B6-A05A-6B9E3E17EB63">
<Package Description="Test" Comments="Test"
Manufacturer="Test" InstallerVersion="200"
Compressed="yes" />
<Media Id="1" Cabinet="product.cab" EmbedCab="yes" />
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramFilesFolder" Name="PFiles">
<Directory Id="MyDir" Name="TestProg">
<Component Id="MyComponent" DiskId="1"
Guid="9271576E-268D-47AF-B124-0ECE66C256F6" KeyPath='yes'>
<util:XmlFile
Id="ModifyDeveloperLog"
Action="setValue"
ElementPath="/"
File="readme.txt"
Value="test.log" />
</Component>
</Directory>
</Directory>
</Directory>
<Feature Id="MyFeature" Title="My 1st Feature" Level="1">
<ComponentRef Id="MyComponent" />
</Feature>
<UI />
</Product>
</Wix>
Be smarter than spam. See how smart SpamGuard is at giving junk email the
boot with the All-new Yahoo! Mail at http://mrd.mail.yahoo.com/try_beta?.intl=ca
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users