Debian Codegraph @

admin/win/tools/NCMsiHelper/NCMsiHelper.wxs

raw
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3 - SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
4 - SPDX-License-Identifier: GPL-2.0-or-later
5 -->
6 <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
7 <Fragment>
8
9 <?if $(var.Platform) = x64 ?>
10 <?define bitness = "64" ?>
11 <?else ?>
12 <?define bitness = "32" ?>
13 <?endif ?>
14
15 <Binary Id="NCMsiHelper" SourceFile="NCMsiHelper$(var.bitness).dll" />
16
17 <CustomAction Id="ExecNsisUninstaller"
18 Return="ignore"
19 BinaryKey="NCMsiHelper"
20 DllEntry="ExecNsisUninstaller"
21 Execute="deferred"
22 Impersonate="no" />
23
24 <CustomAction Id="RemoveNavigationPaneEntries"
25 Return="ignore"
26 BinaryKey="NCMsiHelper"
27 DllEntry="RemoveNavigationPaneEntries"
28 Execute="deferred"
29 Impersonate="yes" />
30
31 </Fragment>
32 </Wix>