Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: installer/adblockplusie.wxs

Issue 5673404602515456: Close and reopen IE and engine during intallation (Closed)
Patch Set: Created Feb. 10, 2014, 12:55 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | installer/installer.gyp » ('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" encoding="UTF-8"?> 1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- 2 <!--
3 Compilation Note: 3 Compilation Note:
4 You may see linking errors that look like these: 4 You may see linking errors that look like these:
5 <quote>LGHT0217 : Error executing ICE action 'ICExx' [...] The error code is 2738.</quote> 5 <quote>LGHT0217 : Error executing ICE action 'ICExx' [...] The error code is 2738.</quote>
6 The documentation for this error code talks about custom actions, 6 The documentation for this error code talks about custom actions,
7 even though the CustomAction keyword does not appear in this source. 7 even though the CustomAction keyword does not appear in this source.
8 Certain WiX elements are implemented by MSI custom actions, 8 Certain WiX elements are implemented by MSI custom actions,
9 which means this source implicitly declares some insofar as the Windows Inst aller sees it. 9 which means this source implicitly declares some insofar as the Windows Inst aller sees it.
10 These errors are benign and can be avoided by some fiddling with the registry on the development machine. 10 These errors are benign and can be avoided by some fiddling with the registry on the development machine.
11 See http://wix.sourceforge.net/faq.html#Error217 11 See http://blogs.msdn.com/b/heaths/archive/2007/05/31/windows-installer-errors -2738-and-2739-with-script-custom-actions.aspx
12 and http://blogs.msdn.com/b/astebner/archive/2007/06/07/3151752.aspx,
13 both taken from (must use the Wayback Machine) http://wix.sourceforge.net/fa q.html#Error217
12 --> 14 -->
13 <!-- 15 <!--
14 These definitions enable compiling multiple versions & Product ID's from the s ame file. 16 These definitions enable compiling multiple versions & Product ID's from the s ame file.
15 This is to allow testing upgrade features without having to switch back and fo rth between working copies. 17 This is to allow testing upgrade features without having to switch back and fo rth between working copies.
16 --> 18 -->
17 <?ifdef Version ?> 19 <?ifdef Version ?>
18 <!-- 20 <!--
19 If we're given a version on the command line, use it. 21 If we're given a version on the command line, use it.
20 We use a short name on the command line for ease of use. 22 We use a short name on the command line for ease of use.
21 We use a longer name within this file for clarity about which "version" it i s specifically 23 We use a longer name within this file for clarity about which "version" it i s specifically
22 --> 24 -->
23 <?define Product_Version=$(var.Version) ?> 25 <?define Product_Version=$(var.Version) ?>
24 <?else?> 26 <?else?>
25 <?error "Version" parameter is required ?> 27 <?error "Version" parameter is required ?>
26 <?endif?> 28 <?endif?>
27 29
28 <?ifndef Configuration ?> 30 <?ifndef Configuration ?>
29 <?error "Configuration" parameter is required ?> 31 <?error "Configuration" parameter is required ?>
30 <?endif?> 32 <?endif?>
31 33
32 <!-- 34 <!--
35 CA_Configuration is the Visual Studio configuration for the Custom Action libr ary.
36 It's set to "Debug" while the installer with a CA is in development.
37 TODO.
38 First, set this variable based on the configuration in the VS solution.
39 Second, change the default to "Release" (or perhaps an error).
40 -->
41 <?ifndef CA_Configuration?>
42 <?define CA_Configuration="Debug" ?>
43 <?endif?>
44
45 <!--
33 sys.BUILDARCH is set by the command line argument '-arch'. 46 sys.BUILDARCH is set by the command line argument '-arch'.
34 The default value to "x86" 47 The default value to "x86"
35 --> 48 -->
36 <?if $(sys.BUILDARCH)="x86"?> 49 <?if $(sys.BUILDARCH)="x86"?>
37 <?define Minimum_Version="100"?> 50 <?define Minimum_Version="100"?>
38 <?define Program_Files="ProgramFilesFolder"?> 51 <?define Program_Files="ProgramFilesFolder"?>
39 <?define Product_Name="!(loc.ProductName32)"?> 52 <?define Product_Name="!(loc.ProductName32)"?>
40 <?elseif $(sys.BUILDARCH)="x64"?> 53 <?elseif $(sys.BUILDARCH)="x64"?>
41 <?define Minimum_Version="200"?> 54 <?define Minimum_Version="200"?>
42 <?define Program_Files="ProgramFiles64Folder"?> 55 <?define Program_Files="ProgramFiles64Folder"?>
43 <?define Product_Name="!(loc.ProductName64)"?> 56 <?define Product_Name="!(loc.ProductName64)"?>
44 <?else?> 57 <?else?>
45 <?error Unsupported value of sys.BUILDARCH=$(sys.BUILDARCH)?> 58 <?error Unsupported value of sys.BUILDARCH=$(sys.BUILDARCH)?>
46 <?endif?> 59 <?endif?>
47 60
48 <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> 61 <!--
62 The current directory when the compiler runs is "installer/build/<arch>".
63 Most assets are based in the root directory, three levels up.
64 The custom action library is base in the installer directory, two levels up.
65 -->
66 <?define plugin_dir="C:\build\ia32\Release" ?>
67 <?define installer_dir="..\.." ?>
68
69 <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:util='http://schemas .microsoft.com/wix/UtilExtension'>
70 <!--
71 The attributes 'Language' and 'Codepage' are specifications for the database only.
72 Codepage 65001 is UTF-8.
73 -->
49 <Product 74 <Product
50 Name="$(var.Product_Name)" 75 Name="$(var.Product_Name)"
51 Manufacturer="Eyeo GmbH" 76 Manufacturer="Eyeo GmbH"
52 Version="$(var.Product_Version)" 77 Version="$(var.Product_Version)"
53 Language="!(loc.LANG)" Codepage="1252" 78 Language="!(loc.LANG)" Codepage="1252"
54 Id="*" 79 Id="*"
55 UpgradeCode="3a8e3ab4-762d-4641-806e-2dccb953d73f"> 80 UpgradeCode="3a8e3ab4-762d-4641-806e-2dccb953d73f">
81 <!--
82 Attribute @Languages
83 The list contains all the languages supported within the MSI, all but th e first as embedded transforms.
84 The first language code is the language of the base MSI.
85 -->
86 <!--
87 At the present time, we are not localizing the summary information because of limitations
88 both in Windows Installer and in the tool chain.
89 At a later time, localizing this section requires setting an ANSI codepage
90 and the four attributes Keywords, Description, Comments, and Manufacture r.
91 -->
92 <!--
93 For the present version, the following languages are omitted because the W iX UI extension has no localizations for them yet.
94 They can be added later, but the build script needs to be changed to accep t arguments for the extra localization source.
95 fil-PH. Filipino - Phillipines. LCID = 1124
96 kn-IN. Kanada - India. LCID = 1099
97 mr-IN. Maratha - India. LCID = 1102
98 ms. Malaysian - generic. LCID = 62
99 nn-NO. Nynorsk - Norway. LCID = 2068
100 ur-PK. Urdu - Pakistan. LCID = 1056
101 They are being omitted by having their decimal LCID left out of the Packag es/@Languages attribute below.
102 The build system presently embeds transforms for them, but without their L CID in this list, they won't be recognized.
103 These embedded transforms, however, can be explicitly applied on the comma nd line of msiexec.
104 -->
56 105
57 <Package 106 <Package
58 Keywords="!(loc.Keywords)" 107 SummaryCodepage="1252"
59 Description="!(loc.Description)" 108 Keywords="Installer, Adblock Plus"
60 Comments="!(loc.Comments)" 109 Description="Adblock Plus for IE"
110 Comments="Thank you for using Adblock Plus."
111 Manufacturer="Eyeo GmbH"
61 InstallerVersion="$(var.Minimum_Version)" 112 InstallerVersion="$(var.Minimum_Version)"
62 Languages="!(loc.LANG)" SummaryCodepage="!(loc.CODEPAGE)" 113 Languages="7,1,9,12,16,19,1026,1027,1028,1029,1030,1032,1034,1035,1037,103 8,1041,1044,1045,1046,1048,1049,1050,1051,1053,1054,1055,1058,1061,1081,2052,207 0"
63 Compressed="yes" 114 Compressed="yes"
64 InstallScope="perMachine" InstallPrivileges="elevated" 115 InstallScope="perMachine" InstallPrivileges="elevated"
65 /> 116 />
66 <!-- 117 <!--
67 The MajorUpgrade tag allows us to specify the relationship between our 118 The MajorUpgrade tag allows us to specify the relationship between our
68 version number and the one installed. The attribute Disallow="no" is 119 version number and the one installed. The attribute Disallow="no" is
69 implied and allows major upgrades to be performed. Downgrades aren't 120 implied and allows major upgrades to be performed. Downgrades aren't
70 allowed by default. 121 allowed by default.
71 122
72 123
73 The @Schedule attribute looks a little opaque. 124 The @Schedule attribute looks a little opaque.
74 Suffice it to say that it's the only option for scheduling where uninstall ation of the previous version 125 Suffice it to say that it's the only option for scheduling where uninstall ation of the previous version
75 and installation of the present version is _always_ going to act atomica lly. 126 and installation of the present version is _always_ going to act atomica lly.
76 It's a shame that you to even explicitly make that choice. 127 It's a shame that you to even explicitly make that choice.
77 --> 128 -->
78 <MajorUpgrade 129 <MajorUpgrade
79 Schedule="afterInstallExecute" 130 Schedule="afterInstallExecute"
80 DowngradeErrorMessage="!(loc.AlreadyInstalled)" 131 DowngradeErrorMessage="!(loc.AlreadyInstalled)"
81 /> 132 />
82 <MediaTemplate EmbedCab="yes"/> 133 <MediaTemplate EmbedCab="yes"/>
83 134
84 <!-- 135 <!--
85 User interface 136 User interface
86 --> 137 -->
87 <UIRef Id="custom_WixUI_InstallDir"/> 138 <UIRef Id="custom_WixUI_InstallDir"/>
88 <UIRef Id="WixUI_ErrorProgressText"/> 139 <UIRef Id="WixUI_ErrorProgressText"/>
89 <Property Id="WIXUI_INSTALLDIR" Value="INSTALLFOLDER"/> 140 <Property Id="WIXUI_INSTALLDIR" Value="INSTALLFOLDER"/>
90 141
142 <util:CloseApplication Id="CloseEngine" CloseMessage="yes" ElevatedCloseMess age="yes" Target="AdblockPlusEngine.exe"
143 PromptToContinue="no" RebootPrompt="no" TerminateProcess="1">
144
145 </util:CloseApplication>
146 <util:CloseApplication Id="CloseInternetExplorer" CloseMessage="yes" Elevate dCloseMessage="yes" Target="iexplore.exe"
147 PromptToContinue="no" RebootPrompt="no" TerminateProcess="1">
148 </util:CloseApplication>
149
150
91 <!-- 151 <!--
92 Define and schedule a "Custom Action Type 1" to ensure that IE is closed b efore installation. 152 Get the location of IE from the regisry and launch it when finished with the install.
93 Because WiX is closely tied to the MSI database format, there are multiple tags required to do this. 153 TODO: Define a proper URL to navigate to in this case
94 The "CustomAction" tag defines the tag itself, but doesn't sequence it;
95 it defines an entry in the "CustomAction" table.
96 The "Binary" tag describe an asset that's incorporated into the MSI but th at is not an installed component.
97 The "Custom" tag defines the sequencing of an action;
98 it defines an entry in one of the sequence tables (there are six).
99
100 Attribute "Return" sets the "Custom Action Return Processing Options" to z ero,
101 which indicates to block the installer until the action completes
102 and to treat a non-zero return value from the action as an error.
103 --> 154 -->
104 <CustomAction 155 <Property Id="IE">
105 Id="Close_IE" 156 <RegistrySearch Id='IERegPath' Type='raw' Root='HKLM' Key='SOFTWARE\Micros oft\Windows\CurrentVersion\App Paths\IEXPLORE.EXE' />
106 BinaryKey="installer_ca" 157 </Property>
107 DllEntry="abp_close_applications" 158
108 Return="check" 159 <CustomAction Id='LaunchIE' Property='IE' ExeCommand='www.adblockplus.org' R eturn='asyncNoWait' Execute='commit' />
109 /> 160
110 <Binary Id="installer_ca" SourceFile="build\ia32\Debug\installer-ca.dll"/> 161 <InstallExecuteSequence>
111 <InstallUISequence> 162 <Custom Action="WixCloseApplications" After="InstallInitialize"></Custom>
112 <!-- 163 <Custom Action='LaunchIE' Before='InstallFinalize'></Custom>
113 The LaunchConditions action occurs near the beginning, before any of the expensive operations. 164 </InstallExecuteSequence>
114 -->
115 <Custom
116 Action="Close_IE"
117 After="LaunchConditions"
118 />
119 </InstallUISequence>
120 165
121 <!-- 166 <!--
122 We have only a single feature, since there aren't any optional parts. 167 We have only a single feature, since there aren't any optional parts.
123 The display is hidden for the same reason; there's nothing to choose from. 168 The display is hidden for the same reason; there's nothing to choose from.
124 --> 169 -->
125 <Feature Id="ProductFeature" 170 <Feature Id="ProductFeature"
126 Title="!(loc.Title)" Description="!(loc.UI_Description)" 171 Title="!(loc.Title)" Description="!(loc.UI_Description)"
127 Display="hidden"> 172 Display="hidden">
128 <ComponentGroupRef Id="Installation_Folders"/> 173 <ComponentGroupRef Id="Installation_Folders"/>
129 <ComponentGroupRef Id="Binaries"/> 174 <ComponentGroupRef Id="Binaries"/>
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 The present installer is a per-machine installer. 282 The present installer is a per-machine installer.
238 That means it writes to HKEY_LOCAL_MACHINE, so that all users on the machi ne will have the BHO installed. 283 That means it writes to HKEY_LOCAL_MACHINE, so that all users on the machi ne will have the BHO installed.
239 It's possible to write keys to HKEY_CURRENT_USER in a situation where that 's not desirable, if needed. 284 It's possible to write keys to HKEY_CURRENT_USER in a situation where that 's not desirable, if needed.
240 --> 285 -->
241 <ComponentGroup Id="Binaries" Directory="INSTALLFOLDER"> 286 <ComponentGroup Id="Binaries" Directory="INSTALLFOLDER">
242 <!-- 287 <!--
243 The 32-bit version of the DLL is included in both 32- and 64-bit install ers. 288 The 32-bit version of the DLL is included in both 32- and 64-bit install ers.
244 We need an explicit value for attribute @Win64 so that the ARCH argument does not override its implicit value. 289 We need an explicit value for attribute @Win64 so that the ARCH argument does not override its implicit value.
245 --> 290 -->
246 <Component Id="AdblockPlus32.dll" Guid="d9a35780-d712-11e2-8b8b-0800200c9a 66" Win64="no"> 291 <Component Id="AdblockPlus32.dll" Guid="d9a35780-d712-11e2-8b8b-0800200c9a 66" Win64="no">
247 <File Id="AdblockPlus32.dll" Name="AdblockPlus32.dll" Source="..\build\i a32\$(var.Configuration)\AdblockPlus.dll" KeyPath="yes" Checksum="yes"> 292 <File Id="AdblockPlus32.dll" Name="AdblockPlus32.dll" Source="$(var.plug in_dir)\build\ia32\$(var.Configuration)\AdblockPlus.dll" KeyPath="yes" Checksum= "yes">
248 <?include dll_class.wxi ?> 293 <?include dll_class.wxi ?>
249 </File> 294 </File>
250 <?include bho_registry_value.wxi ?> 295 <?include bho_registry_value.wxi ?>
251 </Component> 296 </Component>
252 <!-- 297 <!--
253 The 64-bit version of the DLL is only included in the 64-bit installer. 298 The 64-bit version of the DLL is only included in the 64-bit installer.
254 We don't really need an explicit value for attribute @Win64, but it's th ere for resilience. 299 We don't really need an explicit value for attribute @Win64, but it's th ere for resilience.
255 300
256 Note that the <Class> element and the <RegistryKey> element are duplicat ed from the 32-bit version. 301 Note that the <Class> element and the <RegistryKey> element are duplicat ed from the 32-bit version.
257 We use "include" directives to ensure that they are identical. 302 We use "include" directives to ensure that they are identical.
258 They have to be the same to support both the 32- and 64-bit versions of Internet Explorer on a 64-bit system. 303 They have to be the same to support both the 32- and 64-bit versions of Internet Explorer on a 64-bit system.
259 IE uses the same algorithm to search for BHO regardless of platform, 304 IE uses the same algorithm to search for BHO regardless of platform,
260 so with two versions of IE, we need two identical registrations. 305 so with two versions of IE, we need two identical registrations.
261 The 32-bit version on a 64-bit system will be registered under "Wow6432N ode" translated keys, 306 The 32-bit version on a 64-bit system will be registered under "Wow6432N ode" translated keys,
262 while the 64-bit version will be under the keys as they appear in this source, not translated. 307 while the 64-bit version will be under the keys as they appear in this source, not translated.
263 We don't need to put in the "Wow6432Node" registry key explicitly; 308 We don't need to put in the "Wow6432Node" registry key explicitly;
264 something in Windows Installer takes care of the mapping transparently . 309 something in Windows Installer takes care of the mapping transparently .
265 --> 310 -->
266 <?if $(sys.BUILDARCH)="x64"?> 311 <?if $(sys.BUILDARCH)="x64"?>
267 <Component Id="AdblockPlus64.dll" Guid="ed77a2c0-d712-11e2-8b8b-0800200c 9a66" Win64="yes"> 312 <Component Id="AdblockPlus64.dll" Guid="ed77a2c0-d712-11e2-8b8b-0800200c 9a66" Win64="yes">
268 <File Id="AdblockPlus64.dll" Name="AdblockPlus64.dll" Source="..\build \x64\$(var.Configuration)\AdblockPlus.dll" KeyPath="yes" Checksum="yes"> 313 <File Id="AdblockPlus64.dll" Name="AdblockPlus64.dll" Source="$(var.pl ugin_dir)\build\x64\$(var.Configuration)\AdblockPlus.dll" KeyPath="yes" Checksum ="yes">
269 <?include dll_class.wxi ?> 314 <?include dll_class.wxi ?>
270 </File> 315 </File>
271 <?include bho_registry_value.wxi ?> 316 <?include bho_registry_value.wxi ?>
272 </Component> 317 </Component>
273 <?endif?> 318 <?endif?>
274 319
275 <!-- 320 <!--
276 The engine must go into the same directory as the DLL, since that locati on is searched explicitly (and uniquely). 321 The engine must go into the same directory as the DLL, since that locati on is searched explicitly (and uniquely).
277 --> 322 -->
278 <?if $(sys.BUILDARCH)="x86"?> 323 <?if $(sys.BUILDARCH)="x86"?>
279 <Component Id="AdblockPlusEngine.exe" Guid="f45572c0-d712-11e2-8b8b-0800 200c9a66" Win64="no"> 324 <Component Id="AdblockPlusEngine.exe" Guid="f45572c0-d712-11e2-8b8b-0800 200c9a66" Win64="no">
280 <File Id="AdblockPlusEngine.exe" Source="..\build\ia32\$(var.Configura tion)\AdblockPlusEngine.exe" KeyPath="yes" Checksum="yes"/> 325 <File Id="AdblockPlusEngine.exe" Source="$(var.plugin_dir)\build\ia32\ $(var.Configuration)\AdblockPlusEngine.exe" KeyPath="yes" Checksum="yes"/>
281 </Component> 326 </Component>
282 <?elseif $(sys.BUILDARCH)="x64"?> 327 <?elseif $(sys.BUILDARCH)="x64"?>
283 <Component Id="AdblockPlusEngine.exe" Guid="fa8d65d0-d712-11e2-8b8b-0800 200c9a66" Win64="yes"> 328 <Component Id="AdblockPlusEngine.exe" Guid="fa8d65d0-d712-11e2-8b8b-0800 200c9a66" Win64="yes">
284 <File Id="AdblockPlusEngine.exe" Source="..\build\x64\$(var.Configurat ion)\AdblockPlusEngine.exe" KeyPath="yes" Checksum="yes"/> 329 <File Id="AdblockPlusEngine.exe" Source="$(var.plugin_dir)\build\x64\$ (var.Configuration)\AdblockPlusEngine.exe" KeyPath="yes" Checksum="yes"/>
285 </Component> 330 </Component>
286 <?endif?> 331 <?endif?>
287 </ComponentGroup> 332 </ComponentGroup>
288 333
289 <!-- 334 <!--
290 The HTML_Tree component group contains all the files in the HTML folder. 335 The HTML_Tree component group contains all the files in the HTML folder.
291 Individual file entries within a single component group must all be in the same directory. 336 Individual file entries within a single component group must all be in the same directory.
292 Also, ComponentGroup is not a valid child of ComponentGroup, so subdirecto ries are linked by reference. 337 Also, ComponentGroup is not a valid child of ComponentGroup, so subdirecto ries are linked by reference.
293 --> 338 -->
294 <ComponentGroup Id="HTML_Tree"> 339 <ComponentGroup Id="HTML_Tree">
(...skipping 20 matching lines...) Expand all
315 <ComponentRef Id="html_static_js_IESettings.js"/> 360 <ComponentRef Id="html_static_js_IESettings.js"/>
316 <ComponentRef Id="html_static_js_ieFirstRun.js"/> 361 <ComponentRef Id="html_static_js_ieFirstRun.js"/>
317 <ComponentRef Id="html_static_js_settings.js"/> 362 <ComponentRef Id="html_static_js_settings.js"/>
318 <ComponentRef Id="html_static_js_vendor_DD.belatedPNG.js"/> 363 <ComponentRef Id="html_static_js_vendor_DD.belatedPNG.js"/>
319 <ComponentRef Id="html_static_js_vendor_html5shiv.js"/> 364 <ComponentRef Id="html_static_js_vendor_html5shiv.js"/>
320 <ComponentRef Id="html_templates_firstRun.html"/> 365 <ComponentRef Id="html_templates_firstRun.html"/>
321 <ComponentRef Id="html_templates_index.html"/> 366 <ComponentRef Id="html_templates_index.html"/>
322 </ComponentGroup> 367 </ComponentGroup>
323 368
324 <DirectoryRef Id="HTML_Folder"> 369 <DirectoryRef Id="HTML_Folder">
325 <Directory Id="html" FileSource="..\html"> 370 <Directory Id="html" FileSource="$(var.plugin_dir)\html">
326 <Directory Name="static" Id="html_static"> 371 <Directory Name="static" Id="html_static">
327 <Directory Name="css" Id="html_static_css"> 372 <Directory Name="css" Id="html_static_css">
328 <Component Id="html_static_css_firstRun.css" Guid="facb02d0-f073-11e 2-b778-0800200c9a66"> 373 <Component Id="html_static_css_firstRun.css" Guid="facb02d0-f073-11e 2-b778-0800200c9a66">
329 <File Name="firstRun.css"/> 374 <File Name="firstRun.css"/>
330 </Component> 375 </Component>
331 <Component Id="html_static_css_settings.css" Guid="07173c90-d713-11e 2-8b8b-0800200c9a66"> 376 <Component Id="html_static_css_settings.css" Guid="07173c90-d713-11e 2-8b8b-0800200c9a66">
332 <File Name="settings.css"/> 377 <File Name="settings.css"/>
333 </Component> 378 </Component>
334 </Directory> 379 </Directory>
335 <Directory Name="img" Id="html_static_img"> 380 <Directory Name="img" Id="html_static_img">
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
503 <ComponentRef Id="locales_ur_PK.ini"/> 548 <ComponentRef Id="locales_ur_PK.ini"/>
504 <ComponentRef Id="locales_uz.ini"/> 549 <ComponentRef Id="locales_uz.ini"/>
505 <ComponentRef Id="locales_vi.ini"/> 550 <ComponentRef Id="locales_vi.ini"/>
506 <ComponentRef Id="locales_xh.ini"/> 551 <ComponentRef Id="locales_xh.ini"/>
507 <ComponentRef Id="locales_zh_CN.ini"/> 552 <ComponentRef Id="locales_zh_CN.ini"/>
508 <ComponentRef Id="locales_zh_HK.ini"/> 553 <ComponentRef Id="locales_zh_HK.ini"/>
509 <ComponentRef Id="locales_zh_TW.ini"/> 554 <ComponentRef Id="locales_zh_TW.ini"/>
510 <ComponentRef Id="locales_zu.ini"/> 555 <ComponentRef Id="locales_zu.ini"/>
511 </ComponentGroup> 556 </ComponentGroup>
512 <DirectoryRef Id="Locales_Folder"> 557 <DirectoryRef Id="Locales_Folder">
513 <Directory Id="locales" FileSource="..\locales"> 558 <Directory Id="locales" FileSource="$(var.plugin_dir)\locales">
514 <Component Id="locales_af.ini" Guid="0311a948-3e76-45e8-83c0-8455fa9083b 7"> 559 <Component Id="locales_af.ini" Guid="0311a948-3e76-45e8-83c0-8455fa9083b 7">
515 <RemoveFile Id="af.ini" Name="af.ini" On="install"/> 560 <RemoveFile Id="af.ini" Name="af.ini" On="install"/>
516 </Component> 561 </Component>
517 <Component Id="locales_am.ini" Guid="cca25e4e-9b74-4e99-a592-c54a310fe80 6"> 562 <Component Id="locales_am.ini" Guid="cca25e4e-9b74-4e99-a592-c54a310fe80 6">
518 <RemoveFile Id="am.ini" Name="am.ini" On="install"/> 563 <RemoveFile Id="am.ini" Name="am.ini" On="install"/>
519 </Component> 564 </Component>
520 <Component Id="locales_ar.ini" Guid="2e25459f-e7e0-40bf-b9d2-05a60be967f 9"> 565 <Component Id="locales_ar.ini" Guid="2e25459f-e7e0-40bf-b9d2-05a60be967f 9">
521 <File Name="ar.ini"/> 566 <File Name="ar.ini"/>
522 </Component> 567 </Component>
523 <Component Id="locales_as.ini" Guid="871517f1-be55-4b8c-83b9-5da89230de6 b"> 568 <Component Id="locales_as.ini" Guid="871517f1-be55-4b8c-83b9-5da89230de6 b">
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
758 A component in Windows Installer represents a fixed piece of data with the MSI, not a changing one. 803 A component in Windows Installer represents a fixed piece of data with the MSI, not a changing one.
759 The present method of making settings.ini a component is simply an expedie nt for the present, 804 The present method of making settings.ini a component is simply an expedie nt for the present,
760 not a permanent solution. 805 not a permanent solution.
761 The correct solution requires the application to manage this file; the ins taller can't do it right. 806 The correct solution requires the application to manage this file; the ins taller can't do it right.
762 See http://stackoverflow.com/questions/357911/manage-configuration-files-w ith-wix 807 See http://stackoverflow.com/questions/357911/manage-configuration-files-w ith-wix
763 --> 808 -->
764 <ComponentGroup Id="INI_Files"> 809 <ComponentGroup Id="INI_Files">
765 <ComponentRef Id="ini_settings.ini"/> 810 <ComponentRef Id="ini_settings.ini"/>
766 </ComponentGroup> 811 </ComponentGroup>
767 <DirectoryRef Id="ABP_APPDATA_FOLDER"> 812 <DirectoryRef Id="ABP_APPDATA_FOLDER">
768 <Directory Id="ini" FileSource="..\files"> 813 <Directory Id="ini" FileSource="$(var.plugin_dir)\files">
769 <Component Id="ini_settings.ini" Guid="dc30c3b0-d713-11e2-8b8b-0800200c9 a66"> 814 <Component Id="ini_settings.ini" Guid="dc30c3b0-d713-11e2-8b8b-0800200c9 a66">
770 <File Name="settings.ini"/> 815 <File Name="settings.ini"/>
771 </Component> 816 </Component>
772 </Directory> 817 </Directory>
773 </DirectoryRef> 818 </DirectoryRef>
774 </Product> 819 </Product>
775 </Wix> 820 </Wix>
OLDNEW
« no previous file with comments | « no previous file | installer/installer.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld