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

Side by Side Diff: installer/src/custom-action/test/test-close-application.wxs

Issue 5675960980471808: Updated installer with custom action (Closed)
Patch Set: Created March 8, 2014, 5:06 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Compilation Note:
4 You may see linking errors that look like these:
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,
7 even though the CustomAction keyword does not appear in this source.
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.
10 These errors are benign and can be avoided by some fiddling with the registry on the development machine.
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
14 -->
15 <!--
16 These definitions enable compiling multiple versions & Product ID's from the s ame file.
17 This is to allow testing upgrade features without having to switch back and fo rth between working copies.
18 -->
19 <?ifdef Version ?>
20 <!--
21 If we're given a version on the command line, use it.
22 We use a short name on the command line for ease of use.
23 We use a longer name within this file for clarity about which "version" it i s specifically
24 -->
25 <?define Product_Version=$(var.Version) ?>
26 <?else?>
27 <?error "Version" parameter is required ?>
28 <?endif?>
29
30 <?ifndef Configuration ?>
31 <?error "Configuration" parameter is required ?>
32 <?endif?>
33
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 <!--
46 sys.BUILDARCH is set by the command line argument '-arch'.
47 The default value to "x86"
48 -->
49 <?if $(sys.BUILDARCH)="x86"?>
50 <?define Minimum_Version="100"?>
51 <?define Program_Files="ProgramFilesFolder"?>
52 <?define Product_Name="!(loc.ProductName32)"?>
53 <?elseif $(sys.BUILDARCH)="x64"?>
54 <?define Minimum_Version="200"?>
55 <?define Program_Files="ProgramFiles64Folder"?>
56 <?define Product_Name="!(loc.ProductName64)"?>
57 <?else?>
58 <?error Unsupported value of sys.BUILDARCH=$(sys.BUILDARCH)?>
59 <?endif?>
60
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="..\..\.." ?>
67 <?define installer_dir="..\.." ?>
68
69 <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
70 <!--
71 The attributes 'Language' and 'Codepage' are specifications for the database only.
72 Codepage 65001 is UTF-8.
73 -->
74 <Product
75 Name="$(var.Product_Name)"
76 Manufacturer="Eyeo GmbH"
77 Version="$(var.Product_Version)"
78 Language="!(loc.LANG)" Codepage="1252"
79 Id="*"
80 UpgradeCode="3a8e3ab4-762d-4641-806e-2dccb953d73f">
81
82 <!--
83 Attribute @Languages
84 The list contains all the languages supported within the MSI, all but th e first as embedded transforms.
85 The first language code is the language of the base MSI.
86 -->
87 <!--
88 At the present time, we are not localizing the summary information because of limitations
89 both in Windows Installer and in the tool chain.
90 At a later time, localizing this section requires setting an ANSI codepage
91 and the four attributes Keywords, Description, Comments, and Manufacture r.
92 -->
93 <!--
94 For the present version, the following languages are omitted because the W iX UI extension has no localizations for them yet.
95 They can be added later, but the build script needs to be changed to accep t arguments for the extra localization source.
96 fil-PH. Filipino - Phillipines. LCID = 1124
97 kn-IN. Kanada - India. LCID = 1099
98 mr-IN. Maratha - India. LCID = 1102
99 ms. Malaysian - generic. LCID = 62
100 nn-NO. Nynorsk - Norway. LCID = 2068
101 ur-PK. Urdu - Pakistan. LCID = 1056
102 They are being omitted by having their decimal LCID left out of the Packag es/@Languages attribute below.
103 The build system presently embeds transforms for them, but without their L CID in this list, they won't be recognized.
104 These embedded transforms, however, can be explicitly applied on the comma nd line of msiexec.
105 -->
106 <Package
107 SummaryCodepage="1252"
108 Keywords="Installer, Adblock Plus"
109 Description="Adblock Plus for IE"
110 Comments="Thank you for using Adblock Plus."
111 Manufacturer="Eyeo GmbH"
112 InstallerVersion="$(var.Minimum_Version)"
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"
114 Compressed="yes"
115 InstallScope="perMachine" InstallPrivileges="elevated"
116 />
117 <!--
118 The MajorUpgrade tag allows us to specify the relationship between our
119 version number and the one installed. The attribute Disallow="no" is
120 implied and allows major upgrades to be performed. Downgrades aren't
121 allowed by default.
122
123 The @Schedule attribute looks a little opaque.
124 Suffice it to say that it's the only option for scheduling where uninstall ation of the previous version
125 and installation of the present version is _always_ going to act atomica lly.
126 It's a shame that you to even explicitly make that choice.
127 -->
128 <MajorUpgrade
129 Schedule="afterInstallExecute"
130 DowngradeErrorMessage="!(loc.AlreadyInstalled)"
131 />
132 <MediaTemplate EmbedCab="yes"/>
133
134 <!--
135 User interface
136 -->
137 <UIRef Id="custom_WixUI_InstallDir"/>
138 <UIRef Id="WixUI_ErrorProgressText"/>
139 <Property Id="WIXUI_INSTALLDIR" Value="INSTALLFOLDER"/>
140
141 <!--
142 Define and schedule a "Custom Action Type 1" to ensure that IE is closed b efore installation.
143 Because WiX is closely tied to the MSI database format, there are multiple tags required to do this.
144 The "CustomAction" tag defines the tag itself, but doesn't sequence it;
145 it defines an entry in the "CustomAction" table.
146 The "Binary" tag describe an asset that's incorporated into the MSI but th at is not an installed component.
147 The "Custom" tag defines when the action executes by defining an entry in one of the sequence tables.
148
149 Attribute "Return" sets the "Custom Action Return Processing Options" to z ero,
150 which indicates to block the installer until the action completes
151 and to treat a non-zero return value from the action as an error.
152 -->
153 <CustomAction
154 Id="Close_IE"
155 BinaryKey="installer_ca"
156 DllEntry="abp_close_applications"
157 Return="check"
158 />
159 <!--
160 Note that we're using a 32-bit custom action library for both 32- and 64-b it installers.
161 -->
162 <Binary Id="installer_ca" SourceFile="$(var.installer_dir)\build\ia32\$(var. CA_Configuration)\installer-ca.dll"/>
163 <InstallUISequence>
164 <!--
165 The LaunchConditions action occurs near the beginning, before any of the expensive operations.
166 -->
167 <Custom
168 Action="Close_IE"
169 After="LaunchConditions"
170 />
171 </InstallUISequence>
172
173 <!--
174 We have only a single feature, since there aren't any optional parts.
175 The display is hidden for the same reason; there's nothing to choose from.
176 -->
177 <Feature Id="ProductFeature"
178 Title="!(loc.Title)" Description="!(loc.UI_Description)"
179 Display="hidden">
180 <ComponentGroupRef Id="Installation_Folders"/>
181 <ComponentGroupRef Id="Binaries"/>
182 <ComponentGroupRef Id="HTML_Tree"/>
183 <ComponentGroupRef Id="Locale_Files"/>
184 <ComponentGroupRef Id="INI_Files"/>
185 </Feature>
186
187 <!--
188 Remove the "Modify" button from our control panel entry.
189 Since we only have a single feature, there's only a single way of installi ng the plugin,
190 and thus modifying the installation can't possibly do anything.
191 This is currently set by the WiXUI property WIXUI_INSTALLDIR, so it's comm ented out now.
192 <Property Id="ARPNOMODIFY" Value="1"/>
193 -->
194
195 <!--
196 The application data folder has to vary by operating system version.
197 With Vista and later, we have to use an application data folder suitable f or low-integrity applications.
198 XP and earlier don't have UAC and we use the regular application data fold er.
199 -->
200 <Property Id="LOCAL_LOW_APP_DATA_FOLDER">
201 <!-- There's no built-in property with this name, so we need to extract it s value from the registry. -->
202 <RegistrySearch Id="RUMK"
203 Root="HKCU" Key="Software\Microsoft\Windows\CurrentVersion\Explorer\Shel l Folders"
204 Name="{A520A1A4-1780-4FF6-BD18-167343C5AF16}"
205 Type="raw"/>
206 </Property>
207 <SetDirectory Id="APP_DATA_FOLDER" Action="SetHTMLFOLDER1"
208 Value="[LOCAL_LOW_APP_DATA_FOLDER]">
209 <![CDATA[ VersionNT >= 600 ]]>
210 </SetDirectory>
211 <SetDirectory Id="APP_DATA_FOLDER" Action="SetHTMLFOLDER2"
212 Value="[AppDataFolder]">
213 <![CDATA[ VersionNT < 600 ]]>
214 </SetDirectory>
215
216 <!--
217 We record the locations of directories in the registry.
218 Each directory requires both a property and a component representing the r egistry key for that property.
219 For more explanation, see http://robmensching.com/blog/posts/2010/5/2/the- wix-toolsets-remember-property-pattern
220 -->
221 <ComponentGroup Id="Installation_Folders">
222 <ComponentRef Id="ABP_AppData_Folder.component"/>
223 <ComponentRef Id="Install_Folder.component"/>
224 </ComponentGroup>
225 <Property Id="ABP_APPDATA_FOLDER">
226 <RegistrySearch Id="Registry_Read_ABP_AppData_Folder"
227 Root="HKCU" Key="SOFTWARE\AdblockPlus"
228 Name="AppDataFolder" Type="raw"/>
229 </Property>
230 <Component Id="ABP_AppData_Folder.component" Guid="eb639a60-d713-11e2-8b8b-0 800200c9a66" Directory="ABP_APPDATA_FOLDER">
231 <RegistryValue
232 Root="HKCU" Key="SOFTWARE\AdblockPlus"
233 Name="AppDataFolder" Type="string"
234 Value="[ABP_APPDATA_FOLDER]"/>
235 </Component>
236 <!--
237 Testing the 32-bit install on a 64 bit OS will cause these entries to be w ritten under Wow6432Node.
238 It should be transparent to the application code, but in case it's not ...
239 See http://stackoverflow.com/questions/1882024/wix-will-not-add-hklm-regis try-setting-during-windows-7-install
240 -->
241 <Property Id="INSTALLFOLDER">
242 <RegistrySearch Id="Registry_Read_Install_Folder"
243 Root="HKLM" Key="Software\Adblock Plus for IE\$(var.Product_Version)"
244 Name="InstallFolder" Type="raw"/>
245 </Property>
246 <Component Id="Install_Folder.component" Guid="f4e25400-d713-11e2-8b8b-08002 00c9a66" Directory="INSTALLFOLDER">
247 <RegistryKey Root="HKLM" Key="Software\Adblock Plus for IE">
248 <RegistryKey Key="$(var.Product_Version)">
249 <RegistryValue
250 Name="InstallFolder" Type="string"
251 Value="[INSTALLFOLDER]"/>
252 </RegistryKey>
253 </RegistryKey>
254 </Component>
255
256
257 <!--
258 The top-level directory structure.
259 -->
260 <Directory Id="TARGETDIR" Name="SourceDir">
261 <Directory Id="$(var.Program_Files)">
262 <!--
263 INSTALLFOLDER is within ProgramFilesFolder, which is a protected direc tory.
264 As a result, this installer requires elevated permissions to operate.
265 -->
266 <Directory Id="INSTALLFOLDER" Name="Adblock Plus for IE">
267 <Directory Id="HTML_Folder" Name="html"></Directory>
268 <Directory Id="Locales_Folder" Name="locales"></Directory>
269 </Directory>
270 <Directory Id="APP_DATA_FOLDER">
271 <Directory Id="ABP_APPDATA_FOLDER" Name="Adblock Plus for IE"></Direct ory>
272 </Directory>
273 </Directory>
274 </Directory>
275
276 <!--
277 The Binaries component group contains the DLL's.
278 64-bit versions of Windows ship with both 32-bit and 64-bit versions of In ternet Explorer.
279 Each of these versions hosts only its own bit-size objects.
280 Therefore, for 64-bit platforms we must install both the 64-bit plugin as well as the 32-bit one.
281 For 32-bit platforms, we only need the 32-bit one.
282
283 The DLL images are taken directly from the build directory.
284 There's no parameter as yet for building an unsigned development version v s. a signed release version.
285
286 Note: We do not use SelfRegCost, which calls the entry point DLLRegisterSe rver to make registry entries.
287 See http://stackoverflow.com/questions/364187/how-do-you-register-a-win32- com-dll-file-in-wix-3
288
289 The present installer is a per-machine installer.
290 That means it writes to HKEY_LOCAL_MACHINE, so that all users on the machi ne will have the BHO installed.
291 It's possible to write keys to HKEY_CURRENT_USER in a situation where that 's not desirable, if needed.
292 -->
293 <ComponentGroup Id="Binaries" Directory="INSTALLFOLDER">
294 <!--
295 The 32-bit version of the DLL is included in both 32- and 64-bit install ers.
296 We need an explicit value for attribute @Win64 so that the ARCH argument does not override its implicit value.
297 -->
298 <Component Id="AdblockPlus32.dll" Guid="d9a35780-d712-11e2-8b8b-0800200c9a 66" Win64="no">
299 <File Id="AdblockPlus32.dll" Name="AdblockPlus32.dll" Source="$(var.plug in_dir)\build\ia32\$(var.Configuration)\AdblockPlus.dll" KeyPath="yes" Checksum= "yes">
300 <?include dll_class.wxi ?>
301 </File>
302 <?include bho_registry_value.wxi ?>
303 </Component>
304 <!--
305 The 64-bit version of the DLL is only included in the 64-bit installer.
306 We don't really need an explicit value for attribute @Win64, but it's th ere for resilience.
307
308 Note that the <Class> element and the <RegistryKey> element are duplicat ed from the 32-bit version.
309 We use "include" directives to ensure that they are identical.
310 They have to be the same to support both the 32- and 64-bit versions of Internet Explorer on a 64-bit system.
311 IE uses the same algorithm to search for BHO regardless of platform,
312 so with two versions of IE, we need two identical registrations.
313 The 32-bit version on a 64-bit system will be registered under "Wow6432N ode" translated keys,
314 while the 64-bit version will be under the keys as they appear in this source, not translated.
315 We don't need to put in the "Wow6432Node" registry key explicitly;
316 something in Windows Installer takes care of the mapping transparently .
317 -->
318 <?if $(sys.BUILDARCH)="x64"?>
319 <Component Id="AdblockPlus64.dll" Guid="ed77a2c0-d712-11e2-8b8b-0800200c 9a66" Win64="yes">
320 <File Id="AdblockPlus64.dll" Name="AdblockPlus64.dll" Source="$(var.pl ugin_dir)\build\x64\$(var.Configuration)\AdblockPlus.dll" KeyPath="yes" Checksum ="yes">
321 <?include dll_class.wxi ?>
322 </File>
323 <?include bho_registry_value.wxi ?>
324 </Component>
325 <?endif?>
326
327 <!--
328 The engine must go into the same directory as the DLL, since that locati on is searched explicitly (and uniquely).
329 -->
330 <?if $(sys.BUILDARCH)="x86"?>
331 <Component Id="AdblockPlusEngine.exe" Guid="f45572c0-d712-11e2-8b8b-0800 200c9a66" Win64="no">
332 <File Id="AdblockPlusEngine.exe" Source="$(var.plugin_dir)\build\ia32\ $(var.Configuration)\AdblockPlusEngine.exe" KeyPath="yes" Checksum="yes"/>
333 </Component>
334 <?elseif $(sys.BUILDARCH)="x64"?>
335 <Component Id="AdblockPlusEngine.exe" Guid="fa8d65d0-d712-11e2-8b8b-0800 200c9a66" Win64="yes">
336 <File Id="AdblockPlusEngine.exe" Source="$(var.plugin_dir)\build\x64\$ (var.Configuration)\AdblockPlusEngine.exe" KeyPath="yes" Checksum="yes"/>
337 </Component>
338 <?endif?>
339 </ComponentGroup>
340
341 <!--
342 The HTML_Tree component group contains all the files in the HTML folder.
343 Individual file entries within a single component group must all be in the same directory.
344 Also, ComponentGroup is not a valid child of ComponentGroup, so subdirecto ries are linked by reference.
345 -->
346 <ComponentGroup Id="HTML_Tree">
347 <ComponentRef Id="html_static_css_firstRun.css"/>
348 <ComponentRef Id="html_static_css_settings.css"/>
349 <ComponentRef Id="html_static_img_abp.128.png"/>
350 <ComponentRef Id="html_static_img_ajax_loader.gif"/>
351 <ComponentRef Id="html_static_img_background.png"/>
352 <ComponentRef Id="html_static_img_bb_disable.png"/>
353 <ComponentRef Id="html_static_img_bb_disable_active.png"/>
354 <ComponentRef Id="html_static_img_bb_donate.png"/>
355 <ComponentRef Id="html_static_img_bb_enable.png"/>
356 <ComponentRef Id="html_static_img_bb_enable_active.png"/>
357 <ComponentRef Id="html_static_img_checkmark.png"/>
358 <ComponentRef Id="html_static_img_features_language.png"/>
359 <ComponentRef Id="html_static_img_features_adblocking.png"/>
360 <ComponentRef Id="html_static_img_social_facebook.png"/>
361 <ComponentRef Id="html_static_img_social_facebook_old.png"/>
362 <ComponentRef Id="html_static_img_social_gplus.png"/>
363 <ComponentRef Id="html_static_img_social_gplus_old.png"/>
364 <ComponentRef Id="html_static_img_social_twitter.png"/>
365 <ComponentRef Id="html_static_img_social_twitter_old.png"/>
366 <ComponentRef Id="html_static_js_firstRun.js"/>
367 <ComponentRef Id="html_static_js_IESettings.js"/>
368 <ComponentRef Id="html_static_js_ieFirstRun.js"/>
369 <ComponentRef Id="html_static_js_settings.js"/>
370 <ComponentRef Id="html_static_js_vendor_DD.belatedPNG.js"/>
371 <ComponentRef Id="html_static_js_vendor_html5shiv.js"/>
372 <ComponentRef Id="html_templates_firstRun.html"/>
373 <ComponentRef Id="html_templates_index.html"/>
374 </ComponentGroup>
375
376 <DirectoryRef Id="HTML_Folder">
377 <Directory Id="html" FileSource="$(var.plugin_dir)\html">
378 <Directory Name="static" Id="html_static">
379 <Directory Name="css" Id="html_static_css">
380 <Component Id="html_static_css_firstRun.css" Guid="facb02d0-f073-11e 2-b778-0800200c9a66">
381 <File Name="firstRun.css"/>
382 </Component>
383 <Component Id="html_static_css_settings.css" Guid="07173c90-d713-11e 2-8b8b-0800200c9a66">
384 <File Name="settings.css"/>
385 </Component>
386 </Directory>
387 <Directory Name="img" Id="html_static_img">
388 <Component Id="html_static_img_abp.128.png" Guid="0d86ba60-d713-11e2 -8b8b-0800200c9a66">
389 <File Name="abp-128.png"/>
390 </Component>
391 <Component Id="html_static_img_ajax_loader.gif" Guid="10cdc6d0-f074- 11e2-b778-0800200c9a66">
392 <File Name="ajax-loader.gif"/>
393 </Component>
394 <Component Id="html_static_img_background.png" Guid="407e5db0-d713-1 1e2-8b8b-0800200c9a66">
395 <File Name="background.png"/>
396 </Component>
397 <Directory Name="button-background" Id="html_static_img_bb">
398 <Component Id="html_static_img_bb_disable.png" Guid="580bb950-d713 -11e2-8b8b-0800200c9a66">
399 <File Name="disable.png"/>
400 </Component>
401 <Component Id="html_static_img_bb_disable_active.png" Guid="5c0db9 90-d713-11e2-8b8b-0800200c9a66">
402 <File Name="disable_active.png"/>
403 </Component>
404 <Component Id="html_static_img_bb_donate.png" Guid="16c8ff00-f074- 11e2-b778-0800200c9a66">
405 <File Name="donate.png"/>
406 </Component>
407 <Component Id="html_static_img_bb_enable.png" Guid="5fab52b0-d713- 11e2-8b8b-0800200c9a66">
408 <File Name="enable.png"/>
409 </Component>
410 <Component Id="html_static_img_bb_enable_active.png" Guid="63efb32 0-d713-11e2-8b8b-0800200c9a66">
411 <File Name="enable_active.png"/>
412 </Component>
413 </Directory>
414 <Component Id="html_static_img_checkmark.png" Guid="210c1a10-f074-11 e2-b778-0800200c9a66">
415 <File Name="checkmark.png"/>
416 </Component>
417 <Directory Name="features" Id="html_static_img_features">
418 <Component Id="html_static_img_features_language.png" Guid="72b8cb 80-d713-11e2-8b8b-0800200c9a66">
419 <File Name="language.png"/>
420 </Component>
421 <Component Id="html_static_img_features_adblocking.png" Guid="7dd1 2150-d713-11e2-8b8b-0800200c9a66">
422 <File Name="adblocking.png"/>
423 </Component>
424 </Directory>
425 <Directory Name="social" Id="html_static_img_social">
426 <Component Id="html_static_img_social_facebook.png" Guid="862e7c00 -d713-11e2-8b8b-0800200c9a66">
427 <File Name="facebook.png"/>
428 </Component>
429 <Component Id="html_static_img_social_facebook_old.png" Guid="2638 6980-f074-11e2-b778-0800200c9a66">
430 <File Name="facebook-old.png"/>
431 </Component>
432 <Component Id="html_static_img_social_gplus.png" Guid="8de48390-d7 13-11e2-8b8b-0800200c9a66">
433 <File Name="gplus.png"/>
434 </Component>
435 <Component Id="html_static_img_social_gplus_old.png" Guid="2c0035a 0-f074-11e2-b778-0800200c9a66">
436 <File Name="gplus-old.png"/>
437 </Component>
438 <Component Id="html_static_img_social_twitter.png" Guid="948152f0- d713-11e2-8b8b-0800200c9a66">
439 <File Name="twitter.png"/>
440 </Component>
441 <Component Id="html_static_img_social_twitter_old.png" Guid="2c003 5a1-f074-11e2-b778-0800200c9a66">
442 <File Name="twitter-old.png"/>
443 </Component>
444 </Directory>
445 </Directory>
446 <Directory Name="js" Id="html_static_js">
447 <Component Id="html_static_js_firstRun.js" Guid="2c0035a2-f074-11e2- b778-0800200c9a66">
448 <File Name="firstRun.js"/>
449 </Component>
450 <Component Id="html_static_js_ieFirstRun.js" Guid="f2a86685-d713-11e 2-8b8b-0800200c9a66">
451 <File Name="ieFirstRun.js"/>
452 </Component>
453 <Component Id="html_static_js_IESettings.js" Guid="9e851b10-d713-11e 2-8b8b-0800200c9a66">
454 <File Name="IESettings.js"/>
455 </Component>
456 <Component Id="html_static_js_settings.js" Guid="a5908ac0-d713-11e2- 8b8b-0800200c9a66">
457 <File Name="settings.js"/>
458 </Component>
459 <Directory Name="vendor" Id="html_static_js_vendor">
460 <Component Id="html_static_js_vendor_DD.belatedPNG.js" Guid="ad5a4 160-d713-11e2-8b8b-0800200c9a66">
461 <File Name="DD_belatedPNG.js"/>
462 </Component>
463 <Component Id="html_static_js_vendor_html5shiv.js" Guid="b3699dd0- d713-11e2-8b8b-0800200c9a66">
464 <File Name="html5shiv.js"/>
465 </Component>
466 </Directory>
467 </Directory>
468 </Directory>
469 <Directory Name="templates" Id="html_templates">
470 <Component Id="html_templates_firstRun.html" Guid="3d423d40-f074-11e2- b778-0800200c9a66">
471 <File Name="firstRun.html"/>
472 </Component>
473 <Component Id="html_templates_index.html" Guid="ba2259a0-d713-11e2-8b8 b-0800200c9a66">
474 <File Name="index.html"/>
475 </Component>
476 </Directory>
477 </Directory>
478 </DirectoryRef>
479
480 <!--
481 Locale files
482 -->
483 <ComponentGroup Id="Locale_Files">
484 <ComponentRef Id="locales_af.ini"/>
485 <ComponentRef Id="locales_am.ini"/>
486 <ComponentRef Id="locales_ar.ini"/>
487 <ComponentRef Id="locales_as.ini"/>
488 <ComponentRef Id="locales_az.ini"/>
489 <ComponentRef Id="locales_bg.ini"/>
490 <ComponentRef Id="locales_bn_IN.ini"/>
491 <ComponentRef Id="locales_bs.ini"/>
492 <ComponentRef Id="locales_ca.ini"/>
493 <ComponentRef Id="locales_cs.ini"/>
494 <ComponentRef Id="locales_cy.ini"/>
495 <ComponentRef Id="locales_da.ini"/>
496 <ComponentRef Id="locales_de.ini"/>
497 <ComponentRef Id="locales_el.ini"/>
498 <ComponentRef Id="locales_en.ini"/>
499 <ComponentRef Id="locales_es_ES.ini"/>
500 <ComponentRef Id="locales_et.ini"/>
501 <ComponentRef Id="locales_eu.ini"/>
502 <ComponentRef Id="locales_fa.ini"/>
503 <ComponentRef Id="locales_fi.ini"/>
504 <ComponentRef Id="locales_fil.ini"/>
505 <ComponentRef Id="locales_fr.ini"/>
506 <ComponentRef Id="locales_ga_IE.ini"/>
507 <ComponentRef Id="locales_gl.ini"/>
508 <ComponentRef Id="locales_gu_IN.ini"/>
509 <ComponentRef Id="locales_he.ini"/>
510 <ComponentRef Id="locales_hi.ini"/>
511 <ComponentRef Id="locales_hr.ini"/>
512 <ComponentRef Id="locales_hu.ini"/>
513 <ComponentRef Id="locales_hy_AM.ini"/>
514 <ComponentRef Id="locales_is.ini"/>
515 <ComponentRef Id="locales_it.ini"/>
516 <ComponentRef Id="locales_ja.ini"/>
517 <ComponentRef Id="locales_ka.ini"/>
518 <ComponentRef Id="locales_kk.ini"/>
519 <ComponentRef Id="locales_km.ini"/>
520 <ComponentRef Id="locales_kn.ini"/>
521 <ComponentRef Id="locales_ko.ini"/>
522 <ComponentRef Id="locales_lb.ini"/>
523 <ComponentRef Id="locales_lt.ini"/>
524 <ComponentRef Id="locales_lv.ini"/>
525 <ComponentRef Id="locales_mi.ini"/>
526 <ComponentRef Id="locales_mk.ini"/>
527 <ComponentRef Id="locales_ml_IN.ini"/>
528 <ComponentRef Id="locales_mr.ini"/>
529 <ComponentRef Id="locales_ms.ini"/>
530 <ComponentRef Id="locales_mt.ini"/>
531 <ComponentRef Id="locales_nb.ini"/>
532 <ComponentRef Id="locales_ne_NP.ini"/>
533 <ComponentRef Id="locales_nl.ini"/>
534 <ComponentRef Id="locales_nn_NO.ini"/>
535 <ComponentRef Id="locales_or.ini"/>
536 <ComponentRef Id="locales_pa_IN.ini"/>
537 <ComponentRef Id="locales_pl.ini"/>
538 <ComponentRef Id="locales_pt_BR.ini"/>
539 <ComponentRef Id="locales_pt_PT.ini"/>
540 <ComponentRef Id="locales_ro.ini"/>
541 <ComponentRef Id="locales_ru.ini"/>
542 <ComponentRef Id="locales_si_LK.ini"/>
543 <ComponentRef Id="locales_sk.ini"/>
544 <ComponentRef Id="locales_sl.ini"/>
545 <ComponentRef Id="locales_sq.ini"/>
546 <ComponentRef Id="locales_sr_CS.ini"/>
547 <ComponentRef Id="locales_sr.ini"/>
548 <ComponentRef Id="locales_sv_SE.ini"/>
549 <ComponentRef Id="locales_ta.ini"/>
550 <ComponentRef Id="locales_te.ini"/>
551 <ComponentRef Id="locales_th.ini"/>
552 <ComponentRef Id="locales_tr.ini"/>
553 <ComponentRef Id="locales_tt_RU.ini"/>
554 <ComponentRef Id="locales_uk.ini"/>
555 <ComponentRef Id="locales_ur_PK.ini"/>
556 <ComponentRef Id="locales_uz.ini"/>
557 <ComponentRef Id="locales_vi.ini"/>
558 <ComponentRef Id="locales_xh.ini"/>
559 <ComponentRef Id="locales_zh_CN.ini"/>
560 <ComponentRef Id="locales_zh_HK.ini"/>
561 <ComponentRef Id="locales_zh_TW.ini"/>
562 <ComponentRef Id="locales_zu.ini"/>
563 </ComponentGroup>
564 <DirectoryRef Id="Locales_Folder">
565 <Directory Id="locales" FileSource="$(var.plugin_dir)\locales">
566 <Component Id="locales_af.ini" Guid="0311a948-3e76-45e8-83c0-8455fa9083b 7">
567 <RemoveFile Id="af.ini" Name="af.ini" On="install"/>
568 </Component>
569 <Component Id="locales_am.ini" Guid="cca25e4e-9b74-4e99-a592-c54a310fe80 6">
570 <RemoveFile Id="am.ini" Name="am.ini" On="install"/>
571 </Component>
572 <Component Id="locales_ar.ini" Guid="2e25459f-e7e0-40bf-b9d2-05a60be967f 9">
573 <File Name="ar.ini"/>
574 </Component>
575 <Component Id="locales_as.ini" Guid="871517f1-be55-4b8c-83b9-5da89230de6 b">
576 <RemoveFile Id="as.ini" Name="as.ini" On="install"/>
577 </Component>
578 <Component Id="locales_az.ini" Guid="7039faf6-5ff6-441d-aad0-b009588f29f d">
579 <RemoveFile Id="az.ini" Name="az.ini" On="install"/>
580 </Component>
581 <Component Id="locales_bg.ini" Guid="97abd38d-969c-48d8-9a18-ccfd340c2f3 f">
582 <File Name="bg.ini"/>
583 </Component>
584 <Component Id="locales_bn_IN.ini" Guid="cc42ac9c-c697-4eb2-8023-d37ebc1b ac28">
585 <RemoveFile Id="bn_IN.ini" Name="bn-IN.ini" On="install"/>
586 </Component>
587 <Component Id="locales_bs.ini" Guid="16f317bb-2c93-40bc-af30-ff608738718 b">
588 <RemoveFile Id="bs.ini" Name="bs.ini" On="install"/>
589 </Component>
590 <Component Id="locales_ca.ini" Guid="cc6fd89b-34f4-45c6-86c5-65ed05ddeb9 6">
591 <File Name="ca.ini"/>
592 </Component>
593 <Component Id="locales_cs.ini" Guid="ff15fbec-647b-4c4e-aa8d-f6315ae59cc 2">
594 <File Name="cs.ini"/>
595 </Component>
596 <Component Id="locales_cy.ini" Guid="3d524ffb-1314-4ffb-81be-bb119856d5f 4">
597 <RemoveFile Id="cy.ini" Name="cy.ini" On="install"/>
598 </Component>
599 <Component Id="locales_da.ini" Guid="d02413b6-ab8c-4b71-9ca2-74c978175ea f">
600 <File Name="da.ini"/>
601 </Component>
602 <Component Id="locales_de.ini" Guid="30ba6ff3-a270-4128-b879-808cea4af42 1">
603 <File Name="de.ini"/>
604 </Component>
605 <Component Id="locales_el.ini" Guid="b970189c-2ad8-4615-b32a-b8cdd73f3ce 7">
606 <File Name="el.ini"/>
607 </Component>
608 <Component Id="locales_en.ini" Guid="c5622430-d713-11e2-8b8b-0800200c9a6 6">
609 <File Name="en.ini"/>
610 </Component>
611 <Component Id="locales_es_ES.ini" Guid="2acf58cf-7e1e-4f42-89c6-7018d4b9 2527">
612 <File Name="es-ES.ini"/>
613 </Component>
614 <Component Id="locales_et.ini" Guid="11f6ea6b-e4ac-49fa-a41d-756df8fa2c4 8">
615 <File Name="et.ini"/>
616 </Component>
617 <Component Id="locales_eu.ini" Guid="179abc5f-e70b-4a58-9881-7ca27bf6da4 7">
618 <RemoveFile Id="eu.ini" Name="eu.ini" On="install"/>
619 </Component>
620 <Component Id="locales_fa.ini" Guid="fb358e71-8843-452b-98b4-af8bb618c45 b">
621 <RemoveFile Id="fa.ini" Name="fa.ini" On="install"/>
622 </Component>
623 <Component Id="locales_fi.ini" Guid="4af580a0-7c3c-4552-8cf0-7c1a65f2243 8">
624 <File Name="fi.ini"/>
625 </Component>
626 <Component Id="locales_fil.ini" Guid="aeece306-318f-48a1-a0ac-b94f022d3d 60">
627 <File Name="fil.ini"/>
628 </Component>
629 <Component Id="locales_fr.ini" Guid="543f944a-e20b-42fc-931d-875f399fb82 a">
630 <File Name="fr.ini"/>
631 </Component>
632 <Component Id="locales_ga_IE.ini" Guid="f87a10c0-4692-4a82-bdff-0d00f385 dfbc">
633 <RemoveFile Id="ga_IE.ini" Name="ga-IE.ini" On="install"/>
634 </Component>
635 <Component Id="locales_gl.ini" Guid="cdbfdfd9-310b-4e5f-b00d-d462fa560bb 3">
636 <RemoveFile Id="gl.ini" Name="gl.ini" On="install"/>
637 </Component>
638 <Component Id="locales_gu_IN.ini" Guid="d50bc57b-a02a-4a62-b066-2ff224cf 4c9c">
639 <RemoveFile Id="gu_IN.ini" Name="gu-IN.ini" On="install"/>
640 </Component>
641 <Component Id="locales_he.ini" Guid="691a5871-71ca-48cc-9869-ec1acacda7f 2">
642 <File Name="he.ini"/>
643 </Component>
644 <Component Id="locales_hi.ini" Guid="d1e62141-1c1a-45ff-9c5f-f4c11d0b04e 6">
645 <File Name="hi.ini"/>
646 </Component>
647 <Component Id="locales_hr.ini" Guid="e285c729-215e-4a9c-85c5-6a45cafc850 a">
648 <File Name="hr.ini"/>
649 </Component>
650 <Component Id="locales_hu.ini" Guid="7f84c5b5-b292-4444-a73a-14c86ee1e0e d">
651 <File Name="hu.ini"/>
652 </Component>
653 <Component Id="locales_hy_AM.ini" Guid="302e915a-2f2a-4492-a3d5-cdc5074d 9f4b">
654 <RemoveFile Id="hy_AM.ini" Name="hy-AM.ini" On="install"/>
655 </Component>
656 <Component Id="locales_is.ini" Guid="1b44e363-ebc3-4dc0-85ff-bdd9a7e97d8 9">
657 <RemoveFile Id="is.ini" Name="is.ini" On="install"/>
658 </Component>
659 <Component Id="locales_it.ini" Guid="49843985-89c8-4aff-bd8e-fb5445d9b9b c">
660 <File Name="it.ini"/>
661 </Component>
662 <Component Id="locales_ja.ini" Guid="292edd8f-0f9e-4c83-8583-d6f1642e561 f">
663 <File Name="ja.ini"/>
664 </Component>
665 <Component Id="locales_ka.ini" Guid="c919ef5f-d2e2-495b-a1c5-82efd67546c 8">
666 <RemoveFile Id="ka.ini" Name="ka.ini" On="install"/>
667 </Component>
668 <Component Id="locales_kk.ini" Guid="c104d59d-5c7c-4375-bbd6-124a3902ce5 0">
669 <RemoveFile Id="kk.ini" Name="kk.ini" On="install"/>
670 </Component>
671 <Component Id="locales_km.ini" Guid="a03ba982-79ce-4da8-ab44-12a1ccf2290 5">
672 <RemoveFile Id="km.ini" Name="km.ini" On="install"/>
673 </Component>
674 <Component Id="locales_kn.ini" Guid="1cfb9189-fb89-4cf8-b97a-65273f2c054 1">
675 <File Name="kn.ini"/>
676 </Component>
677 <Component Id="locales_ko.ini" Guid="ac35398c-b8dc-41ac-943e-28fcea7ca6f 9">
678 <RemoveFile Id="ko.ini" Name="ko.ini" On="install"/>
679 </Component>
680 <Component Id="locales_lb.ini" Guid="8ef2495b-b20b-425f-b8f4-222fb168659 a">
681 <RemoveFile Id="lb.ini" Name="lb.ini" On="install"/>
682 </Component>
683 <Component Id="locales_lt.ini" Guid="f72ecd23-6cd4-40cb-b068-24a4de7b430 2">
684 <RemoveFile Id="lt.ini" Name="lt.ini" On="install"/>
685 </Component>
686 <Component Id="locales_lv.ini" Guid="adb820be-e1a6-416c-acc8-a6bb31c80d7 a">
687 <RemoveFile Id="lv.ini" Name="lv.ini" On="install"/>
688 </Component>
689 <Component Id="locales_mi.ini" Guid="62dd48e6-cd00-4c98-9930-e260c2cc060 1">
690 <RemoveFile Id="mi.ini" Name="mi.ini" On="install"/>
691 </Component>
692 <Component Id="locales_mk.ini" Guid="42b16da9-af05-4423-8a72-8492a777c63 e">
693 <RemoveFile Id="mk.ini" Name="mk.ini" On="install"/>
694 </Component>
695 <Component Id="locales_ml_IN.ini" Guid="8766521a-fee3-4404-831e-c4bb44eb 5e4f">
696 <RemoveFile Id="ml_IN.ini" Name="ml-IN.ini" On="install"/>
697 </Component>
698 <Component Id="locales_mr.ini" Guid="e7351e07-87fe-4185-8def-c32086a1514 5">
699 <File Name="mr.ini"/>
700 </Component>
701 <Component Id="locales_ms.ini" Guid="bd858ff5-269d-42d1-a482-767177097a9 2">
702 <File Name="ms.ini"/>
703 </Component>
704 <Component Id="locales_mt.ini" Guid="546032e9-3ffc-4e33-82ef-0d9799f10ee 7">
705 <RemoveFile Id="mt.ini" Name="mt.ini" On="install"/>
706 </Component>
707 <Component Id="locales_nb.ini" Guid="1217b6c4-69c9-43aa-8949-62c4d4fcd02 f">
708 <File Name="nb.ini"/>
709 </Component>
710 <Component Id="locales_ne_NP.ini" Guid="0a388fba-c446-4276-b944-a99e53e2 5b3b">
711 <RemoveFile Id="ne_NP.ini" Name="ne-NP.ini" On="install"/>
712 </Component>
713 <Component Id="locales_nl.ini" Guid="ef0d8100-2d49-4309-a653-a13785d9311 d">
714 <File Name="nl.ini"/>
715 </Component>
716 <Component Id="locales_nn_NO.ini" Guid="08b05411-a908-4dd6-8691-13fedae9 2ffc">
717 <File Name="nn-NO.ini"/>
718 </Component>
719 <Component Id="locales_or.ini" Guid="b1c8d9f1-eabe-4d78-bee5-186f5ae5495 5">
720 <RemoveFile Id="or.ini" Name="or.ini" On="install"/>
721 </Component>
722 <Component Id="locales_pa_IN.ini" Guid="9ff0faa2-963d-4bcd-ab59-f6144cc5 a465">
723 <RemoveFile Id="pa_IN.ini" Name="pa-IN.ini" On="install"/>
724 </Component>
725 <Component Id="locales_pl.ini" Guid="2b13846c-2b81-464b-995e-83df9623205 b">
726 <File Name="pl.ini"/>
727 </Component>
728 <Component Id="locales_pt_BR.ini" Guid="a72846c2-e263-42a9-80bc-dc8e4a0e ad76">
729 <File Name="pt-BR.ini"/>
730 </Component>
731 <Component Id="locales_pt_PT.ini" Guid="bd0e8723-772c-4d66-8afc-30cff3ba 904a">
732 <File Name="pt-PT.ini"/>
733 </Component>
734 <Component Id="locales_ro.ini" Guid="83cd96c0-4edc-4fa9-9145-4c88875772a d">
735 <File Name="ro.ini"/>
736 </Component>
737 <Component Id="locales_ru.ini" Guid="d06e3490-d713-11e2-8b8b-0800200c9a6 6">
738 <File Name="ru.ini"/>
739 </Component>
740 <Component Id="locales_si_LK.ini" Guid="dbb7c66c-e21e-402a-9ee2-90adb51d a7e8">
741 <RemoveFile Id="si_LK.ini" Name="si-LK.ini" On="install"/>
742 </Component>
743 <Component Id="locales_sk.ini" Guid="8edf0206-ccc2-4f7c-a6e8-a494646e46a 9">
744 <File Name="sk.ini"/>
745 </Component>
746 <Component Id="locales_sl.ini" Guid="160bea38-36fc-4278-a5f6-5d781879b92 9">
747 <RemoveFile Id="sl.ini" Name="sl.ini" On="install"/>
748 </Component>
749 <Component Id="locales_sq.ini" Guid="aab46279-3ab7-4836-ba97-4e84a106b13 1">
750 <RemoveFile Id="sq.ini" Name="sq.ini" On="install"/>
751 </Component>
752 <Component Id="locales_sr_CS.ini" Guid="a65d66e2-68cf-4384-a306-94ed5878 1ac0">
753 <RemoveFile Id="sr_CS.ini" Name="sr-CS.ini" On="install"/>
754 </Component>
755 <Component Id="locales_sr.ini" Guid="4bd35f58-16bd-408c-b0d2-1e2e202e94a 9">
756 <RemoveFile Id="sr.ini" Name="sr.ini" On="install"/>
757 </Component>
758 <Component Id="locales_sv_SE.ini" Guid="7f0766a9-73ce-440d-88ef-33363390 e21c">
759 <File Name="sv-SE.ini"/>
760 </Component>
761 <Component Id="locales_ta.ini" Guid="b0193bef-0202-4058-9216-6e6691e7d6a f">
762 <RemoveFile Id="ta.ini" Name="ta.ini" On="install"/>
763 </Component>
764 <Component Id="locales_te.ini" Guid="880aa83f-e3a4-48ea-8398-30c8a77ead6 e">
765 <RemoveFile Id="te.ini" Name="te.ini" On="install"/>
766 </Component>
767 <Component Id="locales_th.ini" Guid="0fe17e7e-99a1-4355-a3eb-11cc94d2319 a">
768 <File Name="th.ini"/>
769 </Component>
770 <Component Id="locales_tr.ini" Guid="5dc19107-7843-46fb-abf0-f3933e71082 2">
771 <File Name="tr.ini"/>
772 </Component>
773 <Component Id="locales_tt_RU.ini" Guid="6d0d3a08-fbc3-43ce-a419-1f808047 ff27">
774 <RemoveFile Id="tt_RU.ini" Name="tt-RU.ini" On="install"/>
775 </Component>
776 <Component Id="locales_uk.ini" Guid="7ceda30d-cb1b-4b6c-b34d-2034b8d1422 9">
777 <File Name="uk.ini"/>
778 </Component>
779 <Component Id="locales_ur_PK.ini" Guid="cb57112a-200b-4789-8077-0e939924 853a">
780 <File Name="ur-PK.ini"/>
781 </Component>
782 <Component Id="locales_uz.ini" Guid="e5962669-0154-48d9-bd73-de03e8b55ed 4">
783 <RemoveFile Id="uz.ini" Name="uz.ini" On="install"/>
784 </Component>
785 <Component Id="locales_vi.ini" Guid="028a2383-8e89-4300-a022-9568ed914d4 2">
786 <RemoveFile Id="vi.ini" Name="vi.ini" On="install"/>
787 </Component>
788 <Component Id="locales_xh.ini" Guid="b7b53a80-5364-40b5-a011-fa363d44610 2">
789 <RemoveFile Id="xh.ini" Name="xh.ini" On="install"/>
790 </Component>
791 <Component Id="locales_zh_CN.ini" Guid="c02225f8-9b2c-4388-a977-df6cda67 d836">
792 <File Name="zh-CN.ini"/>
793 </Component>
794 <Component Id="locales_zh_HK.ini" Guid="3c8050f9-fbc8-48e1-844a-46ae997d a276">
795 <RemoveFile Id="zh_HK.ini" Name="zh-HK.ini" On="install"/>
796 </Component>
797 <Component Id="locales_zh_TW.ini" Guid="9281de74-822c-493c-8122-9a786a09 9ace">
798 <File Name="zh-TW.ini"/>
799 </Component>
800 <Component Id="locales_zu.ini" Guid="6958c098-99df-4ced-96fa-6436f934981 d">
801 <RemoveFile Id="zu.ini" Name="zu.ini" On="install"/>
802 </Component>
803 </Directory>
804 </DirectoryRef>
805
806 <!--
807 INI files
808
809 The settings.ini file should not be installed this way, since it contains user-generated data.
810 A component in Windows Installer represents a fixed piece of data with the MSI, not a changing one.
811 The present method of making settings.ini a component is simply an expedie nt for the present,
812 not a permanent solution.
813 The correct solution requires the application to manage this file; the ins taller can't do it right.
814 See http://stackoverflow.com/questions/357911/manage-configuration-files-w ith-wix
815 -->
816 <ComponentGroup Id="INI_Files">
817 <ComponentRef Id="ini_settings.ini"/>
818 </ComponentGroup>
819 <DirectoryRef Id="ABP_APPDATA_FOLDER">
820 <Directory Id="ini" FileSource="$(var.plugin_dir)\files">
821 <Component Id="ini_settings.ini" Guid="dc30c3b0-d713-11e2-8b8b-0800200c9 a66">
822 <File Name="settings.ini"/>
823 </Component>
824 </Directory>
825 </DirectoryRef>
826 </Product>
827 </Wix>
OLDNEW

Powered by Google App Engine
This is Rietveld