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

Side by Side Diff: remoting/host/win/chromoting.wxs

Issue 10828352: [Chromoting] Avoid potential conflicts leading to pending reboots while upgrading the me2me host: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Made compilable and rebased Created 8 years, 4 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « remoting/host/plugin/daemon_controller_win.cc ('k') | remoting/host/win/elevated_controller.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 <?define FirewallName = "$(var.ChromotingHost)" ?> 21 <?define FirewallName = "$(var.ChromotingHost)" ?>
22 22
23 <?define OmahaAppid = "{b210701e-ffc4-49e3-932b-370728c72662}" ?> 23 <?define OmahaAppid = "{b210701e-ffc4-49e3-932b-370728c72662}" ?>
24 <?define UpgradeCode = "2b21f767-e157-4fa6-963c-55834c1433a6" ?> 24 <?define UpgradeCode = "2b21f767-e157-4fa6-963c-55834c1433a6" ?>
25 25
26 <?define ControllerAppid = "{4ff35d5e-d226-4550-9248-03e7779e67de}" ?> 26 <?define ControllerAppid = "{4ff35d5e-d226-4550-9248-03e7779e67de}" ?>
27 <?define ControllerBinary = "remoting_host_controller.exe" ?> 27 <?define ControllerBinary = "remoting_host_controller.exe" ?>
28 <?define ControllerClass = "ElevatedController Class" ?> 28 <?define ControllerClass = "ElevatedController Class" ?>
29 <?define ControllerClsid = "{430a9403-8176-4733-afdc-0b325a8fda84}" ?>
30 <?define ControllerProgid = 29 <?define ControllerProgid =
31 "ChromotingElevatedController.ElevatedController" ?> 30 "ChromotingElevatedController.ElevatedController" ?>
32 <?define ControllerTypelib = "{9d9a5a2c-576e-4acd-9c75-aabff74b205d}" ?> 31 <?define ControllerTypelib = "{9d9a5a2c-576e-4acd-9c75-aabff74b205d}" ?>
33 32
34 <!-- 33 <!--
35 The long hex value below is a security descriptor that allows SYSTEM, 34 The long hex value below is a security descriptor that allows SYSTEM,
36 built-in administrators and interactive users to call methods of a COM 35 built-in administrators and interactive users to call methods of a COM
37 object (COM_RIGHTS_EXECUTE and COM_RIGHTS_EXECUTE_LOCAL). The security 36 object (COM_RIGHTS_EXECUTE and COM_RIGHTS_EXECUTE_LOCAL). The security
38 descriptor was generated from SDDL definition using the PowerShell script 37 descriptor was generated from SDDL definition using the PowerShell script
39 below: 38 below:
40 39
41 $sddl = "O:BAG:BAD:(A;;0x3;;;IU)(A;;0x3;;;SY)(A;;0x3;;;BA)" 40 $sddl = "O:BAG:BAD:(A;;0x3;;;IU)(A;;0x3;;;SY)(A;;0x3;;;BA)"
42 $i = ([wmiclass]"Win32_SecurityDescriptorHelper").SDDLToBinarySD($sddl).Bi narySD 41 $i = ([wmiclass]"Win32_SecurityDescriptorHelper").SDDLToBinarySD($sddl).Bi narySD
43 -join ($i | foreach {$_.ToString("X2")}) 42 -join ($i | foreach {$_.ToString("X2")})
44 --> 43 -->
45 <?define ControllerSd = "010004805C0000006C00000000000000140000000200480003000 00000001400030000000101000000000005040000000000140003000000010100000000000512000 00000001800030000000102000000000005200000002002000001020000000000052000000020020 00001020000000000052000000020020000" ?> 44 <?define ControllerSd = "010004805C0000006C00000000000000140000000200480003000 00000001400030000000101000000000005040000000000140003000000010100000000000512000 00000001800030000000102000000000005200000002002000001020000000000052000000020020 00001020000000000052000000020020000" ?>
46 45
46 <?ifndef ControllerClsid ?>
47 <?error ControllerClsid must be defined ?>
48 <?endif?>
49
47 <?ifndef FileSource ?> 50 <?ifndef FileSource ?>
48 <?error FileSource must be defined ?> 51 <?error FileSource must be defined ?>
49 <?endif?> 52 <?endif?>
50 53
51 <?ifndef IconPath ?> 54 <?ifndef IconPath ?>
52 <?error IconPath must be defined ?> 55 <?error IconPath must be defined ?>
53 <?endif?> 56 <?endif?>
54 57
55 <?ifndef SasDllPath ?> 58 <?ifndef SasDllPath ?>
56 <?error SasDllPath must be defined ?> 59 <?error SasDllPath must be defined ?>
(...skipping 26 matching lines...) Expand all
83 AllowSameVersionUpgrades="yes" 86 AllowSameVersionUpgrades="yes"
84 DowngradeErrorMessage="A later version of [ProductName] is already install ed. Setup will now exit." 87 DowngradeErrorMessage="A later version of [ProductName] is already install ed. Setup will now exit."
85 Schedule="afterInstallInitialize" /> 88 Schedule="afterInstallInitialize" />
86 89
87 <Media Id="1" Cabinet="chromoting.cab" EmbedCab="yes"/> 90 <Media Id="1" Cabinet="chromoting.cab" EmbedCab="yes"/>
88 91
89 <Directory Id="TARGETDIR" Name="SourceDir"> 92 <Directory Id="TARGETDIR" Name="SourceDir">
90 <Directory Id="ProgramFilesFolder"> 93 <Directory Id="ProgramFilesFolder">
91 <?ifdef OfficialBuild ?> 94 <?ifdef OfficialBuild ?>
92 <Directory Id="program_files_google" Name="Google"> 95 <Directory Id="program_files_google" Name="Google">
93 <Directory Id="binaries" Name="Chrome Remote Desktop"/> 96 <Directory Id="chromoting" Name="Chrome Remote Desktop">
97 <Directory Id="binaries" Name="$(var.Version)"/>
98 </Directory>
94 </Directory> 99 </Directory>
95 <?else?> 100 <?else?>
96 <Directory Id="binaries" Name="Chromoting"/> 101 <Directory Id="chromoting" Name="Chromoting">
102 <Directory Id="binaries" Name="$(var.Version)"/>
103 </Directory>
97 <?endif?> 104 <?endif?>
98 </Directory> 105 </Directory>
99 <Directory Id="CommonAppDataFolder"> 106 <Directory Id="CommonAppDataFolder">
100 <?ifdef OfficialBuild ?> 107 <?ifdef OfficialBuild ?>
101 <Directory Id="common_app_data_google" Name="Google"> 108 <Directory Id="common_app_data_google" Name="Google">
102 <Directory Id="config_files" Name="Chrome Remote Desktop"/> 109 <Directory Id="config_files" Name="Chrome Remote Desktop"/>
103 </Directory> 110 </Directory>
104 <?else?> 111 <?else?>
105 <Directory Id="config_files" Name="Chromoting"/> 112 <Directory Id="config_files" Name="Chromoting"/>
106 <?endif?> 113 <?endif?>
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 <RegistryValue Type="string" 217 <RegistryValue Type="string"
211 Value="$(var.ControllerClass)"/> 218 Value="$(var.ControllerClass)"/>
212 219
213 <RegistryKey Key="CLSID" Action="create"> 220 <RegistryKey Key="CLSID" Action="create">
214 <RegistryValue Type="string" 221 <RegistryValue Type="string"
215 Value="$(var.ControllerClsid)"/> 222 Value="$(var.ControllerClsid)"/>
216 </RegistryKey> 223 </RegistryKey>
217 224
218 <RegistryKey Key="CurVer" Action="create"> 225 <RegistryKey Key="CurVer" Action="create">
219 <RegistryValue Type="string" 226 <RegistryValue Type="string"
220 Value="$(var.ControllerProgid).1"/> 227 Value="$(var.ControllerProgid).$(var.Version)"/>
221 </RegistryKey> 228 </RegistryKey>
222 </RegistryKey> 229 </RegistryKey>
223 230
224 <RegistryKey Key="$(var.ControllerProgid).1" Action="create"> 231 <RegistryKey Key="$(var.ControllerProgid).$(var.Version)"
232 Action="create">
225 <RegistryValue Type="string" 233 <RegistryValue Type="string"
226 Value="$(var.ControllerClass)"/> 234 Value="$(var.ControllerClass)"/>
227 235
228 <RegistryKey Key="CLSID" Action="create"> 236 <RegistryKey Key="CLSID" Action="create">
229 <RegistryValue Type="string" 237 <RegistryValue Type="string"
230 Value="$(var.ControllerClsid)"/> 238 Value="$(var.ControllerClsid)"/>
231 </RegistryKey> 239 </RegistryKey>
232 </RegistryKey> 240 </RegistryKey>
233 241
234 <RegistryKey Key="CLSID"> 242 <RegistryKey Key="CLSID">
235 <RegistryKey Key="$(var.ControllerClsid)" Action="create"> 243 <RegistryKey Key="$(var.ControllerClsid)" Action="create">
236 <RegistryValue Type="string" 244 <RegistryValue Type="string"
237 Value="$(var.ControllerClass)"/> 245 Value="$(var.ControllerClass)"/>
238 246
239 <RegistryValue Type="string" 247 <RegistryValue Type="string"
240 Name="AppID" 248 Name="AppID"
241 Value="$(var.ControllerAppid)"/> 249 Value="$(var.ControllerAppid)"/>
242 250
243 <RegistryValue Type="string" 251 <RegistryValue Type="string"
244 Name="LocalizedString" 252 Name="LocalizedString"
245 Value="@[#$(var.ControllerBinary)],-100"/> 253 Value="@[#$(var.ControllerBinary)],-100"/>
246 254
247 <RegistryKey Key="LocalServer32" Action="create"> 255 <RegistryKey Key="LocalServer32" Action="create">
248 <RegistryValue Type="string" 256 <RegistryValue Type="string"
249 Value="[#$(var.ControllerBinary)]"/> 257 Value="[#$(var.ControllerBinary)]"/>
250 </RegistryKey> 258 </RegistryKey>
251 259
252 <RegistryKey Key="ProgID" Action="create"> 260 <RegistryKey Key="ProgID" Action="create">
253 <RegistryValue Type="string" 261 <RegistryValue Type="string"
254 Value="$(var.ControllerProgid).1"/> 262 Value="$(var.ControllerProgid).$(var.Version)"/>
255 </RegistryKey> 263 </RegistryKey>
256 264
257 <RegistryKey Key="TypeLib" Action="create"> 265 <RegistryKey Key="TypeLib" Action="create">
258 <RegistryValue Type="string" 266 <RegistryValue Type="string"
259 Value="$(var.ControllerTypelib)"/> 267 Value="$(var.ControllerTypelib)"/>
260 </RegistryKey> 268 </RegistryKey>
261 269
262 <RegistryKey Key="VersionIndependentProgID" Action="create"> 270 <RegistryKey Key="VersionIndependentProgID" Action="create">
263 <RegistryValue Type="string" 271 <RegistryValue Type="string"
264 Value="$(var.ControllerProgid)"/> 272 Value="$(var.ControllerProgid)"/>
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
406 </Custom> 414 </Custom>
407 <Custom Action="set_service_display_name" Before="InstallInitialize"> 415 <Custom Action="set_service_display_name" Before="InstallInitialize">
408 <![CDATA[VersionNT >= 600]]> 416 <![CDATA[VersionNT >= 600]]>
409 </Custom> 417 </Custom>
410 <Custom Action="set_service_description" Before="InstallInitialize"> 418 <Custom Action="set_service_description" Before="InstallInitialize">
411 <![CDATA[VersionNT >= 600]]> 419 <![CDATA[VersionNT >= 600]]>
412 </Custom> 420 </Custom>
413 </InstallExecuteSequence> 421 </InstallExecuteSequence>
414 </Product> 422 </Product>
415 </Wix> 423 </Wix>
OLDNEW
« no previous file with comments | « remoting/host/plugin/daemon_controller_win.cc ('k') | remoting/host/win/elevated_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698