forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathinstaller.h
30 lines (22 loc) · 1010 Bytes
/
installer.h
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
// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_ENTERPRISE_COMPANION_INSTALLER_H_
#define CHROME_ENTERPRISE_COMPANION_INSTALLER_H_
#include "build/build_config.h"
namespace enterprise_companion {
#if BUILDFLAG(IS_WIN)
// The registry key in which the companion app's updater registration is stored.
extern const wchar_t kAppRegKey[];
// The registry value under `kAppRegKey` which stores the application's version.
extern const wchar_t kRegValuePV[];
// The registry value under `kAppRegKey` which stores the application's name.
extern const wchar_t kRegValueName[];
#endif
// Install the Chrome Enterprise Companion App.
bool Install();
// Remove all traces of the app from the system. On Windows this includes
// removing the installation for the alternate architecture, if present.
bool Uninstall();
} // namespace enterprise_companion
#endif // CHROME_ENTERPRISE_COMPANION_INSTALLER_H_