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

Paulo Morgado paulo at paulomorgado.info
Fri Jul 10 07:02:34 PDT 2020


Apparently, my problem was a conflict between <UIRef Id="WixUI_Minimal" />
 and <UIRef Id="WixUI_InstallDir" />. As soon as I removed <UIRef Id="
WixUI_Minimal" />, it worked.

--
Paulo Morgado


On Mon, Jul 6, 2020 at 6:24 PM Hoover, Jacob <Jacob.Hoover at greenheck.com>
wrote:

> https://www.firegiant.com/wix/tutorial/user-interface/
>
>
>
>
>
>
>
> *From:* Paulo Morgado [mailto:paulo at paulomorgado.info]
> *Sent:* Monday, July 6, 2020 12:22 PM
> *To:* Hoover, Jacob <Jacob.Hoover at greenheck.com>
> *Cc:* WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
> *Subject:* Re: [wix-users] LGHT0091: Duplicate symbol when trying to use
> WixUI_InstallDir
>
>
>
> Thanks, Jacob.
>
>
>
> I'm new to Wix. It would be better to have an how to on how to allow the
> user to choose the install directory?
>
> --
>
> Paulo Morgado
>
>
>
>
>
> On Mon, Jul 6, 2020 at 6:07 PM Hoover, Jacob <Jacob.Hoover at greenheck.com>
> wrote:
>
> It looks as if you have both source includes as well as the normal method
> of including it.  You only need one, so the question I have is did you
> customize the existing extension at all? If not, then what does your
> WixProj look like?
>
>
>
> *From:* wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] *On
> Behalf Of *Paulo Morgado via wix-users
> *Sent:* Monday, July 6, 2020 11:21 AM
> *To:* wix-users at lists.wixtoolset.org
> *Cc:* Paulo Morgado <paulo at paulomorgado.info>
> *Subject:* Re: [wix-users] LGHT0091: Duplicate symbol when trying to use
> WixUI_InstallDir
>
>
>
> Any hint on this?
>
> --
> Paulo Morgado
>
>
> On Tue, Jun 23, 2020 at 10:24 PM Paulo Morgado <paulo at paulomorgado.info>
> wrote:
>
> > 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
> >
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>
> NOTE: This email was received from an external source. Please use caution
> when opening links or attachments in the message.
>
> NOTE: This email was received from an external source. Please use caution
> when opening links or attachments in the message.
>



More information about the wix-users mailing list