OLD | NEW |
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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 SimpleAdblock and ABP for IE are using the same CLSID and SimpleAdblock's | 136 SimpleAdblock and ABP for IE are using the same CLSID and SimpleAdblock's |
137 uninstallation is running DllUnregisterServer which removes the CLSID | 137 uninstallation is running DllUnregisterServer which removes the CLSID |
138 from the registry. | 138 from the registry. |
139 --> | 139 --> |
140 <MajorUpgrade | 140 <MajorUpgrade |
141 Schedule="afterInstallInitialize" | 141 Schedule="afterInstallInitialize" |
142 AllowDowngrades="yes" | 142 AllowDowngrades="yes" |
143 /> | 143 /> |
144 | 144 |
145 <!--Remove Simple Adblock--> | 145 <!--Remove Simple Adblock--> |
146 <Property Id="SIMPLEADBLOCKDETECTED" Secure="yes"/> | 146 <Property Id="SIMPLEADBLOCKPRODUCTCODE" Secure="yes"/> |
147 <Upgrade Id="27D7C170-67AA-40D9-978F-5F14B4D0FEEE"> | 147 <Upgrade Id="27D7C170-67AA-40D9-978F-5F14B4D0FEEE"> |
148 <UpgradeVersion | 148 <UpgradeVersion |
149 Minimum="0.7.0.0" Maximum="99.0.0.0" | 149 Minimum="0.7.0.0" Maximum="99.0.0.0" |
150 Property="SIMPLEADBLOCKDETECTED" | 150 Property="SIMPLEADBLOCKPRODUCTCODE" |
151 IncludeMinimum="yes" IncludeMaximum="no" IgnoreRemoveFailure="no"/> | 151 IncludeMinimum="yes" IncludeMaximum="no" IgnoreRemoveFailure="no"/> |
152 </Upgrade> | 152 </Upgrade> |
153 <MediaTemplate EmbedCab="yes"/> | 153 <MediaTemplate EmbedCab="yes"/> |
154 | 154 |
155 <!-- | 155 <!-- |
156 User interface | 156 User interface |
157 --> | 157 --> |
158 <UIRef Id="custom_WixUI_InstallDir"/> | 158 <UIRef Id="custom_WixUI_InstallDir"/> |
159 <UIRef Id="WixUI_ErrorProgressText"/> | 159 <UIRef Id="WixUI_ErrorProgressText"/> |
160 <Property Id="WIXUI_INSTALLDIR" Value="INSTALLFOLDER"/> | 160 <Property Id="WIXUI_INSTALLDIR" Value="INSTALLFOLDER"/> |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 Directory="APP_DATA_FOLDER" | 192 Directory="APP_DATA_FOLDER" |
193 ExeCommand="cmd /C "rmdir /s /q ".\Simple Adblock"""
| 193 ExeCommand="cmd /C "rmdir /s /q ".\Simple Adblock"""
|
194 Execute="deferred" | 194 Execute="deferred" |
195 Return="ignore" | 195 Return="ignore" |
196 HideTarget="no" | 196 HideTarget="no" |
197 Impersonate="no" /> | 197 Impersonate="no" /> |
198 <!-- | 198 <!-- |
199 We require a 32-bit DLL for the 32-bit installer, and likewise for 64-bit. | 199 We require a 32-bit DLL for the 32-bit installer, and likewise for 64-bit. |
200 The 64-bit Close_IE action needs to examine 64-bit processes on the system
, which are invisible to 32-bit processes. | 200 The 64-bit Close_IE action needs to examine 64-bit processes on the system
, which are invisible to 32-bit processes. |
201 --> | 201 --> |
202 <Binary Id="installer_ca" SourceFile="$(var.installer_dir)\build\$(var.build
_dir)\$(var.CA_Configuration)\installer-ca.dll"/> | 202 <Binary Id="installer_ca" SourceFile="$(var.installer_dir)\build\$(var.build
_dir)\$(var.CA_Configuration)\installer-ca.dll"/> |
203 <InstallExecuteSequence> | 203 <InstallUISequence> |
204 <!-- | 204 <!-- |
205 The LaunchConditions action occurs near the beginning, before any of the
expensive operations. | 205 The LaunchConditions action occurs near the beginning, before any of the
expensive operations. |
206 --> | 206 --> |
207 <Custom | 207 <Custom |
208 Action="Close_IE" | 208 Action="Close_IE" |
209 After="LaunchConditions" | 209 After="LaunchConditions" |
210 /> | 210 /> |
| 211 </InstallUISequence> |
211 | 212 |
| 213 <InstallExecuteSequence> |
212 <Custom | 214 <Custom |
213 Action="CleanupSimpleAdblock" | 215 Action="CleanupSimpleAdblock" |
214 Before="InstallFinalize"><![CDATA[SIMPLEADBLOCKDETECTED <> ""]]></Custom
> | 216 Before="InstallFinalize"><![CDATA[SIMPLEADBLOCKPRODUCTCODE <> ""]]></Cus
tom> |
215 </InstallExecuteSequence> | 217 </InstallExecuteSequence> |
216 | 218 |
217 <!-- | 219 <!-- |
218 We have only a single feature, since there aren't any optional parts. | 220 We have only a single feature, since there aren't any optional parts. |
219 The display is hidden for the same reason; there's nothing to choose from. | 221 The display is hidden for the same reason; there's nothing to choose from. |
220 --> | 222 --> |
221 <Feature Id="ProductFeature" | 223 <Feature Id="ProductFeature" |
222 Title="!(loc.Title)" Description="!(loc.UI_Description)" | 224 Title="!(loc.Title)" Description="!(loc.UI_Description)" |
223 Display="hidden"> | 225 Display="hidden"> |
224 <ComponentGroupRef Id="Installation_Folders"/> | 226 <ComponentGroupRef Id="Installation_Folders"/> |
(...skipping 619 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
844 <ComponentGroup Id="INI_Files"> | 846 <ComponentGroup Id="INI_Files"> |
845 <ComponentRef Id="ini_settings.ini"/> | 847 <ComponentRef Id="ini_settings.ini"/> |
846 <ComponentRef Id="simpleAdblockPrefs"/> | 848 <ComponentRef Id="simpleAdblockPrefs"/> |
847 </ComponentGroup> | 849 </ComponentGroup> |
848 <DirectoryRef Id="ABP_APPDATA_FOLDER"> | 850 <DirectoryRef Id="ABP_APPDATA_FOLDER"> |
849 <Directory Id="ini" FileSource="$(var.plugin_dir)\files"> | 851 <Directory Id="ini" FileSource="$(var.plugin_dir)\files"> |
850 <Component Id="ini_settings.ini" Guid="dc30c3b0-d713-11e2-8b8b-0800200c9
a66"> | 852 <Component Id="ini_settings.ini" Guid="dc30c3b0-d713-11e2-8b8b-0800200c9
a66"> |
851 <File Name="settings.ini"/> | 853 <File Name="settings.ini"/> |
852 </Component> | 854 </Component> |
853 <Component Id="simpleAdblockPrefs" Guid="cc30c3b0-c713-01e2-7b8b-1800200
c9a65"> | 855 <Component Id="simpleAdblockPrefs" Guid="cc30c3b0-c713-01e2-7b8b-1800200
c9a65"> |
854 <Condition><![CDATA[SIMPLEADBLOCKDETECTED <> ""]]></Condition> | 856 <Condition><![CDATA[SIMPLEADBLOCKPRODUCTCODE <> ""]]></Condition> |
855 <File Name="prefs.json"/> | 857 <File Name="prefs.json"/> |
856 </Component> | 858 </Component> |
857 </Directory> | 859 </Directory> |
858 </DirectoryRef> | 860 </DirectoryRef> |
859 | 861 |
860 <?include ../installer-lib/custom-i18n.wxi ?> | 862 <?include ../installer-lib/custom-i18n.wxi ?> |
861 <?include ../custom-action/close_ie.wxi ?> | 863 <?include ../custom-action/close_ie.wxi ?> |
862 </Product> | 864 </Product> |
863 </Wix> | 865 </Wix> |
OLD | NEW |