forked from Amebis/eduVPN
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheduVPN.wxs
202 lines (183 loc) · 9.75 KB
/
eduVPN.wxs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
<?xml version="1.0" encoding="utf-8"?>
<!--
eduVPN - VPN for education and research
Copyright: 2017-2024 The Commons Conservancy
SPDX-License-Identifier: GPL-3.0+
-->
<Wix
xmlns="http://schemas.microsoft.com/wix/2006/wi"
xmlns:netfx="http://schemas.microsoft.com/wix/NetFxExtension"
xmlns:bal="http://schemas.microsoft.com/wix/BalExtension"
xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
<Bundle
UpgradeCode="$(var.ClientUpgradeCode)"
Version="$(var.Version)"
Name="!(loc.$(var.ClientTarget).Name) $(var.Version)"
Manufacturer="!(loc.ManufacturerName)"
AboutUrl="$(var.ClientAboutUri)"
Copyright="!(loc.LegalCopyright)"
IconSourceFile="$(var.ClientTarget).Client\Resources\App.ico"
Compressed="yes">
<BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.HyperlinkLicense">
<bal:WixStandardBootstrapperApplication
LicenseUrl=""
SuppressOptionsUI="yes"
ThemeFile="Install\thm.xml"
LogoFile="Install\$(var.ClientTarget)\logo.png"/>
<!-- TODO: Implement RTL support first.
<Payload
Id="thm-ar"
Compressed="yes"
Name="1025\thm.wxl"
SourceFile="Install\ar\thm.wxl"/>
-->
<Payload
Id="thm-en"
Compressed="yes"
Name="thm.wxl"
SourceFile="Install\thm.wxl"/>
<Payload
Id="thm-de"
Compressed="yes"
Name="1031\thm.wxl"
SourceFile="Install\de\thm.wxl"/>
<!-- Spanish (Latin America) -->
<Payload Id="thm-es-419" Compressed="yes" Name="22538\thm.wxl" SourceFile="Install\es\thm.wxl"/>
<Payload Id="thm-es-AR" Compressed="yes" Name="11274\thm.wxl" SourceFile="Install\es\thm.wxl"/>
<Payload Id="thm-es-BO" Compressed="yes" Name="16394\thm.wxl" SourceFile="Install\es\thm.wxl"/>
<Payload Id="thm-es-CL" Compressed="yes" Name="13322\thm.wxl" SourceFile="Install\es\thm.wxl"/>
<Payload Id="thm-es-CO" Compressed="yes" Name="9226\thm.wxl" SourceFile="Install\es\thm.wxl"/>
<Payload Id="thm-es-CR" Compressed="yes" Name="5130\thm.wxl" SourceFile="Install\es\thm.wxl"/>
<Payload Id="thm-es-CU" Compressed="yes" Name="23562\thm.wxl" SourceFile="Install\es\thm.wxl"/>
<Payload Id="thm-es-DO" Compressed="yes" Name="7178\thm.wxl" SourceFile="Install\es\thm.wxl"/>
<Payload Id="thm-es-EC" Compressed="yes" Name="12298\thm.wxl" SourceFile="Install\es\thm.wxl"/>
<Payload Id="thm-es-GT" Compressed="yes" Name="4106\thm.wxl" SourceFile="Install\es\thm.wxl"/>
<Payload Id="thm-es-HN" Compressed="yes" Name="18442\thm.wxl" SourceFile="Install\es\thm.wxl"/>
<Payload Id="thm-es-MX" Compressed="yes" Name="2058\thm.wxl" SourceFile="Install\es\thm.wxl"/>
<Payload Id="thm-es-NI" Compressed="yes" Name="19466\thm.wxl" SourceFile="Install\es\thm.wxl"/>
<Payload Id="thm-es-PA" Compressed="yes" Name="6154\thm.wxl" SourceFile="Install\es\thm.wxl"/>
<Payload Id="thm-es-PE" Compressed="yes" Name="10250\thm.wxl" SourceFile="Install\es\thm.wxl"/>
<Payload Id="thm-es-PR" Compressed="yes" Name="20490\thm.wxl" SourceFile="Install\es\thm.wxl"/>
<Payload Id="thm-es-PY" Compressed="yes" Name="15370\thm.wxl" SourceFile="Install\es\thm.wxl"/>
<Payload Id="thm-es-SV" Compressed="yes" Name="17418\thm.wxl" SourceFile="Install\es\thm.wxl"/>
<Payload Id="thm-es-US" Compressed="yes" Name="21514\thm.wxl" SourceFile="Install\es\thm.wxl"/>
<Payload Id="thm-es-UY" Compressed="yes" Name="14346\thm.wxl" SourceFile="Install\es\thm.wxl"/>
<Payload Id="thm-es-VE" Compressed="yes" Name="8202\thm.wxl" SourceFile="Install\es\thm.wxl"/>
<Payload
Id="thm-fr"
Compressed="yes"
Name="1036\thm.wxl"
SourceFile="Install\fr\thm.wxl"/>
<Payload
Id="thm-nl"
Compressed="yes"
Name="1043\thm.wxl"
SourceFile="Install\nl\thm.wxl"/>
<Payload
Id="thm-sl"
Compressed="yes"
Name="1060\thm.wxl"
SourceFile="Install\sl\thm.wxl"/>
<Payload
Id="thm-tr"
Compressed="yes"
Name="1055\thm.wxl"
SourceFile="Install\tr\thm.wxl"/>
<Payload
Id="thm-uk"
Compressed="yes"
Name="1058\thm.wxl"
SourceFile="Install\uk\thm.wxl"/>
</BootstrapperApplicationRef>
<Variable Name="AddDesktopShortcut" Value="1"/>
<util:RegistrySearch
Id="UserRegKeyExist"
Variable="UserRegKeyExist"
Result="exists"
Root="HKCU" Key="SOFTWARE\$(var.ClientUrn)"/>
<util:RegistrySearch
Id="AddDesktopShortcut"
Variable="AddDesktopShortcut"
Result="exists"
Root="HKCU" Key="SOFTWARE\$(var.ClientUrn)" Value="DesktopShortcut"
Condition="UserRegKeyExist"
After="UserRegKeyExist"/>
<Variable Name="LaunchTarget" Value="[ProgramFiles6432Folder]$(var.ClientTitle)\Core\$(var.ClientTarget).Client.exe"/>
<util:RegistrySearchRef Id="NETFRAMEWORK45"/>
<Chain>
<!--
.NET Framework 4.8
-->
<ExePackage
Id="NetFx48Redist"
InstallCommand="/q /norestart /ChainingPackage "[WixBundleName]" /log "[NetFx48FullLog].html""
RepairCommand="/q /norestart /repair /ChainingPackage "[WixBundleName]" /log "[NetFx48FullLog].html""
UninstallCommand="/uninstall /q /norestart /ChainingPackage "[WixBundleName]" /log "[NetFx48FullLog].html""
PerMachine="yes"
DetectCondition="NETFRAMEWORK45 >= 528040"
InstallCondition="NOT VersionNT64 OR NativeMachine = 34404 OR VersionNT64 AND NOT NativeMachine"
Vital="yes"
Permanent="yes"
Protocol="netfx4"
DownloadUrl="https://go.microsoft.com/fwlink/?linkid=2088631"
Compressed="no"
Name="ndp48-x86-x64-allos-enu.exe">
<RemotePayload
CertificatePublicKey="F49F9B33E25E33CCA0BFB15A62B7C29FFAB3880B"
CertificateThumbprint="ABDCA79AF9DD48A0EA702AD45260B3C03093FB4B"
Description="Microsoft .NET Framework 4.8 Setup"
Hash="E322E2E0FB4C86172C38A97DC6C71982134F0570"
ProductName="Microsoft .NET Framework 4.8"
Size="121307088"
Version="4.8.4115.0"/>
</ExePackage>
<!--
.NET Framework 4.8.1
-->
<ExePackage
Id="NetFx481Redist"
InstallCommand="/q /norestart /ChainingPackage "[WixBundleName]" /log "[NetFx48FullLog].html""
RepairCommand="/q /norestart /repair /ChainingPackage "[WixBundleName]" /log "[NetFx48FullLog].html""
UninstallCommand="/uninstall /q /norestart /ChainingPackage "[WixBundleName]" /log "[NetFx48FullLog].html""
PerMachine="yes"
DetectCondition="NETFRAMEWORK45 >= 533320"
InstallCondition="NativeMachine = 43620"
Vital="yes"
Permanent="yes"
Protocol="netfx4"
DownloadUrl="https://go.microsoft.com/fwlink/?LinkId=2203304"
Compressed="no"
Name="NDP481-Web.exe">
<RemotePayload
CertificatePublicKey="51E8CCBFA002A22CB64E5CD25F42FE7BFAA920F6"
CertificateThumbprint="72105B6D5F370B62FD5C82F1512F7AD7DEE5F2C0"
Description="Microsoft .NET Framework 4.8.1 Setup"
Hash="22C974F3865CCE3F0EC385DD9C0B291CA045BC2C"
ProductName="Microsoft .NET Framework 4.8.1"
Size="1466664"
Version="4.8.9195.10" />
</ExePackage>
<!--
Client
-->
<MsiPackage
Id="$(var.ClientTarget)Client_x86"
SourceFile="bin\Setup\$(var.ClientTarget)Client_$(var.Version)$(var.CfgTarget)_x86.msi"
InstallCondition="NOT VersionNT64">
<MsiProperty Name="AddDesktopShortcut" Value="[AddDesktopShortcut]"/>
</MsiPackage>
<MsiPackage
Id="$(var.ClientTarget)Client_x64"
SourceFile="bin\Setup\$(var.ClientTarget)Client_$(var.Version)$(var.CfgTarget)_x64.msi"
InstallCondition="NativeMachine = 34404 OR VersionNT64 AND NOT NativeMachine">
<MsiProperty Name="AddDesktopShortcut" Value="[AddDesktopShortcut]"/>
</MsiPackage>
<MsiPackage
Id="$(var.ClientTarget)Client_ARM64"
SourceFile="bin\Setup\$(var.ClientTarget)Client_$(var.Version)$(var.CfgTarget)_ARM64.msi"
InstallCondition="NativeMachine = 43620">
<MsiProperty Name="AddDesktopShortcut" Value="[AddDesktopShortcut]"/>
</MsiPackage>
</Chain>
</Bundle>
</Wix>