OLD | NEW |
| (Empty) |
1 <?xml version="1.0" encoding="Windows-1252"?> | |
2 <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> | |
3 <Product Id="A92DAB39-4E2C-4304-9AB6-BC44E68B55E2" | |
4 Name="Google Update Helper" | |
5 Language="1033" | |
6 Codepage="1252" | |
7 UpgradeCode="9515FFBD-40AB-4690-B983-4FA8E14EE7F5" | |
8 Version="$(var.GoogleUpdateVersion)" | |
9 Manufacturer="Google Inc."> | |
10 | |
11 <Package Id="*" | |
12 Description="Google Update Helper" | |
13 Comments="Copyright 2007-2010 Google Inc." | |
14 Manufacturer="Google Inc." | |
15 Languages="1033" | |
16 SummaryCodepage="1252" | |
17 InstallerVersion="300" | |
18 InstallPrivileges="elevated" | |
19 Compressed="no" /> | |
20 | |
21 <!-- Cannot patch an msi without a file --> | |
22 <Media Id="1" Cabinet="required.cab" EmbedCab="yes"/> | |
23 | |
24 <Directory Id="TARGETDIR" Name="SourceDir"> | |
25 <Directory Id="ProgramFilesFolder"> | |
26 <Directory Id="GoogleProgramDir" Name="Google"> | |
27 <Directory Id="UpdateDir" Name="Update"> | |
28 | |
29 <Component Id="MainComponent" Guid="717B7059-A988-492f-AF1B-DCF70BE8
09AB"> | |
30 <!-- Cannot have an msi patch without a file --> | |
31 <?if $(var.FinalMsi) = 1 ?> | |
32 <File Id="RequiredFile" Name="RequiredFile.txt" DiskId="1" Source=
"$(var.RequiredFile)" Vital="yes"/> | |
33 <?endif?> | |
34 <!-- Cannot have an empty component --> | |
35 <RegistryValue Id="NonEmptyComponent" Action="write" Root="HKLM" K
ey="SOFTWARE\Google\Update" Name="MsiStubRun" Type="integer" Value="0" /> | |
36 </Component> | |
37 | |
38 </Directory> | |
39 </Directory> | |
40 </Directory> | |
41 </Directory> | |
42 | |
43 <PatchCertificates> | |
44 <DigitalCertificate Id="CertificateForPatching" SourceFile="$(var.Certific
ateFile)" /> | |
45 </PatchCertificates> | |
46 | |
47 <Feature Id="Complete" Level="1"> | |
48 <ComponentRef Id="MainComponent" /> | |
49 </Feature> | |
50 | |
51 <?if $(var.FinalMsi) = 1 ?> | |
52 <Binary Id="ExecuteLibrary" SourceFile="$(var.ExecuteCustomActionDLL)" /> | |
53 | |
54 <!-- Need to mark these custom properties as secure so that in Vista they ar
e passed to the high-integrity msi server --> | |
55 <Property Id="EXECUTABLECOMMANDLINE" Secure="yes"/> | |
56 | |
57 <CustomAction Id="LaunchFile.PropertyAssign" Property="LaunchFile" Value="[E
XECUTABLECOMMANDLINE]" /> | |
58 | |
59 <CustomAction Id="LaunchFile" Return="ignore" Execute="deferred" Impersonate
="no" | |
60 BinaryKey="ExecuteLibrary" DllEntry="VerifyFileAndExecute"/> | |
61 | |
62 <InstallExecuteSequence> | |
63 <Custom Action="LaunchFile.PropertyAssign" Before="LaunchFile">NOT EXECUTA
BLECOMMANDLINE=""</Custom> | |
64 <Custom Action="LaunchFile" Before="InstallFinalize">NOT EXECUTABLECOMMAND
LINE=""</Custom> | |
65 </InstallExecuteSequence> | |
66 <?endif?> | |
67 | |
68 <!-- Make sure the product shows up for all users --> | |
69 <Property Id="ALLUSERS" Value="1" /> | |
70 | |
71 <!-- Hide ARP entry --> | |
72 <Property Id="ARPSYSTEMCOMPONENT" Value="1" /> | |
73 | |
74 <!-- Disable rollback to make the msi and patch a little faster. | |
75 If an install, patch, or unpatch fails, it is ok to leave behind a part
ial install/patch/unpatch. | |
76 A failed install prevents patching anyway. | |
77 A failed patch should not stop us from patching again (at least for a f
ew more times). | |
78 Rolling back a failed unpatch does not enable us to patch again. | |
79 And in all cases, the uninstaller should clean up whatever may be left
behind. --> | |
80 <Property Id="DISABLEROLLBACK" Value="1" /> | |
81 | |
82 </Product> | |
83 </Wix> | |
OLD | NEW |