OLD | NEW |
---|---|
1 <?xml version="1.0"?> | 1 <?xml version="1.0"?> |
2 <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> | 2 <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> |
3 | 3 |
4 <?define EventSourceName = "chromoting" ?> | 4 <?define EventSourceName = "chromoting" ?> |
5 <?define ServiceName = "chromoting" ?> | 5 <?define ServiceName = "chromoting" ?> |
6 | 6 |
7 <!-- TODO(alexeypa): There strings should be localized, | 7 <!-- TODO(alexeypa): There strings should be localized, |
8 see http://crbug.com/121785 --> | 8 see http://crbug.com/121785 --> |
9 <?if $(var.Branding) ~= Chrome ?> | 9 <?if $(var.Branding) ~= Chrome ?> |
10 <?define ChromotingHost = "Chrome Remote Desktop Host" ?> | 10 <?define ChromotingHost = "Chrome Remote Desktop Host" ?> |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
181 </Component> | 181 </Component> |
182 | 182 |
183 <Component Id="remoting_desktop" Guid="*"> | 183 <Component Id="remoting_desktop" Guid="*"> |
184 <File Id="remoting_desktop.exe" | 184 <File Id="remoting_desktop.exe" |
185 DiskId="1" | 185 DiskId="1" |
186 KeyPath="yes" | 186 KeyPath="yes" |
187 Name="remoting_desktop.exe" | 187 Name="remoting_desktop.exe" |
188 Vital="yes"/> | 188 Vital="yes"/> |
189 </Component> | 189 </Component> |
190 | 190 |
191 <Component Id="remoting_native_messaging_host" Guid="*"> | |
192 <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
| |
193 DiskId="1" | |
194 KeyPath="yes" | |
195 Name="remoting_native_messaging_host.exe" | |
196 Vital="yes"/> | |
197 </Component> | |
198 | |
199 <Component Id="native_messaging_host_manifest" Guid="*"> | |
200 <File Id="com.google.chrome.remote_desktop.json" | |
201 DiskId="1" | |
202 KeyPath="yes" | |
203 Name="com.google.chrome.remote_desktop.json" | |
204 Vital="yes"/> | |
205 </Component> | |
206 | |
191 <Component Id="icudtl" Guid="*"> | 207 <Component Id="icudtl" Guid="*"> |
192 <File Id="icudtl.dat" | 208 <File Id="icudtl.dat" |
193 DiskId="1" | 209 DiskId="1" |
194 KeyPath="yes" | 210 KeyPath="yes" |
195 Name="icudtl.dat" | 211 Name="icudtl.dat" |
196 Vital="yes"/> | 212 Vital="yes"/> |
197 </Component> | 213 </Component> |
198 | 214 |
199 <Component Id="remoting_host" Guid="*"> | 215 <Component Id="remoting_host" Guid="*"> |
200 <File Id="remoting_host.exe" | 216 <File Id="remoting_host.exe" |
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
485 Key="SOFTWARE\$(var.ChromotingKeyPath)\paired-clients" | 501 Key="SOFTWARE\$(var.ChromotingKeyPath)\paired-clients" |
486 Action="create"> | 502 Action="create"> |
487 <RegistryKey Key="clients" Action="create"/> | 503 <RegistryKey Key="clients" Action="create"/> |
488 <RegistryKey Key="secrets" Action="create"> | 504 <RegistryKey Key="secrets" Action="create"> |
489 <!-- Gives full access to SYSTEM only. --> | 505 <!-- Gives full access to SYSTEM only. --> |
490 <!-- Cannot use the builtin PermissionEx element because it maps | 506 <!-- Cannot use the builtin PermissionEx element because it maps |
491 to the MsiLockPermissionsEx table which is not supported on | 507 to the MsiLockPermissionsEx table which is not supported on |
492 Windows Installer version 4.5 or lower. Also Cannot use | 508 Windows Installer version 4.5 or lower. Also Cannot use |
493 PermissionEx in WixUtilExtension because it automatically | 509 PermissionEx in WixUtilExtension because it automatically |
494 inherits all the ACLs from the parent. --> | 510 inherits all the ACLs from the parent. --> |
495 <Permission User="SYSTEM" GenericAll="yes" | 511 <Permission User="SYSTEM" |
496 ChangePermission="yes" | 512 GenericAll="yes" |
497 TakeOwnership="yes"/> | 513 ChangePermission="yes" |
514 TakeOwnership="yes"/> | |
515 <Permission User="Administrators" | |
516 Domain="[LOCAL_MACHINE_NAME]" | |
517 GenericAll="yes" | |
518 ChangePermission="yes" | |
519 TakeOwnership="yes"/> | |
498 </RegistryKey> | 520 </RegistryKey> |
499 </RegistryKey> | 521 </RegistryKey> |
500 <CreateFolder/> | 522 <CreateFolder/> |
523 </Component> | |
524 | |
525 <Component Id="native_messaging_host_registry" Guid="*"> | |
526 <RegistryKey Root="HKLM" | |
527 Key="SOFTWARE\Google\chrome\NativeMessagingHosts" | |
528 Action="create"> | |
529 <RegistryKey Key="com.google.chrome.remote_desktop" Action="create"> | |
530 <RegistryValue | |
531 Type="string" | |
532 Value="[binaries]com.google.chrome.remote_desktop.json"/> | |
533 </RegistryKey> | |
534 </RegistryKey> | |
535 <CreateFolder/> | |
501 </Component> | 536 </Component> |
502 | 537 |
503 <!-- Register with Sawbuck. See http://code.google.com/p/sawbuck/. --> | 538 <!-- Register with Sawbuck. See http://code.google.com/p/sawbuck/. --> |
504 <Component Id="sawbuck_provider" Guid="*"> | 539 <Component Id="sawbuck_provider" Guid="*"> |
505 <RegistryKey Root="HKLM" | 540 <RegistryKey Root="HKLM" |
506 Key="SOFTWARE\Google\Sawbuck\Providers"> | 541 Key="SOFTWARE\Google\Sawbuck\Providers"> |
507 <RegistryKey Key="{2db51ca1-4fd8-4b88-b5a2-fb8606b66b02}" | 542 <RegistryKey Key="{2db51ca1-4fd8-4b88-b5a2-fb8606b66b02}" |
508 Action="create"> | 543 Action="create"> |
509 <RegistryValue Type="string" Value="Chromoting"/> | 544 <RegistryValue Type="string" Value="Chromoting"/> |
510 <RegistryValue Name="default_flags" Type="integer" Value="1"/> | 545 <RegistryValue Name="default_flags" Type="integer" Value="1"/> |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
593 | 628 |
594 <UIRef Id="WixUI_ErrorProgressText" /> | 629 <UIRef Id="WixUI_ErrorProgressText" /> |
595 | 630 |
596 <Feature Id="chromoting_host" Level="1" Title="$(var.ChromotingHost)"> | 631 <Feature Id="chromoting_host" Level="1" Title="$(var.ChromotingHost)"> |
597 <ComponentRef Id="delete_debug_log"/> | 632 <ComponentRef Id="delete_debug_log"/> |
598 <ComponentRef Id="delete_usagestats"/> | 633 <ComponentRef Id="delete_usagestats"/> |
599 <?if $(var.OfficialBuild) != 0 ?> | 634 <?if $(var.OfficialBuild) != 0 ?> |
600 <ComponentRef Id="omaha_registration"/> | 635 <ComponentRef Id="omaha_registration"/> |
601 <?endif?> | 636 <?endif?> |
602 <ComponentRef Id="icudtl"/> | 637 <ComponentRef Id="icudtl"/> |
638 <ComponentRef Id="remoting_native_messaging_host"/> | |
639 <ComponentRef Id="native_messaging_host_manifest"/> | |
640 <ComponentRef Id="native_messaging_host_registry"/> | |
603 <ComponentRef Id="remoting_core"/> | 641 <ComponentRef Id="remoting_core"/> |
604 <ComponentRef Id="remoting_desktop"/> | 642 <ComponentRef Id="remoting_desktop"/> |
605 <ComponentRef Id="remoting_host"/> | 643 <ComponentRef Id="remoting_host"/> |
606 <ComponentRef Id="remoting_lib"/> | 644 <ComponentRef Id="remoting_lib"/> |
607 <ComponentRef Id="remoting_pairing_registry"/> | 645 <ComponentRef Id="remoting_pairing_registry"/> |
608 <ComponentRef Id="sas"/> | 646 <ComponentRef Id="sas"/> |
609 <ComponentRef Id="sawbuck_provider"/> | 647 <ComponentRef Id="sawbuck_provider"/> |
610 </Feature> | 648 </Feature> |
611 | 649 |
612 <!-- Set the icon shown in Add/Remove Programs. --> | 650 <!-- Set the icon shown in Add/Remove Programs. --> |
(...skipping 19 matching lines...) Expand all Loading... | |
632 <Custom Action="set_service_description" Before="InstallInitialize"> | 670 <Custom Action="set_service_description" Before="InstallInitialize"> |
633 <![CDATA[VersionNT >= 600]]> | 671 <![CDATA[VersionNT >= 600]]> |
634 </Custom> | 672 </Custom> |
635 | 673 |
636 <!-- Schedule RemoveExistingProducts before installing any files. | 674 <!-- Schedule RemoveExistingProducts before installing any files. |
637 See http://msdn.microsoft.com/en-us/library/aa371197.aspx. --> | 675 See http://msdn.microsoft.com/en-us/library/aa371197.aspx. --> |
638 <RemoveExistingProducts After="InstallInitialize" /> | 676 <RemoveExistingProducts After="InstallInitialize" /> |
639 </InstallExecuteSequence> | 677 </InstallExecuteSequence> |
640 </Product> | 678 </Product> |
641 </Wix> | 679 </Wix> |
OLD | NEW |