58 lines
2.3 KiB
Text
58 lines
2.3 KiB
Text
|
<?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="70A1576F-63B6-4659-9E39-25C7B769DDE5"
|
||
|
AboutUrl="http://dotnet.github.io/"
|
||
|
Compressed="yes">
|
||
|
|
||
|
<BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.Foundation">
|
||
|
<bal:WixStandardBootstrapperApplication
|
||
|
LicenseFile="..\osx\resources\en.lproj\eula.rtf"
|
||
|
ShowFilesInUse="yes"
|
||
|
ShowVersion="yes"
|
||
|
/>
|
||
|
|
||
|
<PayloadGroupRef Id="DotnetCoreBAPayloads" />
|
||
|
</BootstrapperApplicationRef>
|
||
|
|
||
|
<swid:Tag Regid="microsoft.com" InstallPath="[DOTNETHOME]" />
|
||
|
|
||
|
<Variable Name="BuildType" Value="$(var.BuildType)" />
|
||
|
<Variable Name="DisplayVersion" Value="$(var.DisplayVersion)" />
|
||
|
<Variable Name="ReleaseSuffix" Value="$(var.ReleaseSuffix)" />
|
||
|
|
||
|
<Variable Name="DOTNETHOME" Type="string" Value="[ProgramFiles6432Folder]dotnet" bal:Overridable="yes" />
|
||
|
|
||
|
<util:RegistrySearch Id="PreviousInstallFolderSearch" Root="HKLM" Key="SOFTWARE\dotnet\Setup" Value="InstallDir" Variable="PreviousInstallFolder" />
|
||
|
<util:DirectorySearch Path="[PreviousInstallFolder]" Variable="DOTNETHOME" After="PreviousInstallFolderSearch" Condition="PreviousInstallFolder" />
|
||
|
|
||
|
<Chain DisableSystemRestore="yes" ParallelCache="yes">
|
||
|
<MsiPackage SourceFile="$(var.MsiSourcePath)">
|
||
|
<MsiProperty Name="DOTNETHOME" Value="[DOTNETHOME]" />
|
||
|
</MsiPackage>
|
||
|
</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\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>
|