-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathbootstrapper.wxs
More file actions
137 lines (128 loc) · 10.4 KB
/
Copy pathbootstrapper.wxs
File metadata and controls
137 lines (128 loc) · 10.4 KB
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
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"
xmlns:bal="http://wixtoolset.org/schemas/v4/wxs/bal"
xmlns:util="http://wixtoolset.org/schemas/v4/wxs/util">
<Bundle Name="eID software" Version="$(var.MSI_VERSION)" Manufacturer="RIA"
UpgradeCode="f1c4d351-269d-4bee-8cdb-6ea70c968875"
Copyright="RIA" IconSourceFile="$(var.path)\ID.ico" AboutUrl="http://www.id.ee">
<BootstrapperApplication>
<bal:WixStandardBootstrapperApplication
LicenseUrl=""
LogoFile="$(var.path)\banner.bmp"
LogoSideFile="$(var.path)\dlgbmp.bmp"
ThemeFile="$(var.path)\HyperlinkSidebarTheme.xml"
Theme="hyperlinkSidebarLicense" />
<Payload Name="1033\thm.wxl" SourceFile="$(var.path)\HyperlinkSidebarTheme.en.wxl" Compressed="yes" />
<Payload Name="1061\thm.wxl" SourceFile="$(var.path)\HyperlinkSidebarTheme.et.wxl" Compressed="yes" />
<Payload Name="ID.ico" SourceFile="$(var.path)\ID.ico" Compressed="yes" />
</BootstrapperApplication>
<bal:Condition Message="#(loc.SupportedWindows)" Condition="VersionNT >= v10.0 AND VersionNT64" />
<Variable Name="ChromeSupport" Persisted="yes" bal:Overridable="yes" Type="numeric" Value="1" />
<Variable Name="EdgeSupport" Persisted="yes" bal:Overridable="yes" Type="numeric" Value="1" />
<Variable Name="ForceChromeExtensionActivation2" Persisted="yes" bal:Overridable="yes" Type="numeric" Value="1" />
<Variable Name="ForceEdgeExtensionActivation2" Persisted="yes" bal:Overridable="yes" Type="numeric" Value="1" />
<Variable Name="FirefoxSupport" Persisted="yes" bal:Overridable="yes" Type="numeric" Value="1" />
<Variable Name="InstallCertSynchronizer" Persisted="yes" bal:Overridable="yes" Type="numeric" Value="0" />
<Variable Name="MinidriverInstall" Persisted="yes" bal:Overridable="yes" Type="numeric" Value="1" />
<Variable Name="Qdigidoc4Install" Persisted="yes" bal:Overridable="yes" Type="numeric" Value="1" />
<Variable Name="IconsDesktop" Persisted="yes" bal:Overridable="yes" Type="numeric" Value="1" />
<Variable Name="AutoUpdate" Persisted="yes" bal:Overridable="yes" Type="numeric" Value="1" />
<Variable Name="InstallFolder" Type="formatted" Value="[ProgramFiles6432Folder]Open-EID" />
<?define REGPath = "Software\[WixBundleManufacturer]\Open-EID"?>
<util:ProductSearch Id="OpenEID_Installed" UpgradeCode="42137cbc-8356-4ac4-9295-735f258b5abb" Variable="Installed" /><!-- metainfo.msi -->
<util:RegistrySearch Variable="ChromeSupport" Condition="Installed > v0.0.0.0" Result="exists" Root="HKLM"
Key="SOFTWARE\Google\Chrome\Extensions\ncibgoaomkmdpilpocfeponihegamlic" Value="update_url" After="OpenEID_Installed" />
<util:RegistrySearch Variable="EdgeSupport" Condition="Installed > v0.0.0.0" Result="exists" Root="HKLM"
Key="SOFTWARE\Microsoft\Edge\Extensions\gnmckgbandlkacikdndelhfghdejfido" Value="update_url" After="OpenEID_Installed" />
<util:RegistrySearch Variable="FirefoxSupport" Condition="Installed > v0.0.0.0" Result="exists" Root="HKLM"
Key="SOFTWARE\Mozilla\NativeMessagingHosts\eu.webeid" Bitness="always64" After="OpenEID_Installed" />
<util:RegistrySearch Root="HKLM" Key="$(var.REGPath)" Value="MinidriverInstall" Variable="MinidriverInstallExists" Result="exists" Id="MinidriverInstallExists" />
<util:RegistrySearch Root="HKLM" Key="$(var.REGPath)" Value="MinidriverInstall" Variable="MinidriverInstall" Condition="MinidriverInstallExists" After="MinidriverInstallExists" />
<util:RegistrySearch Root="HKLM" Key="$(var.REGPath)" Value="InstallCertSynchronizer" Variable="InstallCertSynchronizerExists" Result="exists" Id="InstallCertSynchronizerExists" />
<util:RegistrySearch Root="HKLM" Key="$(var.REGPath)" Value="InstallCertSynchronizer" Variable="InstallCertSynchronizer" Condition="InstallCertSynchronizerExists" After="InstallCertSynchronizerExists" />
<util:RegistrySearch Root="HKLM" Key="$(var.REGPath)" Value="Qdigidoc4Install" Variable="Qdigidoc4InstallExists" Result="exists" Id="Qdigidoc4InstallExists" />
<util:RegistrySearch Root="HKLM" Key="$(var.REGPath)" Value="Qdigidoc4Install" Variable="Qdigidoc4Install" Condition="Qdigidoc4InstallExists" After="Qdigidoc4InstallExists" />
<util:RegistrySearch Root="HKLM" Key="$(var.REGPath)" Value="AutoUpdate" Variable="AutoUpdateExists" Result="exists" Id="AutoUpdateExists" />
<util:RegistrySearch Root="HKLM" Key="$(var.REGPath)" Value="AutoUpdate" Variable="AutoUpdate" Condition="AutoUpdateExists" After="AutoUpdateExists" />
<util:RegistrySearch Root="HKLM" Key="$(var.REGPath)" Value="IconsDesktop" Variable="IconsDesktopExists" Result="exists" Id="IconsDesktopExists" />
<util:RegistrySearch Root="HKLM" Key="$(var.REGPath)" Value="IconsDesktop" Variable="IconsDesktop" Condition="IconsDesktopExists" After="IconsDesktopExists" />
<util:RegistrySearch Id="DetectARM64Processor" Root="HKLM" Result="value" Variable="ARCH"
Key="SYSTEM\CurrentControlSet\Control\Session Manager\Environment" Value="PROCESSOR_ARCHITECTURE" />
<Chain>
<MsiPackage Id="IDEMIA" InstallCondition="MinidriverInstall = 1 AND NOT ARCH="ARM64"" ForcePerMachine="yes"
SourceFile="$(var.idemia)" Compressed="yes">
<Payload SourceFile="$(var.path)\RemoveAWPBlock.mst" Name="RemoveAWPBlock.mst" Compressed="yes" />
<MsiProperty Name="TRANSFORMS" Value="RemoveAWPBlock.mst" />
<MsiProperty Name="INSTALLDIR" Value="[InstallFolder]" />
<MsiProperty Name="INSTALL64DIR" Value="[InstallFolder]" />
<MsiProperty Name="INSTALLDIR_MINIDRIVER_EESTI" Value="[InstallFolder]\Idemia" />
<MsiProperty Name="PKCS11" Value="0" />
<MsiProperty Name="IDPLUG_SERVICES" Value="[InstallCertSynchronizer]" />
</MsiPackage>
<MsiPackage Id="THALES.X64" InstallCondition="MinidriverInstall = 1 AND NOT ARCH="ARM64"" ForcePerMachine="yes"
SourceFile="$(var.thales_x64)" Compressed="yes">
<MsiProperty Name="INSTALLFOLDER" Value="[InstallFolder]" />
</MsiPackage>
<MsiPackage Id="THALES.ARM64" InstallCondition="MinidriverInstall = 1 AND ARCH="ARM64"" ForcePerMachine="yes"
SourceFile="$(var.thales_arm64)" Compressed="yes">
<MsiProperty Name="INSTALLFOLDER" Value="[InstallFolder]" />
</MsiPackage>
<MsiPackage Id="CERTDEL.X64" InstallCondition="MinidriverInstall = 1 AND InstallCertSynchronizer = 1 AND NOT ARCH="ARM64"" ForcePerMachine="yes"
SourceFile="$(var.certdel_x64)" Compressed="yes">
<MsiProperty Name="INSTALLFOLDER" Value="[InstallFolder]" />
</MsiPackage>
<MsiPackage Id="CERTDEL.ARM64" InstallCondition="MinidriverInstall = 1 AND InstallCertSynchronizer = 1 AND ARCH="ARM64"" ForcePerMachine="yes"
SourceFile="$(var.certdel_arm64)" Compressed="yes">
<MsiProperty Name="INSTALLFOLDER" Value="[InstallFolder]" />
</MsiPackage>
<MsiPackage Id="Updater.X64" ForcePerMachine="yes" SourceFile="$(var.updater_x64)" InstallCondition="NOT ARCH="ARM64"" Compressed="yes">
<MsiProperty Name="INSTALLFOLDER" Value="[InstallFolder]" />
<MsiProperty Name="AUTO_UPDATE" Value="[AutoUpdate]" />
</MsiPackage>
<MsiPackage Id="Updater.ARM64" ForcePerMachine="yes" SourceFile="$(var.updater_arm64)" InstallCondition="ARCH="ARM64"" Compressed="yes">
<MsiProperty Name="INSTALLFOLDER" Value="[InstallFolder]" />
<MsiProperty Name="AUTO_UPDATE" Value="[AutoUpdate]" />
</MsiPackage>
<MsiPackage Id="WebEID.X64" InstallCondition="(ChromeSupport = 1 OR EdgeSupport = 1 OR FirefoxSupport = 1) AND NOT ARCH="ARM64""
ForcePerMachine="yes" SourceFile="$(var.webeid_x64)" Compressed="yes">
<MsiProperty Name="INSTALLFOLDER" Value="[InstallFolder]" />
<MsiProperty Name="CHROMEINSTALL" Value="[ChromeSupport]" />
<MsiProperty Name="CHROMEPOLICY" Value="[ForceChromeExtensionActivation2]" />
<MsiProperty Name="EDGEINSTALL" Value="[EdgeSupport]" />
<MsiProperty Name="EDGEPOLICY" Value="[ForceEdgeExtensionActivation2]" />
<MsiProperty Name="FIREFOXINSTALL" Value="[FirefoxSupport]" />
</MsiPackage>
<MsiPackage Id="WebEID.ARM64" InstallCondition="(ChromeSupport = 1 OR EdgeSupport = 1 OR FirefoxSupport = 1) AND ARCH="ARM64""
ForcePerMachine="yes" SourceFile="$(var.webeid_arm64)" Compressed="yes">
<MsiProperty Name="INSTALLFOLDER" Value="[InstallFolder]" />
<MsiProperty Name="CHROMEINSTALL" Value="[ChromeSupport]" />
<MsiProperty Name="CHROMEPOLICY" Value="[ForceChromeExtensionActivation2]" />
<MsiProperty Name="EDGEINSTALL" Value="[EdgeSupport]" />
<MsiProperty Name="EDGEPOLICY" Value="[ForceEdgeExtensionActivation2]" />
<MsiProperty Name="FIREFOXINSTALL" Value="[FirefoxSupport]" />
</MsiPackage>
<MsiPackage Id="DigiDoc4.X64" InstallCondition="Qdigidoc4Install = 1 AND NOT ARCH="ARM64""
ForcePerMachine="yes" SourceFile="$(var.qdigidoc4_x64)" Compressed="yes">
<MsiProperty Name="INSTALLFOLDER" Value="[InstallFolder]" />
<MsiProperty Name="DESKTOP_SHORTCUT" Value="[IconsDesktop]" />
</MsiPackage>
<MsiPackage Id="DigiDoc4.ARM64" InstallCondition="Qdigidoc4Install = 1 AND ARCH="ARM64""
ForcePerMachine="yes" SourceFile="$(var.qdigidoc4_arm64)" Compressed="yes">
<MsiProperty Name="INSTALLFOLDER" Value="[InstallFolder]" />
<MsiProperty Name="DESKTOP_SHORTCUT" Value="[IconsDesktop]" />
</MsiPackage>
<MsiPackage Id="shellext" InstallCondition="Qdigidoc4Install = 1" ForcePerMachine="yes"
SourceFile="$(var.shellext)" Compressed="yes">
<MsiProperty Name="APPLICATIONFOLDER" Value="[InstallFolder]" />
<MsiProperty Name="MSIRMSHUTDOWN" Value="2" />
<Provides Key="{EA515788-340A-428E-8DE6-F79C84CBBFCA}"/>
</MsiPackage>
<MsiPackage Id="MetaInfo" ForcePerMachine="yes" SourceFile="metainfo.msi" Compressed="yes">
<MsiProperty Name="MinidriverInstall" Value="[MinidriverInstall]" />
<MsiProperty Name="Qdigidoc4Install" Value="[Qdigidoc4Install]" />
<MsiProperty Name="AutoUpdate" Value="[AutoUpdate]" />
<MsiProperty Name="IconsDesktop" Value="[IconsDesktop]" />
<MsiProperty Name="InstallCertSynchronizer" Value="[InstallCertSynchronizer]" />
</MsiPackage>
</Chain>
</Bundle>
</Wix>