[wix-users] LGHT0091: Duplicate symbol when trying to use WixUI_InstallDir

Paulo Morgado paulo at paulomorgado.info
Tue Jun 23 14:24:37 PDT 2020


Windows Installer XML Toolset Linker version 3.11.2.4516

When I add WixUI_InstallDir to my wxs like ii is mentioned here, I get the
following errors:

Compile:C:\Program Files (x86)\WiX Toolset v3.11\bin\candle.exe
  -dDropDir=c:\Temp\Drop\
  -dProgramFilesDir=c:\Temp\Drop\\ProgramFiles\
  -dProgramDataDir=c:\Temp\Drop\\ProgramData\
  -d"DevEnvDir=C:\Program Files (x86)\Microsoft Visual
Studio\2019\Enterprise\Common7\IDE\\"
  -dSolutionDir=c:\...\MyInstaller\
  -dSolutionExt=.sln
  -dSolutionFileName=MyInstaller.sln
  -dSolutionName=MyInstaller
  -dSolutionPath=c:\...\MyInstaller\MyInstaller.sln
  -dConfiguration=Debug
  -dOutDir=bin\Debug\
  -dPlatform=x86
  -dProjectDir=c:\...\MyInstaller\
  -dProjectExt=.wixproj
  -dProjectFileName=MyInstaller.wixproj
  -dProjectName=MyInstaller
  -dProjectPath=c:\...\MyInstaller\MyInstaller.wixproj
  -dTargetDir=c:\...\MyInstaller\bin\Debug\
  -dTargetExt=.msi
  -dTargetFileName=ExpressClient.JMAT.Setup.msi
  -dTargetName=ExpressClient.JMAT.Setup
  -dTargetPath=c:\...\MyInstaller\bin\Debug\ExpressClient.JMAT.Setup.msi
  -out obj\Debug\
  -arch x86
  -ext "C:\ProgramFiles (x86)\WiX Toolset v3.11\bin\\WixUIExtension.dll"
ExpressClient.wxs obj\Debug\_ProgramFiles_dir.wxs
obj\Debug\_ProgramData_dir.wxs
Link:C:\Program Files (x86)\WiX Toolset v3.11\bin\Light.exe
  -out c:\...\MyInstaller\bin\Debug\ExpressClient.JMAT.Setup.msi
  -pdbout c:\...\MyInstaller\bin\Debug\ExpressClient.JMAT.Setup.wixpdb
  -cultures:null
  -ext "C:\Program Files (x86)\WiX Toolset v3.11\bin\\WixUIExtension.dll"
  -contentsfile obj\Debug\MyInstaller.wixproj.BindContentsFileListnull.txt
  -outputsfile obj\Debug\MyInstaller.wixproj.BindOutputsFileListnull.txt
  -builtoutputsfile
obj\Debug\MyInstaller.wixproj.BindBuiltOutputsFileListnull.txt
  -wixprojectfile c:\...\MyInstaller\MyInstaller.wixproj
obj\Debug\ExpressClient.wixobj obj\Debug\_ProgramFiles_dir.wixobj
obj\Debug\_ProgramData_dir.wixobj

C:\agent\_work\66\s\src\ext\UIExtension\wixlib\WixUI_Minimal.wxs(51): error
LGHT0091: Duplicate symbol
'ControlEvent:WelcomeDlg/Next/NewDialog/VerifyReadyDlg/Installed AND PATCH'
found. This typically means that an Id is duplicated. Check to make sure
all your identifiers of a given type (File, Component, Feature) are unique.
[c:\...\MyInstaller\MyInstaller.wixproj]
C:\agent\_work\66\s\src\ext\UIExtension\wixlib\WixUI_InstallDir.wxs(53):
error LGHT0092: Location of symbol related to previous error.
[c:\...\MyInstaller\MyInstaller.wixproj]
C:\agent\_work\66\s\src\ext\UIExtension\wixlib\WixUI_Minimal.wxs(28): error
LGHT0091: Duplicate symbol 'Property:WixUI_Mode' found. This typically
means that an Id is duplicated. Check to make sure all your identifiers of
a given type (File, Component, Feature) are unique.
[c:\...\MyInstaller\MyInstaller.wixproj]
C:\agent\_work\66\s\src\ext\UIExtension\wixlib\WixUI_InstallDir.wxs(34):
error LGHT0092: Location of symbol related to previous error.
[c:\...\MyInstaller\MyInstaller.wixproj]
C:\agent\_work\66\s\src\ext\UIExtension\wixlib\WixUI_Minimal.wxs(49): error
LGHT0091: Duplicate symbol
'ControlEvent:MaintenanceTypeDlg/Back/NewDialog/MaintenanceWelcomeDlg/1'
found. This typically means that an Id is duplicated. Check to make sure
all your identifiers of a given type (File, Component, Feature) are unique.
[c:\...\MyInstaller\MyInstaller.wixproj]
C:\agent\_work\66\s\src\ext\UIExtension\wixlib\WixUI_InstallDir.wxs(74):
error LGHT0092: Location of symbol related to previous error.
[c:\...\MyInstaller\MyInstaller.wixproj]
C:\agent\_work\66\s\src\ext\UIExtension\wixlib\WixUI_Minimal.wxs(48): error
LGHT0091: Duplicate symbol
'ControlEvent:MaintenanceTypeDlg/RemoveButton/NewDialog/VerifyReadyDlg/1'
found. This typically means that an Id is duplicated. Check to make sure
all your identifiers of a given type (File, Component, Feature) are unique.
[c:\...\MyInstaller\MyInstaller.wixproj]
C:\agent\_work\66\s\src\ext\UIExtension\wixlib\WixUI_InstallDir.wxs(73):
error LGHT0092: Location of symbol related to previous error.
[c:\...\MyInstaller\MyInstaller.wixproj]
C:\agent\_work\66\s\src\ext\UIExtension\wixlib\WixUI_Minimal.wxs(41): error
LGHT0091: Duplicate symbol
'ControlEvent:ExitDialog/Finish/EndDialog/Return/1' found. This typically
means that an Id is duplicated. Check to make sure all your identifiers of
a given type (File, Component, Feature) are unique.
[c:\...\MyInstaller\MyInstaller.wixproj]
C:\agent\_work\66\s\src\ext\UIExtension\wixlib\WixUI_InstallDir.wxs(50):
error LGHT0092: Location of symbol related to previous error.
[c:\...\MyInstaller\MyInstaller.wixproj]
C:\agent\_work\66\s\src\ext\UIExtension\wixlib\WixUI_Minimal.wxs(45): error
LGHT0091: Duplicate symbol
'ControlEvent:MaintenanceWelcomeDlg/Next/NewDialog/MaintenanceTypeDlg/1'
found. This typically means that an Id is duplicated. Check to make sure
all your identifiers of a given type (File, Component, Feature) are unique.
[c:\...\MyInstaller\MyInstaller.wixproj]
C:\agent\_work\66\s\src\ext\UIExtension\wixlib\WixUI_InstallDir.wxs(70):
error LGHT0092: Location of symbol related to previous error.
[c:\...\MyInstaller\MyInstaller.wixproj]
C:\agent\_work\66\s\src\ext\UIExtension\wixlib\WixUI_Minimal.wxs(27): error
LGHT0091: Duplicate symbol 'Property:DefaultUIFont' found. This typically
means that an Id is duplicated. Check to make sure all your identifiers of
a given type (File, Component, Feature) are unique.
[c:\...\MyInstaller\MyInstaller.wixproj]
C:\agent\_work\66\s\src\ext\UIExtension\wixlib\WixUI_InstallDir.wxs(33):
error LGHT0092: Location of symbol related to previous error.
[c:\...\MyInstaller\MyInstaller.wixproj]
C:\agent\_work\66\s\src\ext\UIExtension\wixlib\WixUI_Minimal.wxs(52): error
LGHT0091: Duplicate symbol
'ControlEvent:VerifyReadyDlg/Back/NewDialog/WelcomeDlg/Installed AND PATCH'
found. This typically means that an Id is duplicated. Check to make sure
all your identifiers of a given type (File, Component, Feature) are unique.
[c:\...\MyInstaller\MyInstaller.wixproj]
C:\agent\_work\66\s\src\ext\UIExtension\wixlib\WixUI_InstallDir.wxs(68):
error LGHT0092: Location of symbol related to previous error.
[c:\...\MyInstaller\MyInstaller.wixproj]
C:\agent\_work\66\s\src\ext\UIExtension\wixlib\WixUI_Minimal.wxs(47): error
LGHT0091: Duplicate symbol
'ControlEvent:MaintenanceTypeDlg/RepairButton/NewDialog/VerifyReadyDlg/1'
found. This typically means that an Id is duplicated. Check to make sure
all your identifiers of a given type (File, Component, Feature) are unique.
[c:\...\MyInstaller\MyInstaller.wixproj]
C:\agent\_work\66\s\src\ext\UIExtension\wixlib\WixUI_InstallDir.wxs(72):
error LGHT0092: Location of symbol related to previous error.
[c:\...\MyInstaller\MyInstaller.wixproj]

What am I doing wrong?

--
Paulo Morgado


More information about the wix-users mailing list