|
2 | 2 | <Package |
3 | 3 | Language="1033" |
4 | 4 | Manufacturer="swift.org" |
5 | | - Name="Swift Code Formatter for Windows aarch64" |
| 5 | + Name="Swift Code Formatter" |
6 | 6 | UpgradeCode="45f1ae7a-4d90-414d-80b3-a5a45898b212" |
7 | 7 | Version="$(var.ProductVersion)" |
8 | 8 | Scope="perMachine"> |
9 | | - <SummaryInformation Description="Swift Code Formatter for Windows aarch64" /> |
| 9 | + <SummaryInformation Description="Swift Code Formatter" /> |
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="ab1b7ca9-b240-44c7-be8b-3cf1e34ad747" 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="swift_format.exe"> |
| 23 | + <File Id="swift_format.exe" Source="$(var.SWIFT_FORMAT_BUILD)\swift-format.exe" Checksum="yes" /> |
| 24 | + </Component> |
22 | 25 | </Directory> |
23 | 26 | </Directory> |
24 | 27 | </Directory> |
| 28 | + |
| 29 | + <Component Id="EnvironmentVariables" Guid="c1a01e55-3353-4eca-8b58-9960e57a3758"> |
| 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="swift_format.exe" Directory="Tools" Guid="1e6c84e1-6cf4-4e34-90f6-eb76c278f7e2"> |
31 | | - <File Id="swift_format.exe" Source="$(var.SWIFT_FORMAT_BUILD)\swift-format.exe" Checksum="yes" /> |
32 | | - </Component> |
33 | | - </ComponentGroup> |
34 | | - |
35 | | - <Component Id="EnvironmentVariables" Directory="INSTALLDIR" Guid="c1a01e55-3353-4eca-8b58-9960e57a3758"> |
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="Swift Code Formatter for Windows aarch64" Level="1" Title="Swift Code Formatter (Windows aarch64)"> |
40 | | - <ComponentGroupRef Id="SwiftFormat" /> |
| 35 | + <Feature Id="SwiftFormat" AllowAbsent="no" AllowAdvertise="yes" ConfigurableDirectory="INSTALLDIR" Description="Swift Code Formatter" Level="1" Title="Swift Code Formatter"> |
| 36 | + <ComponentRef Id="swift_format.exe" /> |
41 | 37 | <ComponentRef Id="EnvironmentVariables" /> |
42 | 38 | </Feature> |
43 | 39 |
|
|
49 | 45 | <Property Id="WIXUI_INSTALLDIR" Value="INSTALLDIR"></Property> |
50 | 46 | <WixVariable Id="WixUIDialogBmp" Value="Resources\swift_dialog.png" /> |
51 | 47 | <WixVariable Id="WixUIBannerBmp" Value="Resources\swift_banner.png" /> |
52 | | - |
53 | 48 | </Package> |
54 | 49 | </Wix> |
0 commit comments