2016-01-28 09:46:03 +00:00
|
|
|
<?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" ?>
|
2016-03-18 21:39:40 +00:00
|
|
|
<?include "..\inc\crtvariables.wxi" ?>
|
2016-01-28 09:46:03 +00:00
|
|
|
|
|
|
|
<Bundle Name="$(var.ProductName)" Manufacturer="$(var.Manufacturer)"
|
2016-03-25 01:05:14 +00:00
|
|
|
Version="$(var.DisplayVersion)" UpgradeCode="$(var.UpgradeCode)"
|
2016-01-28 09:46:03 +00:00
|
|
|
AboutUrl="http://dotnet.github.io/"
|
|
|
|
Compressed="yes">
|
|
|
|
|
|
|
|
<BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.Foundation">
|
|
|
|
<bal:WixStandardBootstrapperApplication
|
2016-03-25 19:50:37 +00:00
|
|
|
LicenseFile="..\..\osx\clisdk\resources\en.lproj\eula.rtf"
|
2016-01-28 09:46:03 +00:00
|
|
|
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="yes" />
|
2016-04-27 01:00:02 +00:00
|
|
|
<Variable Name="BUNDLEMONIKER" Type="string" Value="$(var.ProductMoniker)" bal:Overridable="yes" />
|
2016-01-28 09:46:03 +00:00
|
|
|
|
|
|
|
<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">
|
2016-03-18 21:39:40 +00:00
|
|
|
<ExePackage Name="VC_redist.$(var.Platform).exe"
|
|
|
|
DownloadUrl="$(var.Crt_DownloadUrl)"
|
|
|
|
DetectCondition='(VCRedist_KeyExists AND VCRedist_KeyValue >= "v14.0.23506.00")'
|
|
|
|
InstallCommand="/q /norestart"
|
|
|
|
PerMachine="yes"
|
|
|
|
Vital="yes"
|
|
|
|
Permanent="yes"
|
|
|
|
Compressed="no">
|
|
|
|
<RemotePayload CertificatePublicKey="$(var.Crt_CertificatePublicKey)"
|
|
|
|
CertificateThumbprint="$(var.Crt_CertificateThumbprint)"
|
|
|
|
Description="$(var.Crt_Description)"
|
|
|
|
Hash="$(var.Crt_Hash)"
|
|
|
|
ProductName="$(var.Crt_ProductName)"
|
|
|
|
Size="$(var.Crt_Size)"
|
|
|
|
Version="$(var.Crt_Version)" />
|
|
|
|
</ExePackage>
|
2016-03-15 01:54:45 +00:00
|
|
|
<MsiPackage SourceFile="$(var.CLISDKMsiSourcePath)">
|
|
|
|
<MsiProperty Name="DOTNETHOME" Value="[DOTNETHOME]" />
|
|
|
|
</MsiPackage>
|
|
|
|
<MsiPackage SourceFile="$(var.SharedFXMsiSourcePath)">
|
|
|
|
<MsiProperty Name="DOTNETHOME" Value="[DOTNETHOME]" />
|
|
|
|
</MsiPackage>
|
|
|
|
<MsiPackage SourceFile="$(var.SharedHostMsiSourcePath)">
|
2016-01-28 09:46:03 +00:00
|
|
|
<MsiProperty Name="DOTNETHOME" Value="[DOTNETHOME]" />
|
|
|
|
</MsiPackage>
|
|
|
|
</Chain>
|
|
|
|
</Bundle>
|
|
|
|
|
|
|
|
<Fragment>
|
2016-03-18 21:39:40 +00:00
|
|
|
<util:RegistrySearch
|
|
|
|
Id="VCRedist_KeyExists"
|
|
|
|
Variable="VCRedist_KeyExists"
|
|
|
|
Root="HKLM"
|
|
|
|
Key="SOFTWARE\Microsoft\VisualStudio\14.0\VC\Runtimes\$(var.Platform)"
|
|
|
|
Value="Version"
|
|
|
|
Win64="no"
|
|
|
|
Result="exists" />
|
|
|
|
<util:RegistrySearch
|
|
|
|
Id="VCRedist_KeyValue"
|
|
|
|
Variable="VCRedist_KeyValue"
|
|
|
|
Root="HKLM"
|
|
|
|
Key="SOFTWARE\Microsoft\VisualStudio\14.0\VC\Runtimes\$(var.Platform)"
|
|
|
|
Value="Version"
|
|
|
|
Win64="no"
|
|
|
|
Result="value" />
|
|
|
|
|
2016-01-28 09:46:03 +00:00
|
|
|
<PayloadGroup Id="DotnetCoreBAPayloads">
|
|
|
|
<Payload Name="thm.xml" Compressed="yes" SourceFile="bundle.thm" />
|
|
|
|
<Payload Name="thm.wxl" Compressed="yes" SourceFile="bundle.wxl" />
|
2016-03-25 19:50:37 +00:00
|
|
|
<Payload Name="bg.png" Compressed="yes" SourceFile="..\..\osx\clisdk\resources\dotnetbackground.png" />
|
2016-01-28 09:46:03 +00:00
|
|
|
|
|
|
|
<Payload Name='eula.rtf' Compressed='yes' SourceFile='!(wix.WixStdbaLicenseRtf)' />
|
|
|
|
</PayloadGroup>
|
|
|
|
|
|
|
|
<CustomTable Id='WixStdbaInformation'>
|
|
|
|
<Row>
|
|
|
|
<Data Column='LicenseFile'>eula.rtf</Data>
|
|
|
|
</Row>
|
|
|
|
</CustomTable>
|
|
|
|
</Fragment>
|
|
|
|
|
|
|
|
</Wix>
|