Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(462)

Unified Diff: remoting/host/installer/win/chromoting.wxs

Issue 143303007: Enable pairing registry in me2me native messaging host on Windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pairing
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/host/daemon_process_win.cc ('k') | remoting/host/pairing_registry_delegate_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/installer/win/chromoting.wxs
diff --git a/remoting/host/installer/win/chromoting.wxs b/remoting/host/installer/win/chromoting.wxs
index a1c8b83ab3e76de3baa002315a3048a9799201d1..3866df41174b656bd46c60901bc8642c515cb69c 100644
--- a/remoting/host/installer/win/chromoting.wxs
+++ b/remoting/host/installer/win/chromoting.wxs
@@ -188,6 +188,22 @@
Vital="yes"/>
</Component>
+ <Component Id="remoting_native_messaging_host" Guid="*">
+ <File Id="remoting_native_messaging_host.exe"
+ DiskId="1"
+ KeyPath="yes"
+ Name="remoting_native_messaging_host.exe"
+ Vital="yes"/>
+ </Component>
+
+ <Component Id="native_messaging_host_manifest" Guid="*">
+ <File Id="com.google.chrome.remote_desktop.json"
+ DiskId="1"
+ KeyPath="yes"
+ Name="com.google.chrome.remote_desktop.json"
+ Vital="yes"/>
+ </Component>
+
<Component Id="icudtl" Guid="*">
<File Id="icudtl.dat"
DiskId="1"
@@ -492,9 +508,28 @@
Windows Installer version 4.5 or lower. Also Cannot use
PermissionEx in WixUtilExtension because it automatically
inherits all the ACLs from the parent. -->
- <Permission User="SYSTEM" GenericAll="yes"
- ChangePermission="yes"
- TakeOwnership="yes"/>
+ <Permission User="SYSTEM"
+ GenericAll="yes"
+ ChangePermission="yes"
+ TakeOwnership="yes"/>
+ <Permission User="Administrators"
+ Domain="[LOCAL_MACHINE_NAME]"
+ GenericAll="yes"
+ ChangePermission="yes"
+ TakeOwnership="yes"/>
+ </RegistryKey>
+ </RegistryKey>
+ <CreateFolder/>
+ </Component>
+
+ <Component Id="native_messaging_host_registry" Guid="*">
+ <RegistryKey Root="HKLM"
+ Key="SOFTWARE\Google\chrome\NativeMessagingHosts"
+ Action="create">
+ <RegistryKey Key="com.google.chrome.remote_desktop" Action="create">
+ <RegistryValue
+ Type="string"
+ Value="[binaries]com.google.chrome.remote_desktop.json"/>
</RegistryKey>
</RegistryKey>
<CreateFolder/>
@@ -600,6 +635,9 @@
<ComponentRef Id="omaha_registration"/>
<?endif?>
<ComponentRef Id="icudtl"/>
+ <ComponentRef Id="remoting_native_messaging_host"/>
+ <ComponentRef Id="native_messaging_host_manifest"/>
+ <ComponentRef Id="native_messaging_host_registry"/>
<ComponentRef Id="remoting_core"/>
<ComponentRef Id="remoting_desktop"/>
<ComponentRef Id="remoting_host"/>
« no previous file with comments | « remoting/host/daemon_process_win.cc ('k') | remoting/host/pairing_registry_delegate_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698