You might also find this blog useful:
http://neilsleightholm.blogspot.com/2008/08/customised-uis-for-wix.html.
Neil
Neil Sleightholm
X2 Systems Limited
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
________________________________
From: BOB1981 [mailto:[EMAIL PROTECTED]
Sent: Fri 26/09/2008 14:04
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to Skip Licence Aggrement Dialog from FreatureTree
UI
Hi All,
I do got this done But, i dont know something is wrong in the sequence, i
added the following in my Product.wxs
<UIRef Id='WixUI_FeatureTree'/>
<UI>
<Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog"
Value="CustomizeDlg">1</Publish>
<Publish Dialog="CustomizeDlg" Control="Back" Event="NewDialog"
Value="WelcomeDlg" Order="2">NOT Installed</Publish>
</UI>
above code does compiles and the MSi package when installing does not show a
license aggrement, as i have change the Value attributes of the Dialogs. Now
the problem is :-
1. executed the msi and it showed the WelcomeDlg, clicked next
2. Showed the CustomizeDlg,(Avoiding the LicenseAgreementDlg) --> great
untill now
3. On CustomizeDlg Clicked Back (without going furthur) it shows
LicenseAgreementDlg.
even tho i have changed the Value attirbute to WelcomeDlg on "Back" control
and shown in the code above.
Any idea why?
Original CODE in WixUI_FeatureTree.wxs is as follows, The Default behaviour
of FeatureTree UI.
<Fragment>
<UI Id="WixUI_FeatureTree">
<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="FeatureTree" />
<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="ExitDialog" Control="Finish" Event="EndDialog"
Value="Return" Order="999">1</Publish>
<Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog"
Value="LicenseAgreementDlg">1</Publish>
<Publish Dialog="LicenseAgreementDlg" Control="Back"
Event="NewDialog" Value="WelcomeDlg">1</Publish>
<Publish Dialog="LicenseAgreementDlg" Control="Next"
Event="NewDialog" Value="CustomizeDlg">LicenseAccepted = "1"</Publish>
<Publish Dialog="CustomizeDlg" Control="Back" Event="NewDialog"
Value="MaintenanceTypeDlg" Order="1">Installed</Publish>
<Publish Dialog="CustomizeDlg" Control="Back" Event="NewDialog"
Value="LicenseAgreementDlg" Order="2">NOT Installed</Publish>
<Publish Dialog="CustomizeDlg" Control="Next" Event="NewDialog"
Value="VerifyReadyDlg">1</Publish>
<Publish Dialog="VerifyReadyDlg" Control="Back"
Event="NewDialog" Value="CustomizeDlg" Order="1">NOT Installed OR
WixUI_InstallMode = "Change"</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="ChangeButton"
Event="NewDialog" Value="CustomizeDlg">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>
</UI>
<UIRef Id="WixUI_Common" />
</Fragment>
BOB1981 wrote:
>
> Hi All,
>
> I am using Wix3 in my build and using <UIRef Id='WixUI_FeatureTree'/>
> which provides a UI for my Msi Pakcage. I dont want to have License
> Aggrement Dialog in my MSi , How can i skip the dialog from it.
>
> I know there are other UI interfaces which i could use, but I need the
> Featree Options in my UI, but only wanna skip License Dialog as its a
> inhouse application which will be used internally in our project. so we
> really dont need a Aggreement part to use.
>
> Thanks..
>
--
View this message in context:
http://n2.nabble.com/How-to-Skip-Licence-Aggrement-Dialog-from-FreatureTree-UI-tp1118989p1120821.html
Sent from the wix-users mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users