I'm using wix3.0.5217.0-binaries with a modified version of WixUI_InstallDir.wxs from wix3.0.5217.0-sources which I've saved as WixUI_InstallDirNoLicense.wxs.
----------------------------------------------------------- MyApp-1.0.wxs looks like this: <?xml version="1.0" encoding="utf-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Product Name="MyApp" Id="5A0E9340-D3E6-1960-4EDF-9113801AB533" Version="1.0" Manufacturer="BBC" Language="1033" UpgradeCode="F10D419E-03EB-EE79-6203-B1F4E6C6EAE9"> <Package Id="*" Description="Windows Installer package" Compressed="yes"/> <Property Id="ALLUSERS" Value="1"/> <Property Id="WIXUI_INSTALLDIR" Value="MYAPP_RENAMED1"/> <Media Id="1" EmbedCab="yes" Cabinet="Cabinet1.cab"/> <Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id="MYAPP_RENAMED1" Name="MyApp-Renamed" FileSource="D:\TEMP\NEWSi-WiX-Tool\MyApp"> <Component Id="MyApp1" Guid="59DA4F1B-C120-1C6E-4C01-03002B46902F"> <File Id="ReadMe.txt1" Name="ReadMe.txt" DiskId="1" KeyPath="yes"/> </Component> </Directory> </Directory> <Feature Id="Feature1" Level="1"> <ComponentRef Id="MyApp1"/> </Feature> <Upgrade Id="F10D419E-03EB-EE79-6203-B1F4E6C6EAE9"> <UpgradeVersion IncludeMinimum="yes" Minimum="0.0.0" Property="BBCNEWS"/> </Upgrade> <InstallExecuteSequence> <RemoveExistingProducts After="InstallFinalize"/> </InstallExecuteSequence> <UIRef Id="WixUI_InstallDirNoLicense"/> </Product> </Wix> ----------------------------------------------------------- I'm linking like this: D:\Temp\NEWSi-WiX-Tool>candle.exe MyApp-1.0.wxs WixUI_InstallDirNoLicense.wxs Microsoft (R) Windows Installer Xml Compiler version 3.0.5217.0 Copyright (C) Microsoft Corporation. All rights reserved. MyApp-1.0.wxs WixUI_InstallDirNoLicense.wxs D:\Temp\NEWSi-WiX-Tool>light.exe -ext WixUIExtension -cultures:en-us MyApp-1.0.wixobj WixUI_InstallDirNoLicense.wixobj -out MyApp-1.0.msi Microsoft (R) Windows Installer Xml Linker version 3.0.5217.0 Copyright (C) Microsoft Corporation. All rights reserved. D:\Temp\NEWSi-WiX-Tool\MyApp-1.0.wxs(24) : error LGHT0094 : Unresolved reference to symbol 'WixUI:WixUI_InstallDirNoLicense' in section 'Product:{5A0E9340-D3E6-1960-4EDF-9113801AB533}'. ----------------------------------------------------------- WixUI_InstallDirNoLicense.wxs looks like this: <?xml version="1.0" encoding="UTF-8"?> <!-- Copyright (c) Microsoft Corporation. All rights reserved. The use and distribution terms for this software are covered by the Common Public License 1.0 (http://opensource.org/licenses/cpl.php) which can be found in the file CPL.TXT at the root of this distribution. By using this software in any fashion, you are agreeing to be bound by the terms of this license. You must not remove this notice, or any other, from this software. --> <!-- First-time install dialog sequence: Maintenance dialog sequence: - WixUI_WelcomeDlg - WixUI_MaintenanceWelcomeDlg - WixUI_LicenseAgreementDlg - WixUI_MaintenanceTypeDlg - WixUI_InstallDirDlg - WixUI_InstallDirDlg - WixUI_VerifyReadyDlg - WixUI_VerifyReadyDlg - WixUI_DiskCostDlg --> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Fragment> <UI Id="WixUI_InstallDirNoLicence"> <TextStyle Id="WixUI_Font_Normal" FaceName="Tahoma" Size="8" /> <TextStyle Id="WixUI_Font_Bigger" FaceName="Tahoma" Size="12" /> <TextStyle Id="WixUI_Font_Title" FaceName="Tahoma" Size="9" Bold="yes" /> <Property Id="DefaultUIFont" Value="WixUI_Font_Normal" /> <Property Id="WixUI_Mode" Value="InstallDir" /> <DialogRef Id="BrowseDlg" /> <DialogRef Id="DiskCostDlg" /> <DialogRef Id="ErrorDlg" /> <DialogRef Id="FatalError" /> <DialogRef Id="FilesInUse" /> <DialogRef Id="MsiRMFilesInUse" /> <DialogRef Id="PrepareDlg" /> <DialogRef Id="ProgressDlg" /> <DialogRef Id="ResumeDlg" /> <DialogRef Id="UserExit" /> <Publish Dialog="BrowseDlg" Control="OK" Event="DoAction" Value="WixUIValidatePath" Order="3">1</Publish> <Publish Dialog="BrowseDlg" Control="OK" Event="SpawnDialog" Value="InvalidDirDlg" Order="4"><![CDATA[WIXUI_INSTALLDIR_VALID<>"1"]]></Publish> <Publish Dialog="ExitDialog" Control="Finish" Event="EndDialog" Value="Return" Order="999">1</Publish> <Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" Value="InstallDirDlg">1</Publish> <Publish Dialog="InstallDirDlg" Control="Back" Event="NewDialog" Value="WelcomeDlg">1</Publish> <Publish Dialog="InstallDirDlg" Control="Next" Event="SetTargetPath" Value="[WIXUI_INSTALLDIR]" Order="1">1</Publish> <Publish Dialog="InstallDirDlg" Control="Next" Event="DoAction" Value="WixUIValidatePath" Order="2">1</Publish> <Publish Dialog="InstallDirDlg" Control="Next" Event="SpawnDialog" Value="InvalidDirDlg" Order="3"><![CDATA[WIXUI_INSTALLDIR_VALID<>"1"]]></Publish> <Publish Dialog="InstallDirDlg" Control="Next" Event="NewDialog" Value="VerifyReadyDlg" Order="4"><![CDATA[WIXUI_INSTALLDIR_VALID="1"]]></Publish> <Publish Dialog="InstallDirDlg" Control="ChangeFolder" Property="_BrowseProperty" Value="[WIXUI_INSTALLDIR]" Order="1">1</Publish> <Publish Dialog="InstallDirDlg" Control="ChangeFolder" Event="SpawnDialog" Value="BrowseDlg" Order="2">1</Publish> <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="InstallDirDlg" Order="1">NOT Installed</Publish> <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="MaintenanceTypeDlg" Order="2">Installed</Publish> <Publish Dialog="MaintenanceWelcomeDlg" Control="Next" Event="NewDialog" Value="MaintenanceTypeDlg">1</Publish> <Publish Dialog="MaintenanceTypeDlg" Control="RepairButton" Event="NewDialog" Value="VerifyReadyDlg">1</Publish> <Publish Dialog="MaintenanceTypeDlg" Control="RemoveButton" Event="NewDialog" Value="VerifyReadyDlg">1</Publish> <Publish Dialog="MaintenanceTypeDlg" Control="Back" Event="NewDialog" Value="MaintenanceWelcomeDlg">1</Publish> <Property Id="ARPNOMODIFY" Value="1" /> </UI> <UIRef Id="WixUI_Common" /> </Fragment> </Wix> -----Original Message----- From: Bob Arnson [mailto:b...@joyofsetup.com] Sent: 28 April 2009 13:11 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Turn off licence in UI Mike Scott wrote: > error LGHT0094 : Unresolved reference to symbol > 'WixUI:WixUI_InstallDirNoLicense' in section 'Product:{5A0E9340-D3E6- > 1960-4EDF-9113801AB533}'. > How are you defining your set fragment? (Are you using WiX v2 for this? Neil's instructions apply to v3.) -- sig://boB http://joyofsetup.com/ ------------------------------------------------------------------------ ------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users