Apple Silicon Distribution-Template (#10223)
Add hostArchitectures attribute to stop installer from requiring Rosetta Update the minimum required version to 11.0 for Apple Silicon
This commit is contained in:
parent
4f02edc80b
commit
c1eb61ac81
2 changed files with 10 additions and 2 deletions
|
@ -88,6 +88,14 @@
|
|||
<DistributionTemplateReplacement Include="{arch}">
|
||||
<ReplacementString>$(Architecture)</ReplacementString>
|
||||
</DistributionTemplateReplacement>
|
||||
<DistributionTemplateReplacement Include="{hostArchitectures}">
|
||||
<ReplacementString>$(Architecture)</ReplacementString>
|
||||
<ReplacementString Condition="'$(Architecture)' == 'x64'" >x86_64</ReplacementString>
|
||||
</DistributionTemplateReplacement>
|
||||
<DistributionTemplateReplacement Include="{minOsVersion}">
|
||||
<ReplacementString>10.13</ReplacementString>
|
||||
<ReplacementString Condition="'$(Architecture)' == 'arm64'" >11.0</ReplacementString>
|
||||
</DistributionTemplateReplacement>
|
||||
|
||||
<PostInstallScriptReplacement Include="%SDK_VERSION%">
|
||||
<ReplacementString>$(Version)</ReplacementString>
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
<installer-gui-script minSpecVersion="1">
|
||||
<title>{CLISdkBrandName} ({arch})</title>
|
||||
<background file="dotnetbackground.png" mime-type="image/png"/>
|
||||
<options customize="never" require-scripts="false" />
|
||||
<options customize="never" require-scripts="false" hostArchitectures="{hostArchitectures}" />
|
||||
<welcome file="welcome.html" mime-type="text/html" />
|
||||
<conclusion file="conclusion.html" mime-type="text/html" />
|
||||
<volume-check>
|
||||
<allowed-os-versions>
|
||||
<os-version min="10.13" />
|
||||
<os-version min="{minOsVersion}" />
|
||||
</allowed-os-versions>
|
||||
</volume-check>
|
||||
<choices-outline>
|
||||
|
|
Loading…
Reference in a new issue