I am creating a WiX installer for a project. On the welcome dialog of my MSI installer I have too much text which doesn't fit the dialog.
I have already tried to change the font and make it smaller, but with no luck.
Is there any other way I can fit the text into the welcome dialog? Either make font size smaller somehow or increase the size of the dialog. Any help will be highly appreciated.
The built-in dialogs are built exactly the same way that you can build in your own project.
You could copy the WelcomeDlg code into your own project, give it a new Id, then make whatever modifications you want to it. Then fix up the Back/Next buttons on neighboring dialogs so they end up at your dialog instead of the built-in ones.
<UI Id="MyUI">
<!-- Start with a default UI -->
<UIRef Id="WixUI_Mondo" />
<!-- Create my own dialog -->
<Dialog Id="MyWelcomeDlg" Width="XXX" Height="YYY" ...> ... </Dialog>
<!-- Fix up the back/next buttons -->
<Publish Dialog="LicenseAgreementDlg" Control="Back" Event="NewDialog" Value="MyWelcomeDlg">1</Publish>
...
</UI>
<InstallUISequence>
<Show Dialog="MyWelcomeDlg" Before="ProgressDlg">NOT Installed OR PATCH</Show>
</InstallUISequence>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.