Upgraded from WiX v3.6.2816 to v3.6.2823. Haven't changed anything in source.
MSI's build fine but my burn bundle fails now. Log is as follows:
------ Rebuild All started: Project: VESetup, Configuration: Release x86 ------
Deleting file "obj\Release\Bundle.wixobj".
C:\Program Files (x86)\WiX Toolset v3.6\bin\candle.exe -v
-d"DevEnvDir=C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\\"
-dSolutionDir=D:\Users\dev.build\pSource\csi_main\code\VEInstall\
-dSolutionExt=.sln -dSolutionFileName=VEInstall.sln -dSolutionName=VEInstall
-dSolutionPath=D:\Users\dev.build\pSource\csi_main\code\VEInstall\VEInstall.sln
-dConfiguration=Release
-dOutDir=D:\Users\dev.build\pSource\csi_main\code\VEInstall\..\..\install\
-dPlatform=x86
-dProjectDir=D:\Users\dev.build\pSource\csi_main\code\VEInstall\VESetup\
-dProjectExt=.wixproj -dProjectFileName=VESetup.wixproj -dProjectName=VESetup
-dProjectPath=D:\Users\dev.build\pSource\csi_main\code\VEInstall\VESetup\VESetup.wixproj
-dTargetDir=D:\Users\dev.build\pSource\csi_main\install\ -dTargetExt=.exe
-dTargetFileName=ve65setup.exe -dTargetName=ve65setup
-dTargetPath=D:\Users\dev.build\pSource\csi_main\install\ve65setup.exe -out
obj\Release\ -arch x86 -ext "C:\Program Files (x86)\WiX Toolset
v3.6\bin\\WixUtilExtension.dll" -ext "C:\Program Files (x86)\WiX Toolset
v3.6\bin\\WixBalExtension.dll" Bundle.wxs
Microsoft (R) Windows Installer Xml Compiler version 3.6.2823.0
Copyright (C) Microsoft Corporation. All rights reserved.
Bundle.wxs
C:\Program Files (x86)\WiX Toolset v3.6\bin\Light.exe -out
D:\Users\dev.build\pSource\csi_main\install\ve65setup.exe -pdbout
D:\Users\dev.build\pSource\csi_main\install\ve65setup.wixpdb -v -ext
"C:\Program Files (x86)\WiX Toolset v3.6\bin\\WixUtilExtension.dll" -ext
"C:\Program Files (x86)\WiX Toolset v3.6\bin\\WixBalExtension.dll" -spdb
-contentsfile obj\Release\VESetup.wixproj.BindContentsFileList.txt -outputsfile
obj\Release\VESetup.wixproj.BindOutputsFileList.txt -builtoutputsfile
obj\Release\VESetup.wixproj.BindBuiltOutputsFileList.txt
obj\Release\Bundle.wixobj
Microsoft (R) Windows Installer Xml Linker version 3.6.2823.0
Copyright (C) Microsoft Corporation. All rights reserved.
light.exe(0,0): error LGHT0001: An item with the same key has already been
added.
Exception Type: System.ArgumentException
Stack Trace:
at
System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key,
TValue value, Boolean add)
at
System.Collections.ObjectModel.KeyedCollection`2.AddKey(TKey key, TItem item)
at
System.Collections.ObjectModel.KeyedCollection`2.InsertItem(Int32 index, TItem
item)
at System.Collections.ObjectModel.Collection`1.Add(T item)
at
Microsoft.Tools.WindowsInstallerXml.Binder.ChainPackageInfo.ResolveMspPackage(BinderCore
core, Output bundle)
at
Microsoft.Tools.WindowsInstallerXml.Binder.ChainPackageInfo..ctor(String id,
String packageType, String payloadId, String installCondition, String
installCommand, String repairCommand, String uninstallCommand, Object
cacheData, String cacheId, Object attributesData, Object vitalData, Object
perMachineData, String detectCondition, String msuKB, Object repairableData,
String logPathVariable, String rollbackPathVariable, String protocol, Int32
installSize, Object suppressLooseFilePayloadGenerationData, Object
enableFeatureSelectionData, Object forcePerMachineData, Object
displayInternalUIData, Table wixGroupTable, Dictionary`2 allPayloads,
Dictionary`2 containers, BinderFileManager fileManager, BinderCore core, Output
bundle)
at
Microsoft.Tools.WindowsInstallerXml.Binder.ChainPackageInfo..ctor(Row row,
Table wixGroupTable, Dictionary`2 allPayloads, Dictionary`2 containers,
BinderFileManager fileManager, BinderCore core, Output bundle)
at
Microsoft.Tools.WindowsInstallerXml.Binder.BindBundle(Output bundle, String
bundleFile)
at Microsoft.Tools.WindowsInstallerXml.Binder.Bind(Output
output, String file)
at
Microsoft.Tools.WindowsInstallerXml.Tools.Light.Run(String[] args)
Binder temporary directory located at
'C:\Users\dev.build\AppData\Local\Temp\zdrijwlv'.
Done building project "VESetup.wixproj" -- FAILED.
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
XML is as follows:
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
xmlns:bal="http://schemas.microsoft.com/wix/BalExtension"
xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
<Bundle Name="IES Virtual Environment 2012"
Version="12.1.0.0"
Manufacturer="Integrated Environmental Solutions Limited"
UpgradeCode="removed"
Compressed="yes"
AboutUrl="http://www.iesve.com/"
Copyright="IES Virtual Environment is Copyright 2012 Integrated
Environmental Solutions Limited."
HelpTelephone="+44 (0)141 945 8500"
HelpUrl="http://www.iesve.com/support"
IconSourceFile="..\VEInstall\res\VE.ico"
UpdateUrl="http://www.iesve.com/">
<BootstrapperApplicationRef
Id="WixStandardBootstrapperApplication.HyperlinkLicense">
<bal:WixStandardBootstrapperApplication LicenseUrl=" "
SuppressOptionsUI="yes" />
</BootstrapperApplicationRef>
<util:RegistrySearch Id="NET4.0Search"
Variable="NET4Installed"
Root="HKLM"
Key="SOFTWARE\Microsoft\NET Framework
Setup\NDP\v4\Client\"
Value="Install"
Result="value" />
<util:ProductSearch Id="SharedContent"
Variable="SharedContentVersion"
Guid="removed"
Result="version" />
<Chain>
<ExePackage Id="NET4.0"
SourceFile="..\..\..\install\dotNetFx40_Client_x86_x64.exe"
Compressed="no"
DownloadUrl="http://download.microsoft.com/download/5/6/2/562A10F9-C9F4-4313-A044-9C94E0A8FAC8/dotNetFx40_Client_x86_x64.exe"
InstallSize="1"
PerMachine="yes"
Vital="yes"
DetectCondition="NET4Installed = 1"/>
<MspPackage Id="SharedContentPatch"
SourceFile="..\..\..\install\VESharedContent.msp"
After="NET4.0"
Compressed="no"
DisplayInternalUI="yes"
DownloadUrl="http://removed/VESharedContent.msp"
InstallSize="1"
PerMachine="yes"
Vital="yes"
InstallCondition="SharedContentVersion > v1.9.9.9 AND
SharedContentVersion < v2.2.0.0" />
<MsiPackage Id="ve65"
SourceFile="..\..\..\install\ve65.msi"
After="SharedContentPatch"
Compressed="yes"
DisplayInternalUI="yes"
ForcePerMachine="yes"
Visible="no"
Vital="yes" />
</Chain>
</Bundle>
</Wix>
If I downgrade to v3.6.2816 it builds fine once again.
Palbinder Sandher
Software Platform Engineer
T:+44 (0) 141 945 8500
F:+44 (0) 141 945 8501
http://www.iesve.com
**Design, Simulate + Innovate with the <Virtual Environment>**
Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456
Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20
0SP
Email Disclaimer
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users