Hi CMOG,

> I'm using wix 3 and having some problems with the UI. I'm setting the 
> installer to use WixUI_MONDO. The problem is that the user doesn't get 
> prompted for the install location.

concerning the prompt for install location in WixUI_MONDO, I remember a
small 'gotcha' moment ;)
It will not show until you set the 'ConfigurableDirectory' Attribute on
your feature(s), somewhat like so:

<Feature Id="SOME_ID"
                 Title="YOUR_TITLE"
                 Level="1"
                 ConfigurableDirectory="INSTALLLOCATION"
                 Description ="SOME_DESCRIPTION">


> I also like to know how can i disable the license file dialog.

To remove the license file dialog you'll need to 'rewire' the dialog
sequence in a custom UI part in your .wxs file. If you take a look at
the WixUI_Mondo.wxs you'll find all that <publish Dialog=" ...> entries,
neatly grouped per dialog, some of them connecting the 'Back' and 'Next'
Controls of the Dialog to another one.
Those you have to 'override' to plug in or remove a Dialog.

For example to remove the LicenseAgreementDlg from mondo, you can see
this part in WixUI_Mondo.wxs:

[...]
<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="SetupTypeDlg" Order="2">LicenseAccepted = "1"</Publish>

<Publish Dialog="SetupTypeDlg" Control="Back" Event="NewDialog"
Value="LicenseAgreementDlg">1</Publish>
[...]

And you would need to do something like this in your file in order to
'rewire' the WelcomeDlg directly with the SetupTypeDlg:

<UI>
[...]
<Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog"
Value="SetupTypeDlg">1</Publish>

<Publish Dialog="SetupTypeDlg" Control="Back" Event="NewDialog"
Value="WelcomeDlg">1</Publish>
[...]
</UI>

(just remove the LicenseAgreementDlg and adjusted the Next and Back
Values of the surrounding Dialogs)

HTH,
Henrik Opel

Attachment: signature.asc
Description: OpenPGP digital signature

-------------------------------------------------------------------------
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