[wix-users] Fwd: Install WiX Bootstrapper Prerequisite Before Displaying UI
wmanning at dynagen.ca
Wed Dec 9 10:39:42 PST 2015
That's a capability in newer Wix versions. Most tutorials are for older versions. I think older versions the first item in the chain gets installed before the BA is called (which means only one package can be installed before your managed BA is called).
You don't need a managed BA though, you can create a C++ BA. Then there's not the above complication. There's not much documentation out there but this is talked a lot in the mailing list. Even look at github and wixtoolset development section. Also there is a book you can get that has a section on a managed BA. Nothing on a C++ BA though so you would have to look at the source code for an example.
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Ben Key
Sent: December-09-15 2:30 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] Fwd: Install WiX Bootstrapper Prerequisite Before Displaying UI
Rob Mensching said "It is possible, for example, mba (the managed bootstrapper application host and friends) does this to install NETFX before managed code BA can be loaded."
Can you be a little more specific? I did a search for "managed bootstrapper application" and found the article Custom WiX Managed Bootstrapper Application <http://bryanpjohnston.com/2012/09/28/custom-wix-managed-bootstrapper-application/>.
It shows the installation of .NET as the first item in the Chain element.
It also shows C# and XML code to create the UI. But it does not say anything about .NET being installed before the UI is displayed. In fact the article I mentioned earlier, How To: Install the .NET Framework Using Burn <http://wixtoolset.org/documentation/manual/v3/howtos/redistributables_and_install_checks/install_dotnet.html>,
makes it a point to state that you must target the built in version of .NET.
On Wed, Dec 9, 2015 at 12:14 PM, Rob Mensching <rob at firegiant.com> wrote:
> It is possible, for example, mba (the managed bootstrapper application
> host and friends) does this to install NETFX before managed code BA
> can be loaded.
> -----Original Message-----
> From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On
> Behalf Of Ben Key
> Sent: Wednesday, December 9, 2015 10:09
> To: wix-users at lists.wixtoolset.org
> Subject: [wix-users] Fwd: Install WiX Bootstrapper Prerequisite Before
> Displaying UI
> Is it possible to have one or more prerequisites installed before the
> Burn custom user interface? The scenario I have in mind is that the
> custom user interface depends on the prerequisites.
> The documentation I have found thus far indicates that you use the
> Chain element to install multiple packages. The packages are installed
> in the order that they are listed in the Chain element. However none
> of the documentation I have found indicates at which point when the UI
> is actually displayed or how to control this?
> One document on How To: Install the .NET Framework Using Burn <
> seems to suggest that this may not be possible. For example it
> contains the following sentences.
> "Target your bootstrapper application to the version of .NET built
> into the operating system. For Windows 7, this is .NET 3.5."
> Why would it specifically state that you need to target the version of
> .NET built into the operating system if you could be certain that the
> version of .NET you included in the bootstrapper would be available at
> the time the UI is displayed?
> WiX Toolset Users Mailing List provided by FireGiant
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
More information about the wix-users