|
| 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 ICU for Windows aarch64" UpgradeCode="de2a9bb6-fee3-419e-abdb-34c69a13d2c7" Version="$(var.ProductVersion)"> |
| 4 | + <Package Comments="Copyright (c) 2021-2022 Swift Open Source Project" Compressed="yes" Description="Swift ICU for Windows aarch64" InstallScope="perMachine" Manufacturer="swift.org" /> |
| 5 | + |
| 6 | + <Media Id="1" Cabinet="icu.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 | + <Directory Id="_" Name="icu-$(var.ProductVersion)"> |
| 15 | + <Directory Id="_usr" Name="usr"> |
| 16 | + <Directory Id="_usr_bin" Name="bin"> |
| 17 | + </Directory> |
| 18 | + </Directory> |
| 19 | + </Directory> |
| 20 | + </Directory> |
| 21 | + </Directory> |
| 22 | + |
| 23 | + <SetDirectory Id="INSTALLDIR" Value="[ProgramFiles64Folder]swift"> |
| 24 | + NOT INSTALLDIR |
| 25 | + </SetDirectory> |
| 26 | + |
| 27 | + <!-- Components --> |
| 28 | + <ComponentGroup Id="ICU" Directory="_usr_bin"> |
| 29 | + <Component Id="icudt.dll" Guid="ec9241e1-4492-4160-abe9-31d6d13f63c8"> |
| 30 | + <File Id="icudt.dll" Source="$(var.ICU_ROOT)\Library\icu-$(var.ProductVersion)\usr\bin\icudt$(var.ProductVersionMajor).dll" Checksum="yes" /> |
| 31 | + </Component> |
| 32 | + <Component Id="icuin.dll" Guid="ebf2c28c-3d62-4ce6-a53d-085053638e33"> |
| 33 | + <File Id="icuin.dll" Source="$(var.ICU_ROOT)\Library\icu-$(var.ProductVersion)\usr\bin\icuin$(var.ProductVersionMajor).dll" Checksum="yes" /> |
| 34 | + </Component> |
| 35 | + <Component Id="icuuc.dll" Guid="2e2f7f64-436d-431e-aed3-58624a78dd07"> |
| 36 | + <File Id="icuuc.dll" Source="$(var.ICU_ROOT)\Library\icu-$(var.ProductVersion)\usr\bin\icuuc$(var.ProductVersionMajor).dll" Checksum="yes" /> |
| 37 | + </Component> |
| 38 | + </ComponentGroup> |
| 39 | + |
| 40 | + <?ifdef INCLUDE_DEBUG_INFO ?> |
| 41 | + <ComponentGroup Id="ICUDebugInfo" Directory="_usr_bin"> |
| 42 | + <Component Id="icuin.pdb" Guid="b5a2eb8a-680a-4083-bb55-3a0edd653172"> |
| 43 | + <File Id="icuin.pdb" Source="$(var.ICU_ROOT)\Library\icu-$(var.ProductVersion)\usr\bin\icuin$(var.ProductVersionMajor).pdb" Checksum="yes" DiskId="2" /> |
| 44 | + </Component> |
| 45 | + <Component Id="icuuc.pdb" Guid="268f08a1-b49a-4f17-8f38-b16dc9284be9"> |
| 46 | + <File Id="icuuc.pdb" Source="$(var.ICU_ROOT)\Library\icu-$(var.ProductVersion)\usr\bin\icuuc$(var.ProductVersionMajor).pdb" Checksum="yes" DiskId="2" /> |
| 47 | + </Component> |
| 48 | + </ComponentGroup> |
| 49 | + <?endif ?> |
| 50 | + |
| 51 | + <DirectoryRef Id="TARGETDIR"> |
| 52 | + <Component Id="EnvironmentVariables" Guid="8e71a8e8-e44f-4575-ab00-dcc9b697511f"> |
| 53 | + <Environment Id="Path" Action="set" Name="Path" Part="last" Permanent="no" System="yes" Value="[INSTALLDIR]icu-$(var.ProductVersion)\usr\bin" /> |
| 54 | + </Component> |
| 55 | + </DirectoryRef> |
| 56 | + |
| 57 | + <!-- Features --> |
| 58 | + <Feature Id="WinARM64ICU" Absent="disallow" AllowAdvertise="yes" ConfigurableDirectory="INSTALLDIR" Description="Swift ICU for Windows aarch64" Level="1" Title="Swift ICU for Windows aarch64"> |
| 59 | + <ComponentGroupRef Id="ICU" /> |
| 60 | + <ComponentRef Id="EnvironmentVariables" /> |
| 61 | + |
| 62 | + <?ifdef INCLUDE_DEBUG_INFO ?> |
| 63 | + <Feature Id="DebugInfo" Absent="allow" AllowAdvertise="yes" Description="Debug Information for Swift ICU for Windows aarch64" Level="0" Title="Debug Information"> |
| 64 | + <Condition Level="1">INSTALL_DEBUGINFO</Condition> |
| 65 | + <ComponentGroupRef Id="ICUDebugInfo" /> |
| 66 | + </Feature> |
| 67 | + <?endif ?> |
| 68 | + </Feature> |
| 69 | + |
| 70 | + <!-- UI --> |
| 71 | + <UI /> |
| 72 | + </Product> |
| 73 | +</Wix> |
0 commit comments