72 lines
3.1 KiB
XML
72 lines
3.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
|
|
xmlns:bal="http://schemas.microsoft.com/wix/BalExtension"
|
|
xmlns:swid="http://schemas.microsoft.com/wix/TagExtension"
|
|
xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
|
|
<?include "Variables.wxi" ?>
|
|
|
|
<Bundle Name="$(var.ProductName)" Manufacturer="$(var.Manufacturer)"
|
|
Version="$(var.DisplayVersion)" UpgradeCode="$(var.UpgradeCode)"
|
|
AboutUrl="https://dotnet.github.io/"
|
|
Compressed="yes">
|
|
|
|
<BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.Foundation">
|
|
<bal:WixStandardBootstrapperApplication
|
|
LicenseFile="dummyeula.rtf"
|
|
ShowFilesInUse="yes"
|
|
ShowVersion="yes"
|
|
/>
|
|
|
|
<PayloadGroupRef Id="DotnetCoreBAPayloads" />
|
|
</BootstrapperApplicationRef>
|
|
|
|
<swid:Tag Regid="microsoft.com" InstallPath="[DOTNETHOME]" />
|
|
|
|
<Variable Name="DOTNETHOME" Type="string" Value="[ProgramFiles6432Folder]dotnet" bal:Overridable="no" />
|
|
<Variable Name="BUNDLEMONIKER" Type="string" Value="$(var.ProductMoniker)" bal:Overridable="no" />
|
|
<Variable Name="DOTNETSDKVERSION" Type="string" Value="$(var.DisplayVersion)" bal:Overridable="no" />
|
|
<Variable Name="DOTNETRUNTIMEVERSION" Type="string" Value="$(var.DotNetRuntimeVersion)" bal:Overridable="no" />
|
|
<Variable Name="ASPNETCOREVERSION" Type="string" Value="$(var.AspNetCoreVersion)" bal:Overridable="no" />
|
|
|
|
<Chain DisableSystemRestore="yes" ParallelCache="yes">
|
|
<MsiPackage SourceFile="$(var.SharedFXMsiSourcePath)">
|
|
<MsiProperty Name="DOTNETHOME" Value="[DOTNETHOME]" />
|
|
</MsiPackage>
|
|
<MsiPackage SourceFile="$(var.HostFXRMsiSourcePath)">
|
|
<MsiProperty Name="DOTNETHOME" Value="[DOTNETHOME]" />
|
|
</MsiPackage>
|
|
<MsiPackage SourceFile="$(var.SharedHostMsiSourcePath)">
|
|
<MsiProperty Name="DOTNETHOME" Value="[DOTNETHOME]" />
|
|
</MsiPackage>
|
|
<MsiPackage SourceFile="$(var.WinFormsAndWpfMsiSourcePath)">
|
|
<MsiProperty Name="DOTNETHOME" Value="[DOTNETHOME]" />
|
|
</MsiPackage>
|
|
<MsiPackage SourceFile="$(var.CLISDKMsiSourcePath)">
|
|
<MsiProperty Name="DOTNETHOME" Value="[DOTNETHOME]" />
|
|
<MsiProperty Name="EXEFULLPATH" Value="[WixBundleOriginalSource]" />
|
|
</MsiPackage>
|
|
<?if $(var.Platform)=x86?>
|
|
<PackageGroupRef Id="PG_AspNetCoreSharedFramework_x86"/>
|
|
<?elseif $(var.Platform)=x64?>
|
|
<PackageGroupRef Id="PG_AspNetCoreSharedFramework_x64"/>
|
|
<?endif?>
|
|
</Chain>
|
|
</Bundle>
|
|
|
|
<Fragment>
|
|
<PayloadGroup Id="DotnetCoreBAPayloads">
|
|
<Payload Name="thm.xml" Compressed="yes" SourceFile="bundle.thm" />
|
|
<Payload Name="thm.wxl" Compressed="yes" SourceFile="bundle.wxl" />
|
|
<Payload Name="bg.png" Compressed="yes" SourceFile="..\..\osx\clisdk\resources\dotnetbackground.png" />
|
|
|
|
<Payload Name='eula.rtf' Compressed='yes' SourceFile='!(wix.WixStdbaLicenseRtf)' />
|
|
</PayloadGroup>
|
|
|
|
<CustomTable Id='WixStdbaInformation'>
|
|
<Row>
|
|
<Data Column='LicenseFile'>eula.rtf</Data>
|
|
</Row>
|
|
</CustomTable>
|
|
</Fragment>
|
|
|
|
</Wix>
|