|
1 | 1 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:ui="http://wixtoolset.org/schemas/v4/wxs/ui"> |
| 2 | + <?include version.wxs?> |
2 | 3 | <Package |
3 | 4 | Language="1033" |
4 | 5 | Manufacturer="swift.org" |
|
26 | 27 | <Directory Id="Library" Name="Library"> |
27 | 28 | <Directory Id="Developer" Name="Developer"> |
28 | 29 | <Directory Id="Toolchains" Name="Toolchains"> |
29 | | - <!-- TODO(compnerd): |
30 | | - This really should be |
31 | | - unknown-Asserts-$(var.ProductVersion).xctoolchain, |
32 | | - though before changing, we should setup a |
33 | | - `unknown-Asserts-current.xctoolchain` |
34 | | - symlink. Additionally, beware that the environment chagnes |
35 | | - below will need to be updated to reflect this change. Ideally, |
36 | | - we would have as part of this a tool to select the different |
37 | | - toolchain versions. |
38 | | - --> |
39 | | - <Directory Id="xctoolchain" Name="unknown-Asserts-development.xctoolchain"> |
| 30 | + <!-- TODO(compnerd) We should setup a `unknown-Asserts-current.xctoolchain` symlink --> |
| 31 | + <Directory Id="xctoolchain" Name="$(var.ToolchainName)"> |
40 | 32 | <Directory Id="_usr" Name="usr"> |
41 | 33 | <Directory Id="_usr_bin" Name="bin"> |
42 | 34 | </Directory> |
|
544 | 536 |
|
545 | 537 | <Component Id="EnvironmentVariables" Directory="INSTALLDIR" Guid="d01ea5b8-0f8a-4388-9b61-1186efddfc39"> |
546 | 538 | <Environment Id="DeveloperDir" Action="set" Name="DEVELOPER_DIR" Part="all" Permanent="no" System="yes" Value="[INSTALLDIR]Library\Developer" /> |
547 | | - <Environment Id="Path" Action="set" Name="Path" Part="last" Permanent="no" System="yes" Value="[INSTALLDIR]Library\Developer\Toolchains\unknown-Asserts-development.xctoolchain\usr\bin" /> |
| 539 | + <Environment Id="Path" Action="set" Name="Path" Part="last" Permanent="no" System="yes" Value="[INSTALLDIR]Library\Developer\Toolchains\$(var.ToolchainName)\usr\bin" /> |
548 | 540 | </Component> |
549 | 541 |
|
550 | 542 | <Feature Id="Toolchain" AllowAbsent="no" AllowAdvertise="yes" ConfigurableDirectory="INSTALLDIR" Description="Swift Toolchain for Windows aarch64" Level="1" Title="Swift Toolchain for Windows aarch64"> |
|
0 commit comments