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" ?> |
11 <?define ChromotingServiceName = "Chrome Remote Desktop Service" ?> | 11 <?define ChromotingServiceName = "Chrome Remote Desktop Service" ?> |
12 <?define ChromotingServiceDescription = "This service enables incoming conne
ctions from Chrome Remote Desktop clients." ?> | 12 <?define ChromotingServiceDescription = "This service enables incoming conne
ctions from Chrome Remote Desktop clients." ?> |
13 <?define Manufacturer = "Google Inc." ?> | 13 <?define Manufacturer = "Google Inc." ?> |
14 <?else?> | 14 <?else?> |
15 <?define ChromotingHost = "Chromoting Host" ?> | 15 <?define ChromotingHost = "Chromoting Host" ?> |
16 <?define ChromotingServiceName = "Chromoting Service" ?> | 16 <?define ChromotingServiceName = "Chromoting Service" ?> |
17 <?define ChromotingServiceDescription = "This service enables incoming conne
ctions from Chromoting clients." ?> | 17 <?define ChromotingServiceDescription = "This service enables incoming conne
ctions from Chromoting clients." ?> |
18 <?define Manufacturer = "The Chromium Authors" ?> | 18 <?define Manufacturer = "The Chromium Authors" ?> |
19 <?endif?> | 19 <?endif?> |
20 | 20 |
| 21 <?if $(sys.BUILDARCH) = "x64" ?> |
| 22 <?define ProgramFilesFolderForPlatform = "ProgramFiles64Folder" ?> |
| 23 <?else?> |
| 24 <?define ProgramFilesFolderForPlatform = "ProgramFilesFolder" ?> |
| 25 <?endif?> |
| 26 |
21 <?if $(var.OfficialBuild) != 0 ?> | 27 <?if $(var.OfficialBuild) != 0 ?> |
22 <?define ChromotingKeyPath = "Google\Chrome Remote Desktop" ?> | 28 <?define ChromotingKeyPath = "Google\Chrome Remote Desktop" ?> |
23 <?else?> | 29 <?else?> |
24 <?define ChromotingKeyPath = "Chromoting" ?> | 30 <?define ChromotingKeyPath = "Chromoting" ?> |
25 <?endif?> | 31 <?endif?> |
26 | 32 |
27 <?define FirewallName = "$(var.ChromotingHost)" ?> | 33 <?define FirewallName = "$(var.ChromotingHost)" ?> |
28 | 34 |
29 <?define OmahaAppid = "{b210701e-ffc4-49e3-932b-370728c72662}" ?> | 35 <?define OmahaAppid = "{b210701e-ffc4-49e3-932b-370728c72662}" ?> |
30 <?define UpgradeCode = "2b21f767-e157-4fa6-963c-55834c1433a6" ?> | 36 <?define UpgradeCode = "2b21f767-e157-4fa6-963c-55834c1433a6" ?> |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 Property="BROKENUSAGESTATSVERSION" /> | 133 Property="BROKENUSAGESTATSVERSION" /> |
128 </Upgrade> | 134 </Upgrade> |
129 | 135 |
130 <Condition Message="A later version of [ProductName] is already installed. S
etup will now exit."> | 136 <Condition Message="A later version of [ProductName] is already installed. S
etup will now exit."> |
131 NOT NEWERVERSIONDETECTED | 137 NOT NEWERVERSIONDETECTED |
132 </Condition> | 138 </Condition> |
133 | 139 |
134 <Media Id="1" Cabinet="chromoting.cab" EmbedCab="yes"/> | 140 <Media Id="1" Cabinet="chromoting.cab" EmbedCab="yes"/> |
135 | 141 |
136 <Directory Id="TARGETDIR" Name="SourceDir"> | 142 <Directory Id="TARGETDIR" Name="SourceDir"> |
137 <Directory Id="ProgramFilesFolder"> | 143 <Directory Id="$(var.ProgramFilesFolderForPlatform)"> |
138 <?if $(var.OfficialBuild) != 0 ?> | 144 <?if $(var.OfficialBuild) != 0 ?> |
139 <Directory Id="program_files_google" Name="Google"> | 145 <Directory Id="program_files_google" Name="Google"> |
140 <Directory Id="chromoting" Name="Chrome Remote Desktop"> | 146 <Directory Id="chromoting" Name="Chrome Remote Desktop"> |
141 <Directory Id="binaries" Name="$(var.Version)"/> | 147 <Directory Id="binaries" Name="$(var.Version)"/> |
142 </Directory> | 148 </Directory> |
143 </Directory> | 149 </Directory> |
144 <?else?> | 150 <?else?> |
145 <Directory Id="chromoting" Name="Chromoting"> | 151 <Directory Id="chromoting" Name="Chromoting"> |
146 <Directory Id="binaries" Name="$(var.Version)"/> | 152 <Directory Id="binaries" Name="$(var.Version)"/> |
147 </Directory> | 153 </Directory> |
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
560 <RegistryKey Key="com.google.chrome.remote_assistance" | 566 <RegistryKey Key="com.google.chrome.remote_assistance" |
561 Action="create"> | 567 Action="create"> |
562 <RegistryValue | 568 <RegistryValue |
563 Type="string" | 569 Type="string" |
564 Value="[binaries]com.google.chrome.remote_assistance.json"/> | 570 Value="[binaries]com.google.chrome.remote_assistance.json"/> |
565 </RegistryKey> | 571 </RegistryKey> |
566 </RegistryKey> | 572 </RegistryKey> |
567 <CreateFolder/> | 573 <CreateFolder/> |
568 </Component> | 574 </Component> |
569 | 575 |
570 <!-- Register with Sawbuck. See http://code.google.com/p/sawbuck/. --> | 576 <!-- Delete the usagestats flag to reset the crash dump reporting settings |
571 <Component Id="sawbuck_provider" Guid="*"> | 577 for existing users. --> |
| 578 <Component Id="delete_usagestats" |
| 579 Guid="5c73f2b9-b865-426f-81cc-90a27ebb54aa" |
| 580 KeyPath="yes"> |
| 581 <Condition>BROKENUSAGESTATSVERSION</Condition> |
| 582 <RemoveRegistryValue |
| 583 Id="usagestats" |
| 584 Key="SOFTWARE\Google\Update\ClientStateMedium\$(var.OmahaAppid)" |
| 585 Name="usagestats" |
| 586 Root="HKLM" /> |
| 587 </Component> |
| 588 |
| 589 </DirectoryRef> |
| 590 |
| 591 <!-- Register with Sawbuck. See http://code.google.com/p/sawbuck/. --> |
| 592 <DirectoryRef Id="TARGETDIR"> |
| 593 <Component Id="sawbuck_provider" Guid="*" Win64="no"> |
572 <RegistryKey Root="HKLM" | 594 <RegistryKey Root="HKLM" |
573 Key="SOFTWARE\Google\Sawbuck\Providers"> | 595 Key="SOFTWARE\Google\Sawbuck\Providers"> |
574 <RegistryKey Key="{2db51ca1-4fd8-4b88-b5a2-fb8606b66b02}" | 596 <RegistryKey Key="{2db51ca1-4fd8-4b88-b5a2-fb8606b66b02}" |
575 Action="create"> | 597 Action="create"> |
576 <RegistryValue Type="string" Value="Chromoting"/> | 598 <RegistryValue Type="string" Value="Chromoting"/> |
577 <RegistryValue Name="default_flags" Type="integer" Value="1"/> | 599 <RegistryValue Name="default_flags" Type="integer" Value="1"/> |
578 <RegistryValue Name="default_level" Type="integer" Value="4"/> | 600 <RegistryValue Name="default_level" Type="integer" Value="4"/> |
579 <RegistryKey Key="Flags" Action="create"> | 601 <RegistryKey Key="Flags" Action="create"> |
580 <RegistryKey Key="Stack Trace" Action="create"> | 602 <RegistryKey Key="Stack Trace" Action="create"> |
581 <RegistryValue Type="integer" Value="1"/> | 603 <RegistryValue Type="integer" Value="1"/> |
582 </RegistryKey> | 604 </RegistryKey> |
583 <RegistryKey Key="Text Only" Action="create"> | 605 <RegistryKey Key="Text Only" Action="create"> |
584 <RegistryValue Type="integer" Value="2"/> | 606 <RegistryValue Type="integer" Value="2"/> |
585 </RegistryKey> | 607 </RegistryKey> |
586 </RegistryKey> | 608 </RegistryKey> |
587 </RegistryKey> | 609 </RegistryKey> |
588 </RegistryKey> | 610 </RegistryKey> |
589 </Component> | 611 </Component> |
590 | |
591 <!-- Delete the usagestats flag to reset the crash dump reporting settings | |
592 for existing users. --> | |
593 <Component Id="delete_usagestats" | |
594 Guid="5c73f2b9-b865-426f-81cc-90a27ebb54aa" | |
595 KeyPath="yes"> | |
596 <Condition>BROKENUSAGESTATSVERSION</Condition> | |
597 <RemoveRegistryValue | |
598 Id="usagestats" | |
599 Key="SOFTWARE\Google\Update\ClientStateMedium\$(var.OmahaAppid)" | |
600 Name="usagestats" | |
601 Root="HKLM" /> | |
602 </Component> | |
603 | |
604 </DirectoryRef> | 612 </DirectoryRef> |
605 | 613 |
606 <DirectoryRef Id="config_files"> | 614 <DirectoryRef Id="config_files"> |
607 <!-- Delete debug.log from previous versions --> | 615 <!-- Delete debug.log from previous versions --> |
608 <Component Id="delete_debug_log" | 616 <Component Id="delete_debug_log" |
609 Guid="b309082a-e6fa-4dc7-98e4-3d83c896561d"> | 617 Guid="b309082a-e6fa-4dc7-98e4-3d83c896561d"> |
610 <RemoveFile Id="debug.log" | 618 <RemoveFile Id="debug.log" |
611 Name="debug.log" | 619 Name="debug.log" |
612 On="both" /> | 620 On="both" /> |
613 </Component> | 621 </Component> |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
705 <Custom Action="set_service_description" Before="InstallInitialize"> | 713 <Custom Action="set_service_description" Before="InstallInitialize"> |
706 <![CDATA[VersionNT >= 600]]> | 714 <![CDATA[VersionNT >= 600]]> |
707 </Custom> | 715 </Custom> |
708 | 716 |
709 <!-- Schedule RemoveExistingProducts before installing any files. | 717 <!-- Schedule RemoveExistingProducts before installing any files. |
710 See http://msdn.microsoft.com/en-us/library/aa371197.aspx. --> | 718 See http://msdn.microsoft.com/en-us/library/aa371197.aspx. --> |
711 <RemoveExistingProducts After="InstallInitialize" /> | 719 <RemoveExistingProducts After="InstallInitialize" /> |
712 </InstallExecuteSequence> | 720 </InstallExecuteSequence> |
713 </Product> | 721 </Product> |
714 </Wix> | 722 </Wix> |
OLD | NEW |