Re: [WiX-users] Customizing dialog sets

2006-06-23 Thread Albert van Peppen



Hmm.. I did it some other way; maybe the wrong way? But 
it is much easier (at least it seems to me and it works);

1. Copy the WixUI_xxx.wxs (for example the 
WixUI_Mondo.wxs) to your projects include folder (yes, i really using them) as 
WixUI_MyCustom.wxi
2. Edit the WixUI_MyCustom.wxi: Change theUI 
idUI Id="WixUI_Mondo" into UI 
Id="WixUI_MyCustom"
3. Remove/insert your refs to dialogs and reorder the 
dialogs, if you like, by changing the WixUI_xxx_Next and WixUI_xxx_Back 
properties for the appropriate dialogs
4.Optional: Create your own wxi files with the 
dialogs in it; copy sample code from the library sources but don't use 
fragments.
 (Make sure to use unique IDs like 
MyCustomLicenseAgreementDlg)
5. Optional: Include your dialog include files in 
WixUI_MyCustom.wxi with ?include ...? (try to maintain the same 
structure in your dialog as in the code in the WixUI 
lib-sources)
6. Include WixUI_MyCustom.wxi in your 
wxs file and use the UIRef UIRef 
Id="WixUI_MyCustom" /
7. Build your 
project

This way there is no need to build a seperate wixlib 
and you can keep everything in one project 
easily.
It would be neat if you could 'override' a specific 
dialog. Then you you can change a single dialog tou your own needs without all 
the other fuss..

As said; it works for me. Now in Wix-2.0. But i don't 
know if it'll work in Wix-3.0 (most likely not ?) But then again, i hope the UI 
handling in Wix-3.0 is somewhat 'better' (don't ask me how to define 'better' 
:-) )

Hope this can help heating the discussion? smile 
/


Albert van 
Peppen


Van: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] Namens Neil 
SleightholmVerzonden: donderdag 22 juni 2006 20:50Aan: 
wix-users@lists.sourceforge.netOnderwerp: Re: [WiX-users] Customizing 
dialog sets

The WiX Tutorial covers some of this but the process I 
used:
1. Copy all the files in src\ui\wixui to a 
newfolder
2. Copy src\ui\wixui\mondo\WixUI_Mondo.wxs (or which 
ever base file you want) to the same folder.
3. Rename WixUI_Mondo.wxs and edit it to add/remove the 
features you want.
4. Remove any redundant wsx files.
4. Compile with:
 
candle*.wxs
5. Followed by:
lit 
-out customui.wixlib *.wixobj
6. Copy the wixlib file (customui.wixlib) to your main 
WiX folder (where candle.exe etc is).
7. You can then reference the new ui in your wxs 
file:
UIRef 
Id="WixUI_MyUI" /
 and light against the new wixlib 
file.
 e.g. light 
-out Setup.msi *.wixobj customui.wixlib -loc WixUI_en-us.wxl

Hope this helps

Neil


  
  
  From: John Hidey 
  [mailto:[EMAIL PROTECTED] Sent: 22 June 2006 
  18:29To: Bob Arnson; Neil SleightholmCc: 
  wix-users@lists.sourceforge.netSubject: RE: [WiX-users] Customizing 
  dialog sets
  
  
  After 
  doing this, does anything need to be recompiled?
  
  
  
  From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of Bob 
  ArnsonSent: Thursday, June 22, 2006 12:13 PMTo: Neil 
  SleightholmCc: wix-users@lists.sourceforge.netSubject: 
  Re: [WiX-users] Customizing dialog sets
  
  Neil Sleightholm wrote: 
  
  In the online 
  help there is this paragraph: "You can most easily add and 
  remove dialogs from the stock dialog sets by copying one of the existing sets 
  and modifying it. For an example, see the project in the 
  doc/examples/wixui/custom directory."
  
  
  
  This example 
  doesn't seem to exist, is it missing from the downloads? Is the example 
  available somewhere?
  It's currently broken, which is why it hasn't been added. 
  It's on my bug list but hasn't come up the priority list 
  yet.
  
  All I want to do 
  is remove the License dialog as it is not appropriate for internal releases. 
  Is there an easy way to remove it?
  What the example shows is copying one of the "set" 
  fragments (e.g., WixUI_InstallDir.wxs) and modifying the properties and 
  adding/removing DialogRefs to point to different dialogs. 
  -- sig://boBhttp://bobs.org
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Customizing dialog sets

2006-06-23 Thread Bob Arnson




Albert van Peppen wrote:

  
  
  

  This way there is no need to build a
seperate wixlib and you can keep everything in one project easily.

True, though you're recompiling more every time than if you built a new
.wixlib.

  It would be neat if you could 'override' a
specific dialog. Then you you can change a single dialog tou your own
needs without all the other fuss..

The reason you need a new "dialog set" fragment for that is that
there's no way to specify an order for which property values should
take precedence.

  As said; it works for me. Now in Wix-2.0.
But i don't know if it'll work in Wix-3.0 (most likely not ?) But then
again, i hope the UI handling in Wix-3.0 is somewhat 'better' (don't
ask me how to define 'better' :-) )

In WiX v3, it will be easier to override a dialog when I get around to
replacing the current properties with WiX variables because they have
explicit overriding. We've also pulled out the controls' Publish
elements into the dialog set fragments. That will let you add
functionality in one place more easily.

-- 
sig://boB
http://bobs.org



Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Customizing dialog sets

2006-06-22 Thread Bob Arnson




Neil Sleightholm wrote:

  
  
  In
the online help there is this paragraph: "You can most easily add
and remove dialogs from the stock dialog sets by copying one of the
existing sets and modifying it. For an example, see the project in the
doc/examples/wixui/custom directory."
  
  This
example doesn't seem to exist, is it missing from the downloads? Is the
example available somewhere?

It's currently broken, which is why it hasn't been added. It's on my
bug list but hasn't come up the priority list yet.

  All
I want to do is remove the License dialog as it is not appropriate for
internal releases. Is there an easy way to remove it?

What the example shows is copying one of the "set" fragments (e.g.,
WixUI_InstallDir.wxs) and modifying the properties and adding/removing
DialogRefs to point to different dialogs. 
-- 
sig://boB
http://bobs.org



Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Customizing dialog sets

2006-06-22 Thread John Hidey








After doing this, does anything need to be recompiled?







From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bob Arnson
Sent: Thursday, June 22, 2006 12:13 PM
To: Neil Sleightholm
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Customizing dialog sets







Neil Sleightholm wrote: 



In
the online help there is this paragraph: You
can most easily add and remove dialogs from the stock dialog sets by copying
one of the existing sets and modifying it. For an example, see the project in
the doc/examples/wixui/custom directory.











This
example doesn't seem to exist, is it missing from the downloads? Is the example
available somewhere?



It's currently broken, which is why it hasn't been added.
It's on my bug list but hasn't come up the priority list yet.





All
I want to do is remove the License dialog as it is not appropriate for internal
releases. Is there an easy way to remove it?



What the example shows is copying one of the set
fragments (e.g., WixUI_InstallDir.wxs) and modifying the properties and
adding/removing DialogRefs to point to different dialogs. 



-- sig://boBhttp://bobs.org




Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Customizing dialog sets

2006-06-22 Thread Neil Sleightholm



The WiX Tutorial covers some of this but the process I 
used:
1. Copy all the files in src\ui\wixui to a 
newfolder
2. Copy src\ui\wixui\mondo\WixUI_Mondo.wxs (or which 
ever base file you want) to the same folder.
3. Rename WixUI_Mondo.wxs and edit it to add/remove the 
features you want.
4. Remove any redundant wsx files.
4. Compile with:
 
candle*.wxs
5. Followed by:
lit 
-out customui.wixlib *.wixobj
6. Copy the wixlib file (customui.wixlib) to your main 
WiX folder (where candle.exe etc is).
7. You can then reference the new ui in your wxs 
file:
UIRef 
Id="WixUI_MyUI" /
 and light against the new wixlib 
file.
 e.g. light 
-out Setup.msi *.wixobj customui.wixlib -loc WixUI_en-us.wxl

Hope this helps

Neil


  
  
  From: John Hidey 
  [mailto:[EMAIL PROTECTED] Sent: 22 June 2006 
  18:29To: Bob Arnson; Neil SleightholmCc: 
  wix-users@lists.sourceforge.netSubject: RE: [WiX-users] Customizing 
  dialog sets
  
  
  After 
  doing this, does anything need to be recompiled?
  
  
  
  From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of Bob 
  ArnsonSent: Thursday, June 22, 2006 12:13 PMTo: Neil 
  SleightholmCc: wix-users@lists.sourceforge.netSubject: 
  Re: [WiX-users] Customizing dialog sets
  
  Neil Sleightholm wrote: 
  
  In the online 
  help there is this paragraph: "You can most easily add and 
  remove dialogs from the stock dialog sets by copying one of the existing sets 
  and modifying it. For an example, see the project in the 
  doc/examples/wixui/custom directory."
  
  
  
  This example 
  doesn't seem to exist, is it missing from the downloads? Is the example 
  available somewhere?
  It's currently broken, which is why it hasn't been added. 
  It's on my bug list but hasn't come up the priority list 
  yet.
  
  All I want to do 
  is remove the License dialog as it is not appropriate for internal releases. 
  Is there an easy way to remove it?
  What the example shows is copying one of the "set" 
  fragments (e.g., WixUI_InstallDir.wxs) and modifying the properties and 
  adding/removing DialogRefs to point to different dialogs. 
  -- sig://boBhttp://bobs.org
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users