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

Side by Side Diff: installer/adblockplusie.wxs

Issue 5394579117309952: Installer localization and new build system (Closed)
Patch Set: Created Dec. 10, 2013, 4:11 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
« no previous file with comments | « no previous file | installer/emb.vbs » ('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
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
48 <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> 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 -->
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">
56 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 -->
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
73 The @Schedule attribute looks a little opaque. 123 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 124 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. 125 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. 126 It's a shame that you to even explicitly make that choice.
77 --> 127 -->
78 <MajorUpgrade 128 <MajorUpgrade
79 Schedule="afterInstallExecute" 129 Schedule="afterInstallExecute"
80 DowngradeErrorMessage="!(loc.AlreadyInstalled)" 130 DowngradeErrorMessage="!(loc.AlreadyInstalled)"
81 /> 131 />
82 <MediaTemplate EmbedCab="yes"/> 132 <MediaTemplate EmbedCab="yes"/>
83 133
84 <!-- 134 <!--
85 User interface 135 User interface
86 --> 136 -->
87 <UIRef Id="custom_WixUI_InstallDir"/> 137 <UIRef Id="custom_WixUI_InstallDir"/>
88 <UIRef Id="WixUI_ErrorProgressText"/> 138 <UIRef Id="WixUI_ErrorProgressText"/>
89 <Property Id="WIXUI_INSTALLDIR" Value="INSTALLFOLDER"/> 139 <Property Id="WIXUI_INSTALLDIR" Value="INSTALLFOLDER"/>
90 140
91 <!-- 141 <!--
92 Define and schedule a "Custom Action Type 1" to ensure that IE is closed b efore installation. 142 Define and schedule a "Custom Action Type 1" to ensure that IE is closed b efore installation.
93 Because WiX is closely tied to the MSI database format, there are multiple tags required to do this. 143 Because WiX is closely tied to the MSI database format, there are multiple tags required to do this.
94 The "CustomAction" tag defines the tag itself, but doesn't sequence it; 144 The "CustomAction" tag defines the tag itself, but doesn't sequence it;
95 it defines an entry in the "CustomAction" table. 145 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. 146 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; 147 The "Custom" tag defines when the action executes by defining an entry in one of the sequence tables.
98 it defines an entry in one of the sequence tables (there are six).
99 148
100 Attribute "Return" sets the "Custom Action Return Processing Options" to z ero, 149 Attribute "Return" sets the "Custom Action Return Processing Options" to z ero,
101 which indicates to block the installer until the action completes 150 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. 151 and to treat a non-zero return value from the action as an error.
103 --> 152 -->
104 <CustomAction 153 <CustomAction
105 Id="Close_IE" 154 Id="Close_IE"
106 BinaryKey="installer_ca" 155 BinaryKey="installer_ca"
107 DllEntry="abp_close_applications" 156 DllEntry="abp_close_applications"
108 Return="check" 157 Return="check"
109 /> 158 />
110 <Binary Id="installer_ca" SourceFile="build\ia32\Debug\installer-ca.dll"/> 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"/>
111 <InstallUISequence> 163 <InstallUISequence>
112 <!-- 164 <!--
113 The LaunchConditions action occurs near the beginning, before any of the expensive operations. 165 The LaunchConditions action occurs near the beginning, before any of the expensive operations.
114 --> 166 -->
115 <Custom 167 <Custom
116 Action="Close_IE" 168 Action="Close_IE"
117 After="LaunchConditions" 169 After="LaunchConditions"
118 /> 170 />
119 </InstallUISequence> 171 </InstallUISequence>
120 172
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 The present installer is a per-machine installer. 289 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. 290 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. 291 It's possible to write keys to HKEY_CURRENT_USER in a situation where that 's not desirable, if needed.
240 --> 292 -->
241 <ComponentGroup Id="Binaries" Directory="INSTALLFOLDER"> 293 <ComponentGroup Id="Binaries" Directory="INSTALLFOLDER">
242 <!-- 294 <!--
243 The 32-bit version of the DLL is included in both 32- and 64-bit install ers. 295 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. 296 We need an explicit value for attribute @Win64 so that the ARCH argument does not override its implicit value.
245 --> 297 -->
246 <Component Id="AdblockPlus32.dll" Guid="d9a35780-d712-11e2-8b8b-0800200c9a 66" Win64="no"> 298 <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"> 299 <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 ?> 300 <?include dll_class.wxi ?>
249 </File> 301 </File>
250 <?include bho_registry_value.wxi ?> 302 <?include bho_registry_value.wxi ?>
251 </Component> 303 </Component>
252 <!-- 304 <!--
253 The 64-bit version of the DLL is only included in the 64-bit installer. 305 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. 306 We don't really need an explicit value for attribute @Win64, but it's th ere for resilience.
255 307
256 Note that the <Class> element and the <RegistryKey> element are duplicat ed from the 32-bit version. 308 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. 309 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. 310 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, 311 IE uses the same algorithm to search for BHO regardless of platform,
260 so with two versions of IE, we need two identical registrations. 312 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, 313 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. 314 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; 315 We don't need to put in the "Wow6432Node" registry key explicitly;
264 something in Windows Installer takes care of the mapping transparently . 316 something in Windows Installer takes care of the mapping transparently .
265 --> 317 -->
266 <?if $(sys.BUILDARCH)="x64"?> 318 <?if $(sys.BUILDARCH)="x64"?>
267 <Component Id="AdblockPlus64.dll" Guid="ed77a2c0-d712-11e2-8b8b-0800200c 9a66" Win64="yes"> 319 <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"> 320 <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 ?> 321 <?include dll_class.wxi ?>
270 </File> 322 </File>
271 <?include bho_registry_value.wxi ?> 323 <?include bho_registry_value.wxi ?>
272 </Component> 324 </Component>
273 <?endif?> 325 <?endif?>
274 326
275 <!-- 327 <!--
276 The engine must go into the same directory as the DLL, since that locati on is searched explicitly (and uniquely). 328 The engine must go into the same directory as the DLL, since that locati on is searched explicitly (and uniquely).
277 --> 329 -->
278 <?if $(sys.BUILDARCH)="x86"?> 330 <?if $(sys.BUILDARCH)="x86"?>
279 <Component Id="AdblockPlusEngine.exe" Guid="f45572c0-d712-11e2-8b8b-0800 200c9a66" Win64="no"> 331 <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"/> 332 <File Id="AdblockPlusEngine.exe" Source="$(var.plugin_dir)\build\ia32\ $(var.Configuration)\AdblockPlusEngine.exe" KeyPath="yes" Checksum="yes"/>
281 </Component> 333 </Component>
282 <?elseif $(sys.BUILDARCH)="x64"?> 334 <?elseif $(sys.BUILDARCH)="x64"?>
283 <Component Id="AdblockPlusEngine.exe" Guid="fa8d65d0-d712-11e2-8b8b-0800 200c9a66" Win64="yes"> 335 <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"/> 336 <File Id="AdblockPlusEngine.exe" Source="$(var.plugin_dir)\build\x64\$ (var.Configuration)\AdblockPlusEngine.exe" KeyPath="yes" Checksum="yes"/>
285 </Component> 337 </Component>
286 <?endif?> 338 <?endif?>
287 </ComponentGroup> 339 </ComponentGroup>
288 340
289 <!-- 341 <!--
290 The HTML_Tree component group contains all the files in the HTML folder. 342 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. 343 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. 344 Also, ComponentGroup is not a valid child of ComponentGroup, so subdirecto ries are linked by reference.
293 --> 345 -->
294 <ComponentGroup Id="HTML_Tree"> 346 <ComponentGroup Id="HTML_Tree">
(...skipping 20 matching lines...) Expand all
315 <ComponentRef Id="html_static_js_IESettings.js"/> 367 <ComponentRef Id="html_static_js_IESettings.js"/>
316 <ComponentRef Id="html_static_js_ieFirstRun.js"/> 368 <ComponentRef Id="html_static_js_ieFirstRun.js"/>
317 <ComponentRef Id="html_static_js_settings.js"/> 369 <ComponentRef Id="html_static_js_settings.js"/>
318 <ComponentRef Id="html_static_js_vendor_DD.belatedPNG.js"/> 370 <ComponentRef Id="html_static_js_vendor_DD.belatedPNG.js"/>
319 <ComponentRef Id="html_static_js_vendor_html5shiv.js"/> 371 <ComponentRef Id="html_static_js_vendor_html5shiv.js"/>
320 <ComponentRef Id="html_templates_firstRun.html"/> 372 <ComponentRef Id="html_templates_firstRun.html"/>
321 <ComponentRef Id="html_templates_index.html"/> 373 <ComponentRef Id="html_templates_index.html"/>
322 </ComponentGroup> 374 </ComponentGroup>
323 375
324 <DirectoryRef Id="HTML_Folder"> 376 <DirectoryRef Id="HTML_Folder">
325 <Directory Id="html" FileSource="..\html"> 377 <Directory Id="html" FileSource="$(var.plugin_dir)\html">
326 <Directory Name="static" Id="html_static"> 378 <Directory Name="static" Id="html_static">
327 <Directory Name="css" Id="html_static_css"> 379 <Directory Name="css" Id="html_static_css">
328 <Component Id="html_static_css_firstRun.css" Guid="facb02d0-f073-11e 2-b778-0800200c9a66"> 380 <Component Id="html_static_css_firstRun.css" Guid="facb02d0-f073-11e 2-b778-0800200c9a66">
329 <File Name="firstRun.css"/> 381 <File Name="firstRun.css"/>
330 </Component> 382 </Component>
331 <Component Id="html_static_css_settings.css" Guid="07173c90-d713-11e 2-8b8b-0800200c9a66"> 383 <Component Id="html_static_css_settings.css" Guid="07173c90-d713-11e 2-8b8b-0800200c9a66">
332 <File Name="settings.css"/> 384 <File Name="settings.css"/>
333 </Component> 385 </Component>
334 </Directory> 386 </Directory>
335 <Directory Name="img" Id="html_static_img"> 387 <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"/> 555 <ComponentRef Id="locales_ur_PK.ini"/>
504 <ComponentRef Id="locales_uz.ini"/> 556 <ComponentRef Id="locales_uz.ini"/>
505 <ComponentRef Id="locales_vi.ini"/> 557 <ComponentRef Id="locales_vi.ini"/>
506 <ComponentRef Id="locales_xh.ini"/> 558 <ComponentRef Id="locales_xh.ini"/>
507 <ComponentRef Id="locales_zh_CN.ini"/> 559 <ComponentRef Id="locales_zh_CN.ini"/>
508 <ComponentRef Id="locales_zh_HK.ini"/> 560 <ComponentRef Id="locales_zh_HK.ini"/>
509 <ComponentRef Id="locales_zh_TW.ini"/> 561 <ComponentRef Id="locales_zh_TW.ini"/>
510 <ComponentRef Id="locales_zu.ini"/> 562 <ComponentRef Id="locales_zu.ini"/>
511 </ComponentGroup> 563 </ComponentGroup>
512 <DirectoryRef Id="Locales_Folder"> 564 <DirectoryRef Id="Locales_Folder">
513 <Directory Id="locales" FileSource="..\locales"> 565 <Directory Id="locales" FileSource="$(var.plugin_dir)\locales">
514 <Component Id="locales_af.ini" Guid="0311a948-3e76-45e8-83c0-8455fa9083b 7"> 566 <Component Id="locales_af.ini" Guid="0311a948-3e76-45e8-83c0-8455fa9083b 7">
515 <RemoveFile Id="af.ini" Name="af.ini" On="install"/> 567 <RemoveFile Id="af.ini" Name="af.ini" On="install"/>
516 </Component> 568 </Component>
517 <Component Id="locales_am.ini" Guid="cca25e4e-9b74-4e99-a592-c54a310fe80 6"> 569 <Component Id="locales_am.ini" Guid="cca25e4e-9b74-4e99-a592-c54a310fe80 6">
518 <RemoveFile Id="am.ini" Name="am.ini" On="install"/> 570 <RemoveFile Id="am.ini" Name="am.ini" On="install"/>
519 </Component> 571 </Component>
520 <Component Id="locales_ar.ini" Guid="2e25459f-e7e0-40bf-b9d2-05a60be967f 9"> 572 <Component Id="locales_ar.ini" Guid="2e25459f-e7e0-40bf-b9d2-05a60be967f 9">
521 <File Name="ar.ini"/> 573 <File Name="ar.ini"/>
522 </Component> 574 </Component>
523 <Component Id="locales_as.ini" Guid="871517f1-be55-4b8c-83b9-5da89230de6 b"> 575 <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. 810 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, 811 The present method of making settings.ini a component is simply an expedie nt for the present,
760 not a permanent solution. 812 not a permanent solution.
761 The correct solution requires the application to manage this file; the ins taller can't do it right. 813 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 814 See http://stackoverflow.com/questions/357911/manage-configuration-files-w ith-wix
763 --> 815 -->
764 <ComponentGroup Id="INI_Files"> 816 <ComponentGroup Id="INI_Files">
765 <ComponentRef Id="ini_settings.ini"/> 817 <ComponentRef Id="ini_settings.ini"/>
766 </ComponentGroup> 818 </ComponentGroup>
767 <DirectoryRef Id="ABP_APPDATA_FOLDER"> 819 <DirectoryRef Id="ABP_APPDATA_FOLDER">
768 <Directory Id="ini" FileSource="..\files"> 820 <Directory Id="ini" FileSource="$(var.plugin_dir)\files">
769 <Component Id="ini_settings.ini" Guid="dc30c3b0-d713-11e2-8b8b-0800200c9 a66"> 821 <Component Id="ini_settings.ini" Guid="dc30c3b0-d713-11e2-8b8b-0800200c9 a66">
770 <File Name="settings.ini"/> 822 <File Name="settings.ini"/>
771 </Component> 823 </Component>
772 </Directory> 824 </Directory>
773 </DirectoryRef> 825 </DirectoryRef>
774 </Product> 826 </Product>
775 </Wix> 827 </Wix>
OLDNEW
« no previous file with comments | « no previous file | installer/emb.vbs » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld