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 <?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 CoreBinary = "remoting_core.dll" ?> | |
27 | |
28 <?define ControllerAppid = "{4ff35d5e-d226-4550-9248-03e7779e67de}" ?> | 26 <?define ControllerAppid = "{4ff35d5e-d226-4550-9248-03e7779e67de}" ?> |
29 <?define ControllerBinary = "remoting_controller.exe" ?> | 27 <?define ControllerBinary = "remoting_controller.exe" ?> |
30 <?define ControllerClass = "ElevatedController Class" ?> | 28 <?define ControllerClass = "ElevatedController Class" ?> |
31 <?define ControllerProgid = | 29 <?define ControllerProgid = |
32 "ChromotingElevatedController.ElevatedController" ?> | 30 "ChromotingElevatedController.ElevatedController" ?> |
33 <?define ControllerTypelib = "{9d9a5a2c-576e-4acd-9c75-aabff74b205d}" ?> | 31 <?define ControllerTypelib = "{9d9a5a2c-576e-4acd-9c75-aabff74b205d}" ?> |
34 | 32 |
35 <!-- | 33 <!-- |
36 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, |
37 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 |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 </Directory> | 129 </Directory> |
132 | 130 |
133 <DirectoryRef Id="binaries"> | 131 <DirectoryRef Id="binaries"> |
134 <Component Id="sas" Guid="*"> | 132 <Component Id="sas" Guid="*"> |
135 <File Id="sas.dll" | 133 <File Id="sas.dll" |
136 DiskId="1" | 134 DiskId="1" |
137 Name="sas.dll" | 135 Name="sas.dll" |
138 Vital="yes"/> | 136 Vital="yes"/> |
139 </Component> | 137 </Component> |
140 | 138 |
141 <Component Id="remoting_core" Guid="*"> | |
142 <File Id="$(var.CoreBinary)" | |
143 DiskId="1" | |
144 KeyPath="yes" | |
145 Name="$(var.CoreBinary)" | |
146 Vital="yes"/> | |
147 | |
148 <util:EventSource xmlns:util="http://schemas.microsoft.com/wix/UtilExten
sion" | |
149 Name="$(var.EventSourceName)" | |
150 Log="Application" | |
151 CategoryCount="1" | |
152 CategoryMessageFile="[#$(var.CoreBinary)]" | |
153 EventMessageFile="[#$(var.CoreBinary)]" | |
154 SupportsErrors="yes" | |
155 SupportsInformationals="yes"/> | |
156 </Component> | |
157 | |
158 <?if $(var.RemotingMultiProcess) != 0 ?> | 139 <?if $(var.RemotingMultiProcess) != 0 ?> |
159 <Component Id="remoting_desktop" Guid="*"> | 140 <Component Id="remoting_desktop" Guid="*"> |
160 <File Id="remoting_desktop.exe" | 141 <File Id="remoting_desktop.exe" |
161 DiskId="1" | 142 DiskId="1" |
162 KeyPath="yes" | 143 KeyPath="yes" |
163 Name="remoting_desktop.exe" | 144 Name="remoting_desktop.exe" |
164 Vital="yes"/> | 145 Vital="yes"/> |
165 </Component> | 146 </Component> |
166 <?endif?> | 147 <?endif?> |
167 | 148 |
(...skipping 21 matching lines...) Expand all Loading... |
189 Remove="uninstall" | 170 Remove="uninstall" |
190 Name="$(var.ServiceName)" | 171 Name="$(var.ServiceName)" |
191 Wait="yes" /> | 172 Wait="yes" /> |
192 </Component> | 173 </Component> |
193 | 174 |
194 <Component Id="remoting_host" Guid="*"> | 175 <Component Id="remoting_host" Guid="*"> |
195 <File Id="remoting_host.exe" | 176 <File Id="remoting_host.exe" |
196 DiskId="1" | 177 DiskId="1" |
197 Name="remoting_host.exe" | 178 Name="remoting_host.exe" |
198 Vital="yes"/> | 179 Vital="yes"/> |
| 180 <util:EventSource xmlns:util="http://schemas.microsoft.com/wix/UtilExten
sion" |
| 181 Name="$(var.EventSourceName)" |
| 182 Log="Application" |
| 183 CategoryCount="1" |
| 184 CategoryMessageFile="[#remoting_host.exe]" |
| 185 EventMessageFile="[#remoting_host.exe]" |
| 186 SupportsErrors="yes" |
| 187 SupportsInformationals="yes"/> |
| 188 |
199 <fire:FirewallException xmlns:fire="http://schemas.microsoft.com/wix/Fir
ewallExtension" | 189 <fire:FirewallException xmlns:fire="http://schemas.microsoft.com/wix/Fir
ewallExtension" |
200 Id="me2me_firewall_exception" | 190 Id="me2me_firewall_exception" |
201 IgnoreFailure="yes" | 191 IgnoreFailure="yes" |
202 Name="$(var.FirewallName)" | 192 Name="$(var.FirewallName)" |
203 Profile="all" | 193 Profile="all" |
204 Program="[#remoting_host.exe]" | 194 Program="[#remoting_host.exe]" |
205 Scope="any" /> | 195 Scope="any" /> |
206 </Component> | 196 </Component> |
207 | 197 |
208 <?if $(var.OfficialBuild) != 0 ?> | 198 <?if $(var.OfficialBuild) != 0 ?> |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
276 <RegistryKey Key="$(var.ControllerClsid)" Action="create"> | 266 <RegistryKey Key="$(var.ControllerClsid)" Action="create"> |
277 <RegistryValue Type="string" | 267 <RegistryValue Type="string" |
278 Value="$(var.ControllerClass)"/> | 268 Value="$(var.ControllerClass)"/> |
279 | 269 |
280 <RegistryValue Type="string" | 270 <RegistryValue Type="string" |
281 Name="AppID" | 271 Name="AppID" |
282 Value="$(var.ControllerAppid)"/> | 272 Value="$(var.ControllerAppid)"/> |
283 | 273 |
284 <RegistryValue Type="string" | 274 <RegistryValue Type="string" |
285 Name="LocalizedString" | 275 Name="LocalizedString" |
286 Value="@[binaries]$(var.CoreBinary),-103"/> | 276 Value="@[#$(var.ControllerBinary)],-100"/> |
287 | 277 |
288 <RegistryKey Key="LocalServer32" Action="create"> | 278 <RegistryKey Key="LocalServer32" Action="create"> |
289 <RegistryValue Type="string" | 279 <RegistryValue Type="string" |
290 Value="[#$(var.ControllerBinary)]"/> | 280 Value="[#$(var.ControllerBinary)]"/> |
291 </RegistryKey> | 281 </RegistryKey> |
292 | 282 |
293 <RegistryKey Key="ProgID" Action="create"> | 283 <RegistryKey Key="ProgID" Action="create"> |
294 <RegistryValue Type="string" | 284 <RegistryValue Type="string" |
295 Value="$(var.ControllerProgid).$(var.Version)"/> | 285 Value="$(var.ControllerProgid).$(var.Version)"/> |
296 </RegistryKey> | 286 </RegistryKey> |
297 | 287 |
298 <RegistryKey Key="TypeLib" Action="create"> | 288 <RegistryKey Key="TypeLib" Action="create"> |
299 <RegistryValue Type="string" | 289 <RegistryValue Type="string" |
300 Value="$(var.ControllerTypelib)"/> | 290 Value="$(var.ControllerTypelib)"/> |
301 </RegistryKey> | 291 </RegistryKey> |
302 | 292 |
303 <RegistryKey Key="VersionIndependentProgID" Action="create"> | 293 <RegistryKey Key="VersionIndependentProgID" Action="create"> |
304 <RegistryValue Type="string" | 294 <RegistryValue Type="string" |
305 Value="$(var.ControllerProgid)"/> | 295 Value="$(var.ControllerProgid)"/> |
306 </RegistryKey> | 296 </RegistryKey> |
307 | 297 |
308 <RegistryKey Key="Elevation" Action="create"> | 298 <RegistryKey Key="Elevation" Action="create"> |
309 <RegistryValue Type="integer" | 299 <RegistryValue Type="integer" |
310 Name="Enabled" | 300 Name="Enabled" |
311 Value="1"/> | 301 Value="1"/> |
312 <RegistryValue Type="string" | 302 <RegistryValue Type="string" |
313 Name="IconReference" | 303 Name="IconReference" |
314 Value="@[binaries]$(var.CoreBinary),-104"/> | 304 Value="@[#$(var.ControllerBinary)],-101"/> |
315 </RegistryKey> | 305 </RegistryKey> |
316 </RegistryKey> | 306 </RegistryKey> |
317 </RegistryKey> | 307 </RegistryKey> |
318 | 308 |
319 <RegistryKey Key="Interface"> | 309 <RegistryKey Key="Interface"> |
320 <RegistryKey Key="{655bd819-c08c-4b04-80c2-f160739ff6ef}" | 310 <RegistryKey Key="{655bd819-c08c-4b04-80c2-f160739ff6ef}" |
321 Action="create"> | 311 Action="create"> |
322 <RegistryKey Key="ProxyStubClsid32" Action="create"> | 312 <RegistryKey Key="ProxyStubClsid32" Action="create"> |
323 <RegistryValue Type="string" | 313 <RegistryValue Type="string" |
324 Value="{00020424-0000-0000-C000-000000000046}"/> | 314 Value="{00020424-0000-0000-C000-000000000046}"/> |
(...skipping 18 matching lines...) Expand all Loading... |
343 </RegistryKey> | 333 </RegistryKey> |
344 </RegistryKey> | 334 </RegistryKey> |
345 </RegistryKey> | 335 </RegistryKey> |
346 | 336 |
347 <RegistryKey Key="Typelib"> | 337 <RegistryKey Key="Typelib"> |
348 <RegistryKey Key="$(var.ControllerTypelib)" Action="create"> | 338 <RegistryKey Key="$(var.ControllerTypelib)" Action="create"> |
349 <RegistryKey Key="1.1" Action="create"> | 339 <RegistryKey Key="1.1" Action="create"> |
350 <RegistryKey Key="0" Action="create"> | 340 <RegistryKey Key="0" Action="create"> |
351 <RegistryKey Key="win32" Action="create"> | 341 <RegistryKey Key="win32" Action="create"> |
352 <RegistryValue Type="string" | 342 <RegistryValue Type="string" |
353 Value="@[binaries]$(var.CoreBinary)"/> | 343 Value="[#$(var.ControllerBinary)]"/> |
354 </RegistryKey> | 344 </RegistryKey> |
355 </RegistryKey> | 345 </RegistryKey> |
356 | 346 |
357 <RegistryKey Key="FLAGS" Action="create"> | 347 <RegistryKey Key="FLAGS" Action="create"> |
358 <RegistryValue Type="string" | 348 <RegistryValue Type="string" |
359 Value="0"/> | 349 Value="0"/> |
360 </RegistryKey> | 350 </RegistryKey> |
361 | 351 |
362 <RegistryKey Key="HELPDIR" Action="create"> | 352 <RegistryKey Key="HELPDIR" Action="create"> |
363 <RegistryValue Type="string" | 353 <RegistryValue Type="string" |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
440 Execute="deferred" | 430 Execute="deferred" |
441 Script="jscript"> | 431 Script="jscript"> |
442 <![CDATA[ | 432 <![CDATA[ |
443 var controller = new ActiveXObject("$(var.ControllerProgid)"); | 433 var controller = new ActiveXObject("$(var.ControllerProgid)"); |
444 controller.StartDaemon(); | 434 controller.StartDaemon(); |
445 ]]> | 435 ]]> |
446 </CustomAction> | 436 </CustomAction> |
447 | 437 |
448 <CustomAction Id="set_service_display_name" | 438 <CustomAction Id="set_service_display_name" |
449 Property="chromoting_service_display_name" | 439 Property="chromoting_service_display_name" |
450 Value="@[binaries]$(var.CoreBinary),-101" /> | 440 Value="@[binaries]remoting_daemon.exe,-101" /> |
451 <CustomAction Id="set_service_description" | 441 <CustomAction Id="set_service_description" |
452 Property="chromoting_service_description" | 442 Property="chromoting_service_description" |
453 Value="@[binaries]$(var.CoreBinary),-102" /> | 443 Value="@[binaries]remoting_daemon.exe,-102" /> |
454 | 444 |
455 <!-- XP does not support MUI strings in the service name and description, so | 445 <!-- XP does not support MUI strings in the service name and description, so |
456 we fall back to plain strings on XP. --> | 446 we fall back to plain strings on XP. --> |
457 <CustomAction Id="set_service_display_name_xp" | 447 <CustomAction Id="set_service_display_name_xp" |
458 Property="chromoting_service_display_name" | 448 Property="chromoting_service_display_name" |
459 Value="$(var.ChromotingServiceName)" /> | 449 Value="$(var.ChromotingServiceName)" /> |
460 <CustomAction Id="set_service_description_xp" | 450 <CustomAction Id="set_service_description_xp" |
461 Property="chromoting_service_description" | 451 Property="chromoting_service_description" |
462 Value="$(var.ChromotingServiceDescription)" /> | 452 Value="$(var.ChromotingServiceDescription)" /> |
463 | 453 |
464 <UIRef Id="WixUI_ErrorProgressText" /> | 454 <UIRef Id="WixUI_ErrorProgressText" /> |
465 | 455 |
466 <Feature Id="chromoting_host" Level="1" Title="$(var.ChromotingHost)"> | 456 <Feature Id="chromoting_host" Level="1" Title="$(var.ChromotingHost)"> |
467 <ComponentRef Id="delete_debug_log"/> | 457 <ComponentRef Id="delete_debug_log"/> |
468 <ComponentRef Id="delete_usagestats"/> | 458 <ComponentRef Id="delete_usagestats"/> |
469 <?if $(var.OfficialBuild) != 0 ?> | 459 <?if $(var.OfficialBuild) != 0 ?> |
470 <ComponentRef Id="omaha_registration"/> | 460 <ComponentRef Id="omaha_registration"/> |
471 <?endif?> | 461 <?endif?> |
472 <ComponentRef Id="remoting_controller"/> | 462 <ComponentRef Id="remoting_controller"/> |
473 <ComponentRef Id="remoting_core"/> | |
474 <ComponentRef Id="remoting_daemon"/> | 463 <ComponentRef Id="remoting_daemon"/> |
475 <?if $(var.RemotingMultiProcess) != 0 ?> | 464 <?if $(var.RemotingMultiProcess) != 0 ?> |
476 <ComponentRef Id="remoting_desktop"/> | 465 <ComponentRef Id="remoting_desktop"/> |
477 <?endif?> | 466 <?endif?> |
478 <ComponentRef Id="remoting_host"/> | 467 <ComponentRef Id="remoting_host"/> |
479 <ComponentRef Id="sas"/> | 468 <ComponentRef Id="sas"/> |
480 <ComponentRef Id="sawbuck_provider"/> | 469 <ComponentRef Id="sawbuck_provider"/> |
481 </Feature> | 470 </Feature> |
482 | 471 |
483 <!-- Set the icon shown in Add/Remove Programs. --> | 472 <!-- Set the icon shown in Add/Remove Programs. --> |
(...skipping 19 matching lines...) Expand all Loading... |
503 <Custom Action="set_service_description" Before="InstallInitialize"> | 492 <Custom Action="set_service_description" Before="InstallInitialize"> |
504 <![CDATA[VersionNT >= 600]]> | 493 <![CDATA[VersionNT >= 600]]> |
505 </Custom> | 494 </Custom> |
506 | 495 |
507 <!-- Schedule RemoveExistingProducts before installing any files. | 496 <!-- Schedule RemoveExistingProducts before installing any files. |
508 See http://msdn.microsoft.com/en-us/library/aa371197.aspx. --> | 497 See http://msdn.microsoft.com/en-us/library/aa371197.aspx. --> |
509 <RemoveExistingProducts After="InstallInitialize" /> | 498 <RemoveExistingProducts After="InstallInitialize" /> |
510 </InstallExecuteSequence> | 499 </InstallExecuteSequence> |
511 </Product> | 500 </Product> |
512 </Wix> | 501 </Wix> |
OLD | NEW |