|
| 1 | +<?xml version="1.0" encoding="utf-8"?> |
| 2 | +<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> |
| 3 | + <Product Id="*" Language="1033" Manufacturer="swift.org" Name="Swift Runtime for Windows aarch64" UpgradeCode="bea8c6dc-f73e-445b-9486-2333d1cf2886" Version="$(var.ProductVersion)"> |
| 4 | + <Package Comments="Copyright (c) 2021-2022 Swift Open Source Project" Compressed="yes" Description="Swift Runtime for Windows aarch64" InstallScope="perMachine" Manufacturer="swift.org" /> |
| 5 | + |
| 6 | + <Media Id="1" Cabinet="runtime.cab" EmbedCab="yes" /> |
| 7 | + <?ifdef INCLUDE_DEBUG_INFO ?> |
| 8 | + <Media Id="2" Cabinet="PDBs.cab" EmbedCab="yes" /> |
| 9 | + <?endif?> |
| 10 | + |
| 11 | + <!-- Directory Structure --> |
| 12 | + <Directory Id="TARGETDIR" Name="SourceDir"> |
| 13 | + <Directory Id="INSTALLDIR"> |
| 14 | + <!-- TODO(compnerd) use $(var.ProductVersion) --> |
| 15 | + <Directory Id="_" Name="runtime-development"> |
| 16 | + <Directory Id="_usr" Name="usr"> |
| 17 | + <Directory Id="_usr_bin" Name="bin"> |
| 18 | + </Directory> |
| 19 | + </Directory> |
| 20 | + </Directory> |
| 21 | + </Directory> |
| 22 | + </Directory> |
| 23 | + |
| 24 | + <SetDirectory Id="INSTALLDIR" Value="[ProgramFiles64Folder]swift"> |
| 25 | + NOT INSTALLDIR |
| 26 | + </SetDirectory> |
| 27 | + |
| 28 | + <!-- Components --> |
| 29 | + <ComponentGroup Id="SwiftRuntime" Directory="_usr_bin"> |
| 30 | + <Component Id="BlocksRuntime.dll" Guid="5040be00-a175-4813-81d4-ef77a4c7a01c"> |
| 31 | + <File Id="BlocksRuntime.dll" Source="$(var.SDK_ROOT)\usr\bin\BlocksRuntime.dll" Checksum="yes" /> |
| 32 | + </Component> |
| 33 | + <Component Id="dispatch.dll" Guid="48d9a273-cf10-46aa-a902-f32abce68198"> |
| 34 | + <File Id="dispatch.dll" Source="$(var.SDK_ROOT)\usr\bin\dispatch.dll" Checksum="yes" /> |
| 35 | + </Component> |
| 36 | + <Component Id="Foundation.dll" Guid="91eab4aa-865d-41e3-ac7c-9153aec3e271"> |
| 37 | + <File Id="Foundation.dll" Source="$(var.SDK_ROOT)\usr\bin\Foundation.dll" Checksum="yes" /> |
| 38 | + </Component> |
| 39 | + <Component Id="FoundationNetworking.dll" Guid="efa0addb-a974-4adf-b452-ec0a0f278e44"> |
| 40 | + <File Id="FoundationNetworking.dll" Source="$(var.SDK_ROOT)\usr\bin\FoundationNetworking.dll" Checksum="yes" /> |
| 41 | + </Component> |
| 42 | + <Component Id="FoundationXML.dll" Guid="959fd680-b5b7-4c1d-bdd2-6c019a611874"> |
| 43 | + <File Id="FoundationXML.dll" Source="$(var.SDK_ROOT)\usr\bin\FoundationXML.dll" Checksum="yes" /> |
| 44 | + </Component> |
| 45 | + <Component Id="swift_Concurrency.dll" Guid="67373728-5a66-401f-b62d-dc7ced8b87e8"> |
| 46 | + <File Id="swift_Concurrency.dll" Source="$(var.SDK_ROOT)\usr\bin\swift_Concurrency.dll" Checksum="yes" /> |
| 47 | + </Component> |
| 48 | + <Component Id="swift_Differentiation.dll" Guid="ba696988-87b4-41da-aaea-949602e86758"> |
| 49 | + <File Id="swift_Differentiation.dll" Source="$(var.SDK_ROOT)\usr\bin\swift_Differentiation.dll" Checksum="yes" /> |
| 50 | + </Component> |
| 51 | + <Component Id="swiftDistributed.dll" Guid="8cc487d0-0fb7-45c1-a900-50ba929f6711"> |
| 52 | + <File Id="swiftDistributed.dll" Source="$(var.SDK_ROOT)\usr\bin\swiftDistributed.dll" Checksum="yes" /> |
| 53 | + </Component> |
| 54 | + <Component Id="swift_RegexParser.dll" Guid="20f67580-0116-4e77-8670-65fec75abacb"> |
| 55 | + <File Id="swift_RegexParser.dll" Source="$(var.SDK_ROOT)\usr\bin\swift_RegexParser.dll" Checksum="yes" /> |
| 56 | + </Component> |
| 57 | + <Component Id="swift_StringProcessing.dll" Guid="0e0dc47f-1e80-4ed1-8ee9-7de8139086ed"> |
| 58 | + <File Id="swift_StringProcessing.dll" Source="$(var.SDK_ROOT)\usr\bin\swift_StringProcessing.dll" Checksum="yes" /> |
| 59 | + </Component> |
| 60 | + <Component Id="swiftCore.dll" Guid="b11c37b0-b6ad-4e55-b4e7-0517ff7a161f"> |
| 61 | + <File Id="swiftCore.dll" Source="$(var.SDK_ROOT)\usr\bin\swiftCore.dll" Checksum="yes" /> |
| 62 | + </Component> |
| 63 | + <Component Id="swiftDispatch.dll" Guid="ce50982a-4bb3-43fc-a5ce-9fc709143b47"> |
| 64 | + <File Id="swiftDispatch.dll" Source="$(var.SDK_ROOT)\usr\bin\swiftDispatch.dll" Checksum="yes" /> |
| 65 | + </Component> |
| 66 | + <!-- |
| 67 | + <Component Id="swiftDemangle.dll" Guid="160fec66-5211-45e8-aaed-6e5d7c7608f3"> |
| 68 | + <File Id="swiftDemangle.dll" Source="$(var.SDK_ROOT)\bin\swiftDemangle.dll" Checksum="yes" /> |
| 69 | + </Component> |
| 70 | + --> |
| 71 | + <Component Id="swiftCRT.dll" Guid="8588d340-2466-4c38-a22e-ed4bb89cdf25"> |
| 72 | + <File Id="swiftCRT.dll" Source="$(var.SDK_ROOT)\usr\bin\swiftCRT.dll" Checksum="yes" /> |
| 73 | + </Component> |
| 74 | + <Component Id="swiftRemoteMirror.dll" Guid="a9e05463-5af6-41ad-8a31-01da624d3b7a"> |
| 75 | + <File Id="swiftRemoteMirror.dll" Source="$(var.SDK_ROOT)\usr\bin\swiftRemoteMirror.dll" Checksum="yes" /> |
| 76 | + </Component> |
| 77 | + <Component Id="swiftSwiftOnoneSupport.dll" Guid="771925a8-e5fd-4dc9-92d0-d6952c15c181"> |
| 78 | + <File Id="swiftSwiftOnoneSupport.dll" Source="$(var.SDK_ROOT)\usr\bin\swiftSwiftOnoneSupport.dll" Checksum="yes" /> |
| 79 | + </Component> |
| 80 | + <Component Id="swiftWinSDK.dll" Guid="78df14d6-2f0d-4ee1-ad1e-f0c0521565e0"> |
| 81 | + <File Id="swiftWinSDK.dll" Source="$(var.SDK_ROOT)\usr\bin\swiftWinSDK.dll" Checksum="yes" /> |
| 82 | + </Component> |
| 83 | + </ComponentGroup> |
| 84 | + |
| 85 | + <ComponentGroup Id="SwiftUtilities" Directory="_usr_bin"> |
| 86 | + <Component Id="plutil.exe" Guid="b96bf921-fbad-4d1b-9559-38707605de06"> |
| 87 | + <File Id="plutil.exe" Source="$(var.SDK_ROOT)\usr\bin\plutil.exe" Checksum="yes" /> |
| 88 | + </Component> |
| 89 | + </ComponentGroup> |
| 90 | + |
| 91 | + <?ifdef INCLUDE_DEBUG_INFO ?> |
| 92 | + <ComponentGroup Id="SwiftRuntimeDebugInfo"> |
| 93 | + <Component Id="BlocksRuntime.pdb" Guid="78e0a44c-7d34-4e87-962c-4bcc23f07a38"> |
| 94 | + <File Id="BlocksRuntime.pdb" Source="$(var.SDK_ROOT)\usr\bin\BlocksRuntime.pdb" Checksum="yes" DiskId="2" /> |
| 95 | + </Component> |
| 96 | + <Component Id="dispatch.pdb" Guid="bc475b8b-81e4-48d4-a73d-ddb2ca47662e"> |
| 97 | + <File Id="dispatch.pdb" Source="$(var.SDK_ROOT)\usr\bin\dispatch.pdb" Checksum="yes" DiskId="2" /> |
| 98 | + </Component> |
| 99 | + <Component Id="Foundation.pdb" Guid="16f10b41-575a-4d75-a77d-4d7dbc9c6504"> |
| 100 | + <File Id="Foundation.pdb" Source="$(var.SDK_ROOT)\usr\bin\Foundation.pdb" Checksum="yes" DiskId="2" /> |
| 101 | + </Component> |
| 102 | + <Component Id="FoundationNetworking.pdb" Guid="e2f4bc80-b6e8-4589-9fd4-cc1d58011f43"> |
| 103 | + <File Id="FoundationNetworking.pdb" Source="$(var.SDK_ROOT)\usr\bin\FoundationNetworking.pdb" Checksum="yes" DiskId="2" /> |
| 104 | + </Component> |
| 105 | + <Component Id="FoundationXML.pdb" Guid="3c442778-665e-4060-88db-31af4b4255ba"> |
| 106 | + <File Id="FoundationXML.pdb" Source="$(var.SDK_ROOT)\usr\bin\FoundationXML.pdb" Checksum="yes" DiskId="2" /> |
| 107 | + </Component> |
| 108 | + <Component Id="swift_Concurrency.pdb" Guid="6a14736b-be12-4618-bded-aa56a79003c3"> |
| 109 | + <File Id="swift_Concurrency.pdb" Source="$(var.SDK_ROOT)\usr\bin\swift_Concurrency.pdb" Checksum="yes" DiskId="2" /> |
| 110 | + </Component> |
| 111 | + <Component Id="swift_Differentiation.pdb" Guid="8c274a2a-2d55-4007-8141-3952b85a4de0"> |
| 112 | + <File Id="swift_Differentiation.pdb" Source="$(var.SDK_ROOT)\usr\bin\swift_Differentiation.pdb" Checksum="yes" DiskId="2" /> |
| 113 | + </Component> |
| 114 | + <Component Id="swiftDistributed.pdb" Guid="47bd82d8-3949-4b3e-830a-fa3ec8f61672"> |
| 115 | + <File Id="swiftDistributed.pdb" Source="$(var.SDK_ROOT)\usr\bin\swiftDistributed.pdb" Checksum="yes" DiskId="2" /> |
| 116 | + </Component> |
| 117 | + <Component Id="swift_RegexParser.pdb" Guid="0575b1c6-fa5e-4db8-ac05-2a048054d9c6"> |
| 118 | + <File Id="swift_RegexParser.pdb" Source="$(var.SDK_ROOT)\usr\bin\swift_RegexParser.pdb" Checksum="yes" DiskId="2" /> |
| 119 | + </Component> |
| 120 | + <Component Id="swift_StringProcessing.pdb" Guid="6fd2d711-4452-4aca-91c0-34e240bcc2d0"> |
| 121 | + <File Id="swift_StringProcessing.pdb" Source="$(var.SDK_ROOT)\usr\bin\swift_StringProcessing.pdb" Checksum="yes" DiskId="2" /> |
| 122 | + </Component> |
| 123 | + <Component Id="swiftCore.pdb" Guid="ba858ada-58f6-499d-a9f3-fdad7e858e15"> |
| 124 | + <File Id="swiftCore.pdb" Source="$(var.SDK_ROOT)\usr\bin\swiftCore.pdb" Checksum="yes" DiskId="2" /> |
| 125 | + </Component> |
| 126 | + <Component Id="swiftDispatch.pdb" Guid="3a9c9745-99bb-42c8-9a6d-1da25c0365e0"> |
| 127 | + <File Id="swiftDispatch.pdb" Source="$(var.SDK_ROOT)\usr\bin\swiftDispatch.pdb" Checksum="yes" DiskId="2" /> |
| 128 | + </Component> |
| 129 | + <!-- |
| 130 | + <Component Id="swiftDemangle.pdb" Guid="01d707b8-4ce3-4fb7-a694-a71d56b0d779"> |
| 131 | + <File Id="swiftDemangle.pdb" Source="$(var.SDK_ROOT)\bin\swiftDemangle.pdb" Checksum="yes" DiskId="2" /> |
| 132 | + </Component> |
| 133 | + --> |
| 134 | + <Component Id="swiftCRT.pdb" Guid="3295a0ed-3e2b-4c5e-9cc6-8e99d3acc50c"> |
| 135 | + <File Id="swiftCRT.pdb" Source="$(var.SDK_ROOT)\usr\bin\swiftCRT.pdb" Checksum="yes" DiskId="2" /> |
| 136 | + </Component> |
| 137 | + <Component Id="swiftRemoteMirror.pdb" Guid="9993ed62-00d1-4f44-bda1-c9b9a9df60d2"> |
| 138 | + <File Id="swiftRemoteMirror.pdb" Source="$(var.SDK_ROOT)\usr\bin\swiftRemoteMirror.pdb" Checksum="yes" DiskId="2" /> |
| 139 | + </Component> |
| 140 | + <Component Id="swiftSwiftOnoneSupport.pdb" Guid="cb55867e-8bff-4961-b064-199b91a9e134"> |
| 141 | + <File Id="swiftSwiftOnoneSupport.pdb" Source="$(var.SDK_ROOT)\usr\bin\swiftSwiftOnoneSupport.pdb" Checksum="yes" DiskId="2" /> |
| 142 | + </Component> |
| 143 | + <Component Id="swiftWinSDK.pdb" Guid="15661f62-a003-41eb-ba01-4999ce9540cb"> |
| 144 | + <File Id="swiftWinSDK.pdb" Source="$(var.SDK_ROOT)\usr\bin\swiftWinSDK.pdb" Checksum="yes" DiskId="2" /> |
| 145 | + </Component> |
| 146 | + </ComponentGroup> |
| 147 | + |
| 148 | + <ComponentGroup Id="SwiftUtilitiesDebugInfo"> |
| 149 | + <Component Id="plutil.pdb" Guid="e882f817-4ede-4720-85d6-ff54d5ca1f75"> |
| 150 | + <File Id="plutil.pdb" Source="$(var.SDK_ROOT)\usr\bin\plutil.pdb" Checksum="yes" DiskId="2" /> |
| 151 | + </Component> |
| 152 | + </ComponentGroup> |
| 153 | + <?endif?> |
| 154 | + |
| 155 | + <DirectoryRef Id="TARGETDIR"> |
| 156 | + <Component Id="EnvironmentVariables" Guid="8681d813-eb32-46f9-8b1c-f622b38b5eaf"> |
| 157 | + <Environment Id="Path" Action="set" Name="Path" Part="last" Permanent="no" System="yes" Value="[INSTALLDIR]runtime-development\usr\bin" /> |
| 158 | + </Component> |
| 159 | + </DirectoryRef> |
| 160 | + |
| 161 | + <!-- Feature --> |
| 162 | + <Feature Id="WinARM64SwiftRuntime" Absent="disallow" AllowAdvertise="yes" ConfigurableDirectory="INSTALLDIR" Description="Swift Runtime for Windows aarch64" Level="1" Title="Swift Runtime for Windows aarch64"> |
| 163 | + <ComponentGroupRef Id="SwiftRuntime" /> |
| 164 | + <ComponentRef Id="EnvironmentVariables" /> |
| 165 | + |
| 166 | + <?ifdef INCLUDE_DEBUG_INFO ?> |
| 167 | + <Feature Id="DebugInfo" Absent="allow" AllowAdvertise="yes" Description="Debug Information for Swift Runtime for Windows aarch64" Level="0" Title="Debug Information"> |
| 168 | + <Condition Level="1">INSTALL_DEBUGINFO</Condition> |
| 169 | + <ComponentGroupRef Id="SwiftRuntimeDebugInfo" /> |
| 170 | + </Feature> |
| 171 | + <?endif?> |
| 172 | + </Feature> |
| 173 | + |
| 174 | + <Feature Id="WinARM64SwiftUtilities" Absent="allow" AllowAdvertise="yes" Description="Extra Swift Utilities for Windows aarch64" Level="1" Title="Swift Utilities for Windows aarch64"> |
| 175 | + <ComponentGroupRef Id="SwiftUtilities" /> |
| 176 | + |
| 177 | + <?ifdef INCLUDE_DEBUG_INFO ?> |
| 178 | + <Feature Id="DebugInfo" Absent="allow" AllowAdvertise="yes" Description="Debug Information for Swift Utilties for Windows aarch64" Level="0" Title="Debug Information"> |
| 179 | + <Condition Level="1">INSTALL_DEBUGINFO</Condition> |
| 180 | + <ComponentRef Id="SwiftUtilitiesDebugInfo" /> |
| 181 | + </Feature> |
| 182 | + <?endif?> |
| 183 | + </Feature> |
| 184 | + |
| 185 | + <!-- UI --> |
| 186 | + <UI /> |
| 187 | + </Product> |
| 188 | +</Wix> |
0 commit comments