A
A
Alexander2013-12-13 17:17:28
Installer
Alexander, 2013-12-13 17:17:28

Dependent installation of packages in WiX Bootstrapper, how to do?

I'm making a multi-package installer in WiX.
The idea is this: the first package is launched in Chain, options are selected in it, on the basis of which a decision is made whether to install subsequent packages.
Specifically, then:

<Bundle Name="..." ... >
...
    <Chain >
     			<PackageGroupRef Id="WindowsInstaller45"/>
      			<PackageGroupRef Id="NetFx40Redist"/>
      			<MsiPackage Id="MyMSIInstaller" SourceFile="..." DisplayInternalUI="yes" ...>
      				<!--В этом пакете со своим UI принимается решение, устанавливать ли новый SQL сервер или использовать имеющийся где либо в сети --> 
        			<MsiProperty ... />
       			</MsiPackage>
       			<!--Как сделать так, чтобы этот пакет не устанавливался, если в предыдущем так было выбрано?-->
      			<PackageGroupRef Id="SQLServer2008Express"/>
      		</Chain>
  </Bundle>

I tried to write in my MSI to the registry and read it in Bootstrapper before installing the dependent package, but in Bootstrapper the variables are recalculated before installing any package.
Help, is there any solution?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
corsairz, 2015-07-15
@Alesot

Maybe take a look at Wix Sharp and the Managed Bootstrapper Application?
Pretty handy bundle, once allowed to solve a bunch of problems
https://wixsharp.codeplex.com/
bryanpjohnston.com/2012/09/28/custom-wix-managed-b...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question