Re: [WiX-users] Wix V3 UI image substitution

2006-10-03 Thread Graham D. Ambrose








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.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Wix V3 UI image substitution

2006-10-03 Thread Mike Dimmick



Right now, I don't think so. Look for "!(wix." in the .wxs 
files under src\ext\UIExtension\wixlib for other tunable variables in the 
UI.

For 3.0.2015.0 this gives:

Searching for: !(wix.Common.wxs(15): Binary 
Id="WixUI_Bmp_Banner" SourceFile="!(wix.WixUIBannerBmp=$(var.bannerBmp))" 
/Common.wxs(16): Binary Id="WixUI_Bmp_Dialog" 
SourceFile="!(wix.WixUIDialogBmp=$(var.dialogBmp))" /Common.wxs(17): 
Binary Id="WixUI_Ico_Exclam" 
SourceFile="!(wix.WixUIExclamationIco=$(var.exclamationIco))" 
/Common.wxs(18): Binary Id="WixUI_Ico_Info" 
SourceFile="!(wix.WixUIInfoIco=$(var.infoIco))" /Common.wxs(19): 
Binary Id="WixUI_Bmp_New" SourceFile="!(wix.WixUINewIco=$(var.newIco))" 
/Common.wxs(20): Binary Id="WixUI_Bmp_Up" 
SourceFile="!(wix.WixUIUpIco=$(var.upIco))" 
/LicenseAgreementDlg.wxs(29): Text 
SourceFile="!(wix.WixUILicenseRtf=$(var.licenseRtf))" 
/WelcomeEulaDlg.wxs(35): Text 
SourceFile="!(wix.WixUILicenseRtf=$(var.licenseRtf))" /Found 8 
occurrence(s) in 3 file(s)

-- 
Mike Dimmick


From: Graham D. Ambrose 
[mailto:[EMAIL PROTECTED] Sent: 03 October 2006 
09:51To: Mike Dimmick; 
wix-users@lists.sourceforge.netSubject: RE: [WiX-users] Wix V3 UI 
image substitution


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:33To: Mike Dimmick; Graham D. Ambrose; 
wix-users@lists.sourceforge.netSubject: 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 DimmickSent: 29 September 2006 17:26To: Graham D. Ambrose; 
wix-users@lists.sourceforge.netSubject: 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. AmbroseSent: 29 September 2006 09:23To: 
wix-users@lists.sourceforge.netSubject: [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.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Wix V3 UI image substitution

2006-09-29 Thread Bob Arnson




Mike Dimmick wrote:

  
  
  
  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.

Yes, the idea is to be more flexible than the WiX v2 approach. Using
WiX variables is more verbose but I think that's a good thing when it
comes to things like which license file you ship with.g
-- 
sig://boB
http://bobs.org


-
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.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users