Thanks for the help Mike. I have a very pretty looking installer now.

 

Is there any way to inspect what variables can be set with out looking through the source code?

 

Graham

 


From: Mike Dimmick [mailto:[EMAIL PROTECTED]
Sent: 29 September 2006 17:33
To: Mike Dimmick; Graham D. Ambrose; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Wix V3 UI image substitution

 

Having downloaded the latest weekly (3.0.2128.0), I can confirm that this seems to work - setting -dWixUILicenseRtf=License.rtf caused it to be picked up and used in the MSI.

 

--

Mike Dimmick

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Dimmick
Sent: 29 September 2006 17:26
To: Graham D. Ambrose; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Wix V3 UI image substitution

It looks like you need to add -dWixUILicenseRtf=<path-to-license-rtf> to the light command line to change this variable. Right now I can't validate this as I have the 3.0.2015.0 version installed and I can't build the SampleUI tutorial (gets LGHT0132 errors complaining that nothing's a valid assembly, even though the Assembly attribute isn't specified, which appears to be a problem in the latest stable unstable version if that makes sense!)

 

I worked this out by reading LicenseAgreementDlg.wxs in the source (in src\ext\UIExtension\wixlib) and working out how light actually processes these variables (it's in WixVariableResolver.ResolveVariables).

 

Changing the bitmaps is more circuitous; the bitmaps use a <String> from the (compiled) .wxl file that's embedded in the UIExtension. This sets each bitmap (marked 'overridable') to WixUI_Bmp_Banner. In Common.wxs (same folder as LicenseAgreementDlg.wxs) this is also set via a variable, to WixUIBannerBmp. Again, supply this on the command line to light, e.g.

 

-dWixUIBannerBmp=<path-to-banner-bmp>

 

As I say, this is guesswork. I hope it unsticks you.

 

--

Mike Dimmick

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Graham D. Ambrose
Sent: 29 September 2006 09:23
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Wix V3 UI image substitution

I am trying to customise the standard Wix UI by including our own licence file and branded backgrounds.

 

I can not seem to be able to work out where to put my files in order to get them picked up. I am using Wix version 3 and are happily building using the WixUIExtension. But all the examples of replacing the images etc that I have found are using Wix V2 and the wixui.wixlib file and the paths they suggest do not seem to work.

 

Can anyone explain how to achieve the substitution of the image files in WixUI

 

Many Thanks,

 

Graham

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to