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

Side by Side Diff: installer/adblockplusie.wxs

Issue 11521026: initial custom action library, "hello, world" quality (Closed)
Patch Set: Created Sept. 3, 2013, 12:48 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
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.
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 <MediaTemplate EmbedCab="yes"/> 82 <MediaTemplate EmbedCab="yes"/>
83 83
84 <!-- 84 <!--
85 User interface 85 User interface
86 --> 86 -->
87 <UIRef Id="custom_WixUI_InstallDir"/> 87 <UIRef Id="custom_WixUI_InstallDir"/>
88 <UIRef Id="WixUI_ErrorProgressText"/> 88 <UIRef Id="WixUI_ErrorProgressText"/>
89 <Property Id="WIXUI_INSTALLDIR" Value="INSTALLFOLDER"/> 89 <Property Id="WIXUI_INSTALLDIR" Value="INSTALLFOLDER"/>
90 90
91 <!-- 91 <!--
92 Define and schedule a "Custom Action Type 1" to ensure that IE is closed b efore installation.
Felix Dahlke 2013/09/06 16:59:03 This paragraph describes something that's pretty a
93 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;
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 -->
104 <CustomAction
105 Id="Close_IE"
106 BinaryKey="installer_ca"
107 DllEntry="abp_close_applications"
108 Return="check"
109 />
110 <Binary Id="installer_ca" SourceFile="..\build\ia32\$(var.Configuration)\ins taller-ca.dll"/>
111 <InstallUISequence>
112 <!--
113 The LaunchConditions action occurs near the beginning, before any of the expensive operations.
114 -->
115 <Custom
116 Action="Close_IE"
117 After="LaunchConditions"
118 />
119 </InstallUISequence>
120
121 <!--
92 We have only a single feature, since there aren't any optional parts. 122 We have only a single feature, since there aren't any optional parts.
93 The display is hidden for the same reason; there's nothing to choose from. 123 The display is hidden for the same reason; there's nothing to choose from.
94 --> 124 -->
95 <Feature Id="ProductFeature" 125 <Feature Id="ProductFeature"
96 Title="!(loc.Title)" Description="!(loc.UI_Description)" 126 Title="!(loc.Title)" Description="!(loc.UI_Description)"
97 Display="hidden"> 127 Display="hidden">
98 <ComponentGroupRef Id="Installation_Folders"/> 128 <ComponentGroupRef Id="Installation_Folders"/>
99 <ComponentGroupRef Id="Binaries"/> 129 <ComponentGroupRef Id="Binaries"/>
100 <ComponentGroupRef Id="HTML_Tree"/> 130 <ComponentGroupRef Id="HTML_Tree"/>
101 <ComponentGroupRef Id="Locale_Files"/> 131 <ComponentGroupRef Id="Locale_Files"/>
(...skipping 634 matching lines...) Expand 10 before | Expand all | Expand 10 after
736 </ComponentGroup> 766 </ComponentGroup>
737 <DirectoryRef Id="ABP_APPDATA_FOLDER"> 767 <DirectoryRef Id="ABP_APPDATA_FOLDER">
738 <Directory Id="ini" FileSource="..\files"> 768 <Directory Id="ini" FileSource="..\files">
739 <Component Id="ini_settings.ini" Guid="dc30c3b0-d713-11e2-8b8b-0800200c9 a66"> 769 <Component Id="ini_settings.ini" Guid="dc30c3b0-d713-11e2-8b8b-0800200c9 a66">
740 <File Name="settings.ini"/> 770 <File Name="settings.ini"/>
741 </Component> 771 </Component>
742 </Directory> 772 </Directory>
743 </DirectoryRef> 773 </DirectoryRef>
744 </Product> 774 </Product>
745 </Wix> 775 </Wix>
OLDNEW
« adblockplus.gyp ('K') | « adblockplus.gyp ('k') | src/installer-ca/Doxyfile » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld