OLD | NEW |
1 Adblock Plus for Internet Explorer | 1 Adblock Plus for Internet Explorer |
2 ================================== | 2 ================================== |
3 | 3 |
4 This combines a Browser Helper Object with a singleton engine process to block | 4 This combines a Browser Helper Object with a singleton engine process to block |
5 ads in Internet Explorer. The engine process embeds libadblockplus. | 5 ads in Internet Explorer. The engine process embeds libadblockplus. |
6 | 6 |
7 Building | 7 Building |
8 -------- | 8 -------- |
9 | 9 |
10 You need Microsoft Visual C++ (Express is sufficient) 2012 and Python 2.6. Make | 10 You need Microsoft Visual C++ (Express is sufficient) 2012 and Python 2.6. Make |
11 sure that `python.exe` is on your `PATH`. When building with Express Edition | 11 sure that `python.exe` is on your `PATH`. When building with Express Edition |
12 you also need Windows 7.1 Device Kit (*not* version 8) to satisfy the ATL | 12 you also need Windows 7.1 Device Kit (*not* version 8) to satisfy the ATL |
13 dependency, set `WINDDKDIR` environment variable to the installation directory | 13 dependency, set `WINDDKDIR` environment variable to the installation directory |
14 of the Device Kit. | 14 of the Device Kit. |
15 | 15 |
16 * Execute `createsolution.bat` to generate project files, this will create | 16 * Execute `createsolution.bat` to generate project files, this will create |
17 `build\ia32\adblockplus.sln` (solution for the 32 bit build) and | 17 `build\ia32\adblockplus.sln` (solution for the 32 bit build) and |
18 `build\x64\adblockplus.sln` (solution for the 64 bit build). Unfortunately, | 18 `build\x64\adblockplus.sln` (solution for the 64 bit build). Unfortunately, |
19 V8 (which is used by libadblockplus) doesn't support creating both from the | 19 V8 (which is used by libadblockplus) doesn't support creating both from the |
20 same project files. | 20 same project files. |
21 * Open `build\ia32\adblockplus.sln` or `build\x64\adblockplus.sln` in | 21 * Open `build\ia32\adblockplus.sln` or `build\x64\adblockplus.sln` in |
22 Visual Studio and build the solution there. Alternatively you can use the | 22 Visual Studio and build the solution there. Alternatively you can use the |
23 `msbuild` command line tool, e.g. run `msbuild /m build\ia32\adblockplus.sln` | 23 `msbuild` command line tool, e.g. run `msbuild /m build\ia32\adblockplus.sln` |
24 from the Visual Studio Developer Command Prompt to create a 32 bit debug build. | 24 from the Visual Studio Developer Command Prompt to create a 32 bit debug build. |
25 | 25 |
26 Building the installer | 26 Building the installer |
27 ---------------------- | 27 ---------------------- |
28 * Execture Installer\createsolutions.bat to generate installer project files, | 28 |
29 this will create a bunch of project files in installer\build\ia32 and | 29 You need [WiX 3.8](http://wixtoolset.org) (make sure `%WIX%\bin` is in `%PATH%`) |
30 installer\build\x64 folders. | 30 and [InnoSetup 5.5](http://www.jrsoftware.org/isinfo.php). |
31 * Open 'installer\build\ia32\installer.sln' and then 'installer\build\x64\instal
ler.sln' | 31 |
32 in Visual Studio and build both solutions. Alternatively you can use the 'msbuil
d' | 32 * Execute `installer\createsolutions.bat` to generate the installer project |
33 command line tool, e.g. run 'msibuild /m installer\build\ia32\adblockplus.sln' a
nd | 33 files, this will create a bunch of project files in the _installer\build\ia32_ |
34 'msibuild /m installer\build\x64\adblockplus.sln' | 34 and _installer\build\x64_ directories. |
35 * Make sure you have InnoSetup installed. Either open and compile | 35 * Open and build `installer\build\ia32\installer.sln` and |
36 'installer\src\innosetup-exe\64BitTwoArch.iss' in InnoSetup or run | 36 `installer\build\x64\installer.sln` in Visual Studio. Alternatively you can use |
37 'iscc.exe installer\src\innosetup-exe\64bitTwoArch.iss' | 37 the `msbuild` command line tool, i.e. run |
| 38 `msibuild /m installer\build\ia32\adblockplus.sln` and |
| 39 `msibuild /m installer\build\x64\adblockplus.sln` from the Visual Studio |
| 40 Developer Command Prompt. |
| 41 * Either open and compile `installer\src\innosetup-exe\64BitTwoArch.iss` in |
| 42 InnoSetup or run `iscc.exe installer\src\innosetup-exe\64bitTwoArch.iss`. |
38 | 43 |
39 Development environment | 44 Development environment |
40 ----------------------- | 45 ----------------------- |
41 | 46 |
42 TODO: Describe how to test your build | 47 TODO: Describe how to test your build |
OLD | NEW |