How to combine a WIX installation project with a WIX Bootstrapper project

I have a WIX installation project that includes my user interface and a WIX Bootstrapper project that includes preliminary requests / dependencies in the exe and Msi form of my projects. I want to combine them to create one exe. If I give a link to my WIX Setup project in a Bootstrapper project, then it did not display my WIX interface. However, it can successfully install my msi settings and prerequisites.

<Bundle Name="Bootstrapper1" Version="1.0.0.0" Manufacturer="Microsoft" UpgradeCode="4056d930-16b2-44eb-a861-16db566ae44c">
  <BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.RtfLicense" />

  <Chain>
    <PackageGroupRef Id="Y"/>
    <MsiPackage SourceFile ="$(var.BiodentifySetUp.TargetPath)" Compressed ="yes" />
  </Chain>
</Bundle>
<Fragment>
  <PackageGroup Id="Y">
    <ExePackage Id="Y" DisplayName="software already install"
                       DownloadUrl="http://download.microsoft.com/download/5/6/2/562A10F9-C9F4-4313-A044-9C94E0A8FAC8/dotNetFx40_Client_x86_x64.exe" 
                       Compressed="no" Cache="yes" PerMachine="yes" Permanent="yes" 
                       Vital="yes" SourceFile=".\y.msi" InstallCommand="/passive /norestart" />
  </PackageGroup>
</Fragment>

How can I combine them to create an exe?

+4
source share
1 answer

, exe msi MSI, .msi-, , DisplayInternalUI = 'yes' MsiPackage, .

:

<Chain>
   ...
   <MsiPackage ... DisplayInternalUI='yes' />
</Chain>

, bootstrapper NO, MSI, , MSI.
, .

+4

Source: https://habr.com/ru/post/1527274/


All Articles