|
1 | | -<?if $(sys.BUILDARCH) = x64 ?> |
2 | | - <?define OpenSSLSuffix = "-x64" ?> |
3 | | -<?else?> |
| 1 | +<?if $(sys.BUILDARCH) = x86 ?> |
4 | 2 | <?define OpenSSLSuffix = "" ?> |
| 3 | +<?else?> |
| 4 | + <?define OpenSSLSuffix = "-$(sys.BUILDARCH)" ?> |
5 | 5 | <?endif?> |
6 | 6 |
|
7 | 7 | <?if $(env.VisualStudioVersion) = "17.0" ?> |
|
18 | 18 |
|
19 | 19 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" |
20 | 20 | xmlns:ui="http://wixtoolset.org/schemas/v4/wxs/ui"> |
21 | | - <Package Name="Open-EID Updater" UpgradeCode="d3aa8bd7-e1e6-46d0-97a6-c9b87d2b830b" |
| 21 | + <Package Name="Open-EID Updater $(sys.BUILDARCH)" UpgradeCode="d3aa8bd7-e1e6-46d0-97a6-c9b87d2b830b" |
22 | 22 | Language="1033" Version="!(bind.FileVersion.id_updater.exe)" Codepage="1251" Manufacturer="RIA" InstallerVersion="500"> |
23 | 23 | <MediaTemplate EmbedCab="yes" CompressionLevel="high" /> |
24 | 24 | <Icon Id="appicon.ico" SourceFile="$(var.appicon)" /> |
|
35 | 35 | <File Id="id_updater.exe" Source="$(var.updater_path)" KeyPath="yes" /> |
36 | 36 | <RegistryValue Root="HKMU" Key="Software\[Manufacturer]\Open-EID" |
37 | 37 | Name="Installed" Value="[INSTALLFOLDER]" Type="string" /> |
38 | | -<?if $(sys.BUILDARCH) = x64 ?> |
| 38 | +<?if $(sys.BUILDARCH) != x86 ?> |
39 | 39 | <RegistryValue Root="HKMU" Key="Software\Wow6432Node\[Manufacturer]\Open-EID" |
40 | 40 | Name="Installed" Value="[INSTALLFOLDER]" Type="string" /> |
41 | 41 | <?endif?> |
|
55 | 55 | <File Name="Qt6PrintSupport$(var.qt_suffix).dll" /> |
56 | 56 | <File Name="Qt6Svg$(var.qt_suffix).dll" /> |
57 | 57 | <File Name="Qt6Widgets$(var.qt_suffix).dll" /> |
| 58 | + <File Name="Qt6SvgWidgets$(var.qt_suffix).dll" /> |
| 59 | +<?if $(sys.BUILDARCH) != arm64 ?> |
58 | 60 | <File Name="D3DCompiler_47.dll" /> |
59 | 61 | <File Name="opengl32sw.dll" /> |
60 | | - <File Name="Qt6SvgWidgets$(var.qt_suffix).dll" /> |
61 | | - <Directory Id="platforms" Name="platforms"> |
62 | | - <File Source="$(var.qt_path)\..\plugins\platforms\qwindows$(var.qt_suffix).dll" /> |
63 | | - </Directory> |
64 | | - <Directory Id="tls" Name="tls"> |
65 | | - <File Source="$(var.qt_path)\..\plugins\tls\qopensslbackend$(var.qt_suffix).dll" /> |
66 | | - </Directory> |
67 | | - <Directory Id="styles" Name="styles"> |
68 | | - <File Source="$(var.qt_path)\..\plugins\styles\qmodernwindowsstyle$(var.qt_suffix).dll" /> |
69 | | - </Directory> |
70 | | - <Directory Id="imageformats" Name="imageformats"> |
71 | | - <File Source="$(var.qt_path)\..\plugins\imageformats\qsvg$(var.qt_suffix).dll" /> |
72 | | - </Directory> |
| 62 | +<?endif?> |
| 63 | + <File Subdirectory="platforms" Source="$(var.qt_path)\..\plugins\platforms\qwindows$(var.qt_suffix).dll" /> |
| 64 | + <File Subdirectory="tls" Source="$(var.qt_path)\..\plugins\tls\qopensslbackend$(var.qt_suffix).dll" /> |
| 65 | + <File Subdirectory="styles" Source="$(var.qt_path)\..\plugins\styles\qmodernwindowsstyle$(var.qt_suffix).dll" /> |
| 66 | + <File Subdirectory="imageformats" Source="$(var.qt_path)\..\plugins\imageformats\qsvg$(var.qt_suffix).dll" /> |
73 | 67 | </Directory> |
74 | 68 | </StandardDirectory> |
75 | 69 |
|
|
0 commit comments