I am the Blair from that email thread you referenced for the "call light twice" technique. That technique was tested without any WixVariable usage. However, I believe the wixout file should have all required fragments from the extensions, so I would hope that the extensions could be dropped from the second time you call light.
Are there any errors in your build if you don't include any extensions when you do the binding (the second call to light)? -----Original Message----- From: Matt Sullivan [mailto:msulli...@zaptechnology.com] Sent: Tuesday, July 06, 2010 12:29 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] WixUILicenseRtf broken when binding sources into wixpdb Hi All, I'm trying to make my build process produce a wixpdb that has source files bound into it to make patching easier later. I'm calling light.exe twice to first link into a wixout, then again to create the msi as suggested here: http://www.mail-archive.com/wix-users@lists.sourceforge.net/msg19719.html This produces the files I expect, however the resultant msi does not include the correct license text or splash screen images. (Instead showing a red cd image and the 'common public license'.) I'm using light.exe as follows: Light.exe -v -cultures:en-us -ext "C:\Program Files (x86)\Windows Installer XML v3\bin\WixUtilExtension.dll" -ext "C:\Program Files (x86)\Windows Installer XML v3\bin\WixUIExtension.dll" -ext "C:\Program Files (x86)\Windows Installer XML v3\bin\WixNetFxExtension.dll" -loc Language\WixUI_en-us.wxl -xo -bf -out "obj\Release\en-us\CustomizationWizard.wixout" obj\Release\ProgramFiles.wixobj obj\Release\Setup.wixobj Light.exe -v -ext "C:\Program Files (x86)\Windows Installer XML v3\bin\WixUtilExtension.dll" -ext "C:\Program Files (x86)\Windows Installer XML v3\bin\WixUIExtension.dll" -ext "C:\Program Files (x86)\Windows Installer XML v3\bin\WixNetFxExtension.dll" -out bin\Release\en-us\CustomizationWizard.msi -pdbout bin\Release\en-us\CustomizationWizard.wixpdb obj\Release\en-us\CustomizationWizard.wixout The problem appears directly related to whether source files are being bound. If I the exact same light commands but remove the '-bf' parameter it seems to do the right thing. Fyi: my Product xml element includes the following definitions: <WixVariable Id="WixUILicenseRtf" Value="ZAP SOFTWARE LICENSE TERMS.rtf" /> <WixVariable Id="WixUIBannerBmp" Value="Bitmaps\banner.bmp" /> <WixVariable Id="WixUIDialogBmp" Value="Bitmaps\dlg.bmp" /> <WixVariable Id="WixUIExclamationIco" Value="Bitmaps\exclamation.ico" /> <WixVariable Id="WixUIInfoIco" Value="Bitmaps\info.ico" /> <WixVariable Id="WixUINewIco" Value="Bitmaps\new.ico" /> <WixVariable Id="WixUIUpIco" Value="Bitmaps\up.ico" /> Any help much appreciated, thanks, Matt ---------------------------------------------------------------------------- -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users