[wix-users] Customizing the Standard WiX Bootstrapper UI

Hoover, Jacob Jacob.Hoover at greenheck.com
Wed Aug 4 13:23:55 PDT 2021


The existing WixStdBA strings can be localized.

https://stackoverflow.com/questions/11250597/creating-localized-wix-3-6-bootstrappers/11402260

https://github.com/wixtoolset/wix3/tree/develop/src/ext/BalExtension/wixstdba/Resources



WixStdBA will probe for a loc file in the users language.
https://github.com/wixtoolset/wix3/blob/develop/src/ext/BalExtension/wixstdba/WixStandardBootstrapperApplication.cpp#L1301

Inner logic.
https://github.com/wixtoolset/wix3/blob/develop/src/libs/dutil/locutil.cpp#L56


DisplayInternalUI is ugly, and I wouldn’t suggest authoring a new install utilizing it.


From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of sonvertb19 via wix-users
Sent: Tuesday, August 3, 2021 9:40 AM
To: wix-users at lists.wixtoolset.org
Cc: sonvertb19 <sonvertb19 at protonmail.com>
Subject: Re: [wix-users] Customizing the Standard WiX Bootstrapper UI

The requirement is to generate and distribute the EXE instead of MSI.
That is the reason I am considering option 3, creating an self extracting archive for the MSI.

Are there any known disadvantages for this method so as to avoid it?

@Vilius, I am not sure how multiple languages work for a single bootstrapper. Perhaps someone else can help.

Regards

-------- Original Message --------
On Aug 3, 2021, 7:28 PM, Vilius Šumskas via wix-users wrote:

> I'm very interested in these answers too. Thank you!
>
> For me, I'm searching a simplest way to build a language selection box to make installation dialogs multilingual. Currently I have single MSI which incorporates all the english custom dialogs. I suppose I can have multiple transformations for that MSI file for every language (?). Is standard boostrapper application able to have language select box to call those transformations? With internal dialogs set to "Yes" of course.
>
> I would be happy to avoid multiple Uis though.
>
> --
> Vilius
>
> -----Original Message-----
> From: wix-users <wix-users-bounces at lists.wixtoolset.org<mailto:wix-users-bounces at lists.wixtoolset.org>> On Behalf Of Bryan Dam via wix-users
> Sent: Tuesday, August 3, 2021 4:42 PM
> To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org<mailto:wix-users at lists.wixtoolset.org>>
> Cc: Bryan Dam <bryand at recastsoftware.com<mailto:bryand at recastsoftware.com>>
> Subject: Re: [wix-users] Customizing the Standard WiX Bootstrapper UI
>
> Yea, that sounds about right though I'm not quite sure why you need to bootstrap a single MSI or what option #3 would get you.
>
> -----Original Message-----
> From: wix-users <wix-users-bounces at lists.wixtoolset.org<mailto:wix-users-bounces at lists.wixtoolset.org>> On Behalf Of sonvertb19 via wix-users
> Sent: Tuesday, August 3, 2021 4:31 AM
> To: wix-users at lists.wixtoolset.org<mailto:wix-users at lists.wixtoolset.org>
> Cc: sonvertb19 <sonvertb19 at protonmail.com<mailto:sonvertb19 at protonmail.com>>
> Subject: Re: [wix-users] Customizing the Standard WiX Bootstrapper UI
>
> Thank you Nir!
> Can you please this conclusion as well?
>
> Case 1. To wrap a single MSI into an EXE, I have these three options if I want single UI to be shown during the entire install process:
> 1) Use the WixStdBa and set DisplayInternalUI="no" and use the limited customisation options for the WixStdBa.
>
> 2) Create a native Custom Bootstrapper application.
>
> 3) Create a self extracting archive (SFX) for the MSI.
>
> Case 2. If I can work with two separate UIs being popped up during the installation process, I can use the WixStdBa and set DisplayInternalUI="yes and customize the MSI UI.
>
> Best Regards
>
> -------- Original Message --------
> On Aug 3, 2021, 1:22 PM, Nir Bar via wix-users < wix-users at lists.wixtoolset.org<mailto:wix-users at lists.wixtoolset.org>> wrote:
> You are right in your observations
> You can create a UI in the MSI package and set DisplayInternalUI="yes" in the MsiPackage element to get the MSI to run in non-silent mode
>
> --
> Nir Bar
> WiX Expert
>
> ---- On Tue, 03 Aug 2021 10:26:02 +0300 sonvertb19 via wix-users <wix-users at lists.wixtoolset.org<mailto:wix-users at lists.wixtoolset.org>> wrote ---- Kind reminder.
> Can anyone please confirm?
> -------- Original Message --------
> On Jun 29, 2021, 12:10 PM, sonvertb19 via wix-users wrote:
>> Hi all,
>> First time post. I would like to confirm the knowledge that I have got from my research about the WiX Burn Bootstrapper.
>>
>> Our use case involved a single MSI which needs to be wrapped inside an EXE.
>> We do not want to use the Custom Bootstrapper just yet, so we are sticking to the WixStandardBootstrapperApplication.RtfLicense for now.
>>
>> I have two questions,
>> 1) Is modifying the theme files and specifying them to the BootstrapperApplicationRef using ThemeFile the only way to change the UI?
>> 2) We can only add elements, like <Checkbox>, <Text>, etc to the theme file. There is no way to add a new dialogue (page like the Options, Install, Progress etc) to the WixStandardBootstrapperApplication.RtfLicense, Is that right?
>>
>> If there is any other way to customize the standard bootstrapper application, please point to the right resource.
>>
>> Thanks
>>
>> ____________________________________________________________________
>> WiX Toolset Users Mailing List provided by FireGiant
>> https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.f<https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.f>
>> iregiant.com%2F<http://iregiant.com%2F> &data=04%7C01%7Cbryand%40recastsoftware.com%7C72eab
>> 95622dd498af3ba08d956590502%7C9315bb44634846c6bd378880b87e774e%7C0%7C0
>> %7C637635762596626228%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQ
>> IjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=krT5%2BXsx
>> 0RB3HfNLfpjU0y%2B4ETqC0qAV3vB1gE%2F2Y6o%3D&reserved=0
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant [https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.firegiant.com%2F&data=04%7C01%7Cbryand%40recastsoftware.com%7C72eab95622dd498af3ba08d956590502%7C9315bb44634846c6bd378880b87e774e%7C0%7C0%7C637635762596626228%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=krT5%2BXsx0RB3HfNLfpjU0y%2B4ETqC0qAV3vB1gE%2F2Y6o%3D&reserved=0<https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.firegiant.com%2F&data=04%7C01%7Cbryand%40recastsoftware.com%7C72eab95622dd498af3ba08d956590502%7C9315bb44634846c6bd378880b87e774e%7C0%7C0%7C637635762596626228%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=krT5%2BXsx0RB3HfNLfpjU0y%2B4ETqC0qAV3vB1gE%2F2Y6o%3D&reserved=0>](https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.firegiant.com%2F&data=04%7C01%7Cbryand%40recastsoftware.com%7C72eab95622dd498af3ba08d956590502%7C9315bb44634846c6bd378880b87e774e%7C0%7C0%7C637635762596626228%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=krT5%2BXsx0RB3HfNLfpjU0y%2B4ETqC0qAV3vB1gE%2F2Y6o%3D&reserved=0)
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant [https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.firegiant.com%2F&data=04%7C01%7Cbryand%40recastsoftware.com%7C72eab95622dd498af3ba08d956590502%7C9315bb44634846c6bd378880b87e774e%7C0%7C0%7C637635762596626228%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=krT5%2BXsx0RB3HfNLfpjU0y%2B4ETqC0qAV3vB1gE%2F2Y6o%3D&reserved=0<https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.firegiant.com%2F&data=04%7C01%7Cbryand%40recastsoftware.com%7C72eab95622dd498af3ba08d956590502%7C9315bb44634846c6bd378880b87e774e%7C0%7C0%7C637635762596626228%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=krT5%2BXsx0RB3HfNLfpjU0y%2B4ETqC0qAV3vB1gE%2F2Y6o%3D&reserved=0>](https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.firegiant.com%2F&data=04%7C01%7Cbryand%40recastsoftware.com%7C72eab95622dd498af3ba08d956590502%7C9315bb44634846c6bd378880b87e774e%7C0%7C0%7C637635762596626228%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=krT5%2BXsx0RB3HfNLfpjU0y%2B4ETqC0qAV3vB1gE%2F2Y6o%3D&reserved=0)
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant [https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.firegiant.com%2F&data=04%7C01%7Cbryand%40recastsoftware.com%7C72eab95622dd498af3ba08d956590502%7C9315bb44634846c6bd378880b87e774e%7C0%7C0%7C637635762596626228%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=krT5%2BXsx0RB3HfNLfpjU0y%2B4ETqC0qAV3vB1gE%2F2Y6o%3D&reserved=0<https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.firegiant.com%2F&data=04%7C01%7Cbryand%40recastsoftware.com%7C72eab95622dd498af3ba08d956590502%7C9315bb44634846c6bd378880b87e774e%7C0%7C0%7C637635762596626228%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=krT5%2BXsx0RB3HfNLfpjU0y%2B4ETqC0qAV3vB1gE%2F2Y6o%3D&reserved=0>](https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.firegiant.com%2F&data=04%7C01%7Cbryand%40recastsoftware.com%7C72eab95622dd498af3ba08d956590502%7C9315bb44634846c6bd378880b87e774e%7C0%7C0%7C637635762596626228%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=krT5%2BXsx0RB3HfNLfpjU0y%2B4ETqC0qAV3vB1gE%2F2Y6o%3D&reserved=0)
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/<http://www.firegiant.com>
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/<http://www.firegiant.com/>

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/<http://www.firegiant.com/>
NOTE: This email was received from an external source. Please use caution when opening links or attachments in the message.


More information about the wix-users mailing list