-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathbootstrapper.wxs
109 lines (100 loc) · 8.38 KB
/
bootstrapper.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
<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="NoBrowserRestart" Persisted="yes" bal:Overridable="yes" Type="numeric" Value="0" />
<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="ForceChromeExtensionActivation2" Variable="ForceChromeExtensionActivation2Exists" Result="exists"/-->
<!--util:RegistrySearch Root="HKLM" Key="$(var.REGPath)" Value="ForceChromeExtensionActivation2" Variable="ForceChromeExtensionActivation2" Condition="ForceChromeExtensionActivation2Exists"/-->
<!--util:RegistrySearch Root="HKLM" Key="$(var.REGPath)" Value="ForceEdgeExtensionActivation2" Variable="ForceEdgeExtensionActivation2Exists" Result="exists"/-->
<!--util:RegistrySearch Root="HKLM" Key="$(var.REGPath)" Value="ForceEdgeExtensionActivation2" Variable="ForceEdgeExtensionActivation2" Condition="ForceEdgeExtensionActivation2Exists"/-->
<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="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" />
<Chain>
<MsiPackage Id="IDEMIA.en_US.X64" InstallCondition="NOT UserLanguageID = 1061 AND MinidriverInstall = 1" ForcePerMachine="yes"
SourceFile="$(var.idemia).en-US.msi" Compressed="yes">
<MsiProperty Name="APPLICATIONFOLDER" Value="[InstallFolder]" />
<MsiProperty Name="INSTALLCERTSYNCHRONIZER" Value="[InstallCertSynchronizer]" />
<MsiProperty Name="INSTALL_DRIVER" Value="1" />
<Provides Key="{E8616345-2F3F-46E8-B8CC-11B6E5B701D2}"/>
</MsiPackage>
<MsiPackage Id="IDEMIA.et_EE.X64" InstallCondition="UserLanguageID = 1061 AND MinidriverInstall = 1" ForcePerMachine="yes"
SourceFile="$(var.idemia).et-EE.msi" Compressed="yes">
<MsiProperty Name="APPLICATIONFOLDER" Value="[InstallFolder]" />
<MsiProperty Name="INSTALLCERTSYNCHRONIZER" Value="[InstallCertSynchronizer]" />
<MsiProperty Name="INSTALL_DRIVER" Value="1" />
<Provides Key="{6D591292-39B5-4DC3-AE3D-ED51D6B7F808}"/>
</MsiPackage>
<MsiPackage Id="Updater" ForcePerMachine="yes" SourceFile="$(var.updater)" Compressed="yes">
<MsiProperty Name="INSTALLFOLDER" Value="[InstallFolder]" />
<MsiProperty Name="AUTO_UPDATE" Value="[AutoUpdate]" />
</MsiPackage>
<MsiPackage Id="WebEID" InstallCondition="ChromeSupport = 1 OR EdgeSupport = 1 OR FirefoxSupport = 1" ForcePerMachine="yes"
SourceFile="$(var.webeid)" 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" InstallCondition="Qdigidoc4Install = 1" ForcePerMachine="yes"
SourceFile="$(var.qdigidoc4)" 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="ForceChromeExtensionActivation2" Value="[ForceChromeExtensionActivation2]" />
<MsiProperty Name="ForceEdgeExtensionActivation2" Value="[ForceEdgeExtensionActivation2]" />
<MsiProperty Name="MinidriverInstall" Value="[MinidriverInstall]" />
<MsiProperty Name="Qdigidoc4Install" Value="[Qdigidoc4Install]" />
<MsiProperty Name="AutoUpdate" Value="[AutoUpdate]" />
<MsiProperty Name="IconsDesktop" Value="[IconsDesktop]" />
</MsiPackage>
</Chain>
</Bundle>
</Wix>