Chromium Code Reviews| 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" |
|
Sergey Ulanov
2014/02/13 01:53:24
maybe call it native_messaging_host.exe? without r
weitao
2014/02/13 18:13:09
I prefer to keep the current name. For one, it wil
|
| + 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"/> |