|
2 | 2 | <Package
|
3 | 3 | Language="1033"
|
4 | 4 | Manufacturer="nicklockwood"
|
5 |
| - Name="SwiftFormat for Windows x86_64" |
| 5 | + Name="SwiftFormat" |
6 | 6 | UpgradeCode="98e01ac8-a17d-43fd-99ed-1cd8b58715bf"
|
7 | 7 | Version="$(var.ProductVersion)"
|
8 | 8 | Scope="perMachine">
|
9 |
| - <SummaryInformation Description="SwiftFormat for Windows x86_64" /> |
| 9 | + <SummaryInformation Description="SwiftFormat" /> |
10 | 10 |
|
11 | 11 | <!-- NOTE(compnerd) use pre-3.0 schema for better compatibility. -->
|
12 | 12 | <Media Id="1" Cabinet="SwiftFormat.cab" EmbedCab="yes" />
|
13 | 13 |
|
14 |
| - <!-- Directory Structure --> |
15 | 14 | <!-- WindowsVolume is not a StandardDirectory value, but rather a standard property. See https://github.com/wixtoolset/issues/issues/7314 -->
|
16 | 15 | <SetDirectory Id="WINDOWSVOLUME" Value="[WindowsVolume]" />
|
| 16 | + |
17 | 17 | <Directory ComponentGuidGenerationSeed="7818d7fe-5173-4a41-9809-e72263ea9738" Id="WINDOWSVOLUME">
|
18 | 18 | <Directory Id="INSTALLDIR">
|
19 | 19 | <Directory Id="Library" Name="Library">
|
20 | 20 | <Directory Id="Developer" Name="Developer">
|
21 | 21 | <Directory Id="Tools" Name="Tools">
|
| 22 | + <Component Id="swiftformat.exe"> |
| 23 | + <File Id="swiftformat.exe" Source="$(var.SWIFTFORMAT_BUILD)\swiftformat.exe" Checksum="yes" /> |
| 24 | + </Component> |
22 | 25 | </Directory>
|
23 | 26 | </Directory>
|
24 | 27 | </Directory>
|
| 28 | + |
| 29 | + <Component Id="EnvironmentVariables" Guid="b46687c3-f836-47e5-9b43-d9fd2552a731"> |
| 30 | + <Environment Id="Path" Action="set" Name="Path" Part="last" Permanent="no" System="yes" Value="[INSTALLDIR]Library\Developer\Tools" /> |
| 31 | + </Component> |
25 | 32 | </Directory>
|
26 | 33 | </Directory>
|
27 | 34 |
|
28 |
| - <!-- Components --> |
29 |
| - <ComponentGroup Id="SwiftFormat"> |
30 |
| - <Component Id="swiftformat.exe" Directory="Tools" Guid="77126634-5f91-40a7-b344-035ce99ef46f"> |
31 |
| - <File Id="swiftformat.exe" Source="$(var.SWIFTFORMAT_BUILD)\swiftformat.exe" Checksum="yes" /> |
32 |
| - </Component> |
33 |
| - </ComponentGroup> |
34 |
| - |
35 |
| - <Component Id="EnvironmentVariables" Directory="INSTALLDIR" Guid="b46687c3-f836-47e5-9b43-d9fd2552a731"> |
36 |
| - <Environment Id="Path" Action="set" Name="Path" Part="last" Permanent="no" System="yes" Value="[INSTALLDIR]Library\Developer\Tools" /> |
37 |
| - </Component> |
38 |
| - |
39 |
| - <Feature Id="SwiftFormat" AllowAbsent="no" AllowAdvertise="yes" ConfigurableDirectory="INSTALLDIR" Description="SwiftFormat for Windows x86_64" Level="1" Title="SwiftFormat (Windows x86_64)"> |
40 |
| - <ComponentGroupRef Id="SwiftFormat" /> |
| 35 | + <Feature Id="SwiftFormat" AllowAbsent="no" AllowAdvertise="yes" ConfigurableDirectory="INSTALLDIR" Description="SwiftFormat" Level="1" Title="SwiftFormat"> |
| 36 | + <ComponentRef Id="swiftformat.exe" /> |
41 | 37 | <ComponentRef Id="EnvironmentVariables" />
|
42 | 38 | </Feature>
|
43 | 39 |
|
|
0 commit comments