Hi there, Apologies if this is really simple but not sure what I've done wrong. I'm using the Wix Tutorial to try and build my own custom UI, however, before I add any custom dialogs I'm trying to simply create a custom GUI and build against that.
The steps I've done is as follows 1) Copy WixUI_Mondo.wxs to Agilent_Mondo.wxs 2) In Agilent_Mondo.wxs change the UI Id to Agilent_Mondo () 3) I rebuilt the new library as follows C:\Wix\wixui>..\candle.exe Agilent_Mondo.wxs WelcomeDlg.wxs LicenseAgreementDlg.wxs SetupTypeDlg.wxs CustomizeDlg.wxs VerifyReadyDlg.wxs Mai ntenanceTypeDlg.wxs MaintenanceWelcomeDlg.wxs Microsoft (R) Windows Installer Xml Compiler version 2.0.4820.0 Copyright (C) Microsoft Corporation 2003. All rights reserved. Agilent_Mondo.wxs WelcomeDlg.wxs LicenseAgreementDlg.wxs SetupTypeDlg.wxs CustomizeDlg.wxs VerifyReadyDlg.wxs MaintenanceTypeDlg.wxs MaintenanceWelcomeDlg.wxs C:\Wix\wixui>..\lit.exe -out Agilent_Mondo.wixlib *.wixobj Microsoft (R) Windows Installer Xml Library Tool version 2.0.4820.0 Copyright (C) Microsoft Corporation 2003. All rights reserved. 3) I then modified my main wxs component to include the new UI as follows 4) 4) When I Tried to build my software I got a message saying it could not find UI:Agilent_Mondo. So I modified my makefile to include the GUI lib as follows $(TARGET): $(AMR_MSI_OBJS) $(LIGHT) -out $(TARGET) $(AMR_MSI_OBJS) $(WIX_LIB) $(WIX_LOCALE) $(WIX_GUI_LIB) where WIX_GUI_LIB = C:\Wix\wixui\Agilent_Mondo.wixlib and WIX_LIB=C:\Wix\wixui\wixlib 5) Then I tried to rebuild my software and got the following error C:\Dash\system\Windows>c:\nmake\NMAKE.EXE Microsoft (R) Program Maintenance Utility Version 1.50 Copyright (c) Microsoft Corp 1988-94. All rights reserved. C:\Wix\candle.exe CustomActions.wxs Microsoft (R) Windows Installer Xml Compiler version 2.0.4820.0 Copyright (C) Microsoft Corporation 2003. All rights reserved. CustomActions.wxs C:\Wix\candle.exe DirectoryDefinitions.wxs Microsoft (R) Windows Installer Xml Compiler version 2.0.4820.0 Copyright (C) Microsoft Corporation 2003. All rights reserved. DirectoryDefinitions.wxs C:\Wix\candle.exe IconDefinitions.wxs Microsoft (R) Windows Installer Xml Compiler version 2.0.4820.0 Copyright (C) Microsoft Corporation 2003. All rights reserved. IconDefinitions.wxs C:\Wix\candle.exe NewDirectories.wxs Microsoft (R) Windows Installer Xml Compiler version 2.0.4820.0 Copyright (C) Microsoft Corporation 2003. All rights reserved. NewDirectories.wxs C:\Wix\candle.exe DashComponents.wxs Microsoft (R) Windows Installer Xml Compiler version 2.0.4820.0 Copyright (C) Microsoft Corporation 2003. All rights reserved. DashComponents.wxs C:\Wix\candle.exe ServerConfig.wxs Microsoft (R) Windows Installer Xml Compiler version 2.0.4820.0 Copyright (C) Microsoft Corporation 2003. All rights reserved. ServerConfig.wxs C:\Wix\candle.exe ServerExecutables.wxs Microsoft (R) Windows Installer Xml Compiler version 2.0.4820.0 Copyright (C) Microsoft Corporation 2003. All rights reserved. ServerExecutables.wxs C:\Wix\candle.exe ServerFeatures.wxs Microsoft (R) Windows Installer Xml Compiler version 2.0.4820.0 Copyright (C) Microsoft Corporation 2003. All rights reserved. ServerFeatures.wxs C:\Wix\candle.exe boFiles.wxs Microsoft (R) Windows Installer Xml Compiler version 2.0.4820.0 Copyright (C) Microsoft Corporation 2003. All rights reserved. boFiles.wxs C:\Wix\candle.exe ServerScripts.wxs Microsoft (R) Windows Installer Xml Compiler version 2.0.4820.0 Copyright (C) Microsoft Corporation 2003. All rights reserved. ServerScripts.wxs C:\Wix\light.exe -out BHARTI_DASH_A.01.00.00001.msi CustomActions.wixobj DirectoryDefinitions.wixobj IconDefinitions.wixobj NewDi rectories.wixobj DashComponents.wixobj ServerConfig.wixobj ServerExecutables.wixobj ServerFeatures.wixobj boFiles.wixobj ServerScripts .wixobj C:\Wix\wixui.wixlib -loc C:\Wix\WixUI_en-us.wxl C:\Wix\wixui\Agilent_Mondo.wixlib Microsoft (R) Windows Installer Xml Linker version 2.0.4820.0 Copyright (C) Microsoft Corporation 2003. All rights reserved. C:\delivery\Dev\wix2.0_public\src\ui\wixui\CustomizeDlg.wxs(5) : error LGHT0109 : Duplicate symbol 'Dialog:CustomizeDlg' found. C:\Wix\wixui\CustomizeDlg.wxs(5) : error LGHT0110 : Location of symbol related to previous error. C:\delivery\Dev\wix2.0_public\src\ui\wixui\LicenseAgreementDlg.wxs(5) : error LGHT0109 : Duplicate symbol 'Dialog:LicenseAgreementDlg' found . C:\Wix\wixui\LicenseAgreementDlg.wxs(5) : error LGHT0110 : Location of symbol related to previous error. C:\delivery\Dev\wix2.0_public\src\ui\wixui\MaintenanceTypeDlg.wxs(5) : error LGHT0109 : Duplicate symbol 'Dialog:MaintenanceTypeDlg' found. C:\Wix\wixui\MaintenanceTypeDlg.wxs(5) : error LGHT0110 : Location of symbol related to previous error. C:\delivery\Dev\wix2.0_public\src\ui\wixui\MaintenanceWelcomeDlg.wxs(5) : error LGHT0109 : Duplicate symbol 'Dialog:MaintenanceWelcomeDlg' f ound. C:\Wix\wixui\MaintenanceWelcomeDlg.wxs(5) : error LGHT0110 : Location of symbol related to previous error. C:\delivery\Dev\wix2.0_public\src\ui\wixui\SetupTypeDlg.wxs(5) : error LGHT0109 : Duplicate symbol 'Dialog:SetupTypeDlg' found. C:\Wix\wixui\SetupTypeDlg.wxs(5) : error LGHT0110 : Location of symbol related to previous error. C:\delivery\Dev\wix2.0_public\src\ui\wixui\VerifyReadyDlg.wxs(5) : error LGHT0109 : Duplicate symbol 'Dialog:VerifyReadyDlg' found. C:\Wix\wixui\VerifyReadyDlg.wxs(5) : error LGHT0110 : Location of symbol related to previous error. C:\delivery\Dev\wix2.0_public\src\ui\wixui\WelcomeDlg.wxs(5) : error LGHT0109 : Duplicate symbol 'Dialog:WelcomeDlg' found. C:\Wix\wixui\WelcomeDlg.wxs(5) : error LGHT0110 : Location of symbol related to previous error. NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x6e' Stop. C:\Dash\system\Windows> 6) Note if I simply have WixUI_Mondo in the main wxs file (See step 3) then everything works I've copied my files in the enclosed rar files if someone fancies having a look and telling me what I've done wrong. http://n2.nabble.com/file/n2441885/Wix.rar Wix.rar http://n2.nabble.com/file/n2441885/Dash.rar Dash.rar Thanks in advance for any help you can provide. Dave -- View this message in context: http://n2.nabble.com/Creating-your-own-UI-library-tp2441885p2441885.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users