Left: | ||
Right: |
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 | |
29 You need [WiX 3.8](http://wixtoolset.org) and | |
30 [InnoSetup 5.5](http://www.jrsoftware.org/isinfo.php). | |
Oleksandr
2014/07/24 09:21:09
Also you'll have to add |WiX Toolset v3.8\bin| fol
Felix Dahlke
2014/07/24 09:29:48
Done.
| |
31 | |
28 * Execture Installer\createsolutions.bat to generate installer project files, | 32 * Execture Installer\createsolutions.bat to generate installer project files, |
29 this will create a bunch of project files in installer\build\ia32 and | 33 this will create a bunch of project files in installer\build\ia32 and |
30 installer\build\x64 folders. | 34 installer\build\x64 folders. |
31 * Open 'installer\build\ia32\installer.sln' and then 'installer\build\x64\instal ler.sln' | 35 * Open 'installer\build\ia32\installer.sln' and then 'installer\build\x64\instal ler.sln' |
32 in Visual Studio and build both solutions. Alternatively you can use the 'msbuil d' | 36 in Visual Studio and build both solutions. Alternatively you can use the 'msbuil d' |
33 command line tool, e.g. run 'msibuild /m installer\build\ia32\adblockplus.sln' a nd | 37 command line tool, e.g. run 'msibuild /m installer\build\ia32\adblockplus.sln' a nd |
34 'msibuild /m installer\build\x64\adblockplus.sln' | 38 'msibuild /m installer\build\x64\adblockplus.sln' |
35 * Make sure you have InnoSetup installed. Either open and compile | 39 * Either open and compile 'installer\src\innosetup-exe\64BitTwoArch.iss' in |
36 'installer\src\innosetup-exe\64BitTwoArch.iss' in InnoSetup or run | 40 InnoSetup or run 'iscc.exe installer\src\innosetup-exe\64bitTwoArch.iss' |
37 'iscc.exe installer\src\innosetup-exe\64bitTwoArch.iss' | |
38 | 41 |
39 Development environment | 42 Development environment |
40 ----------------------- | 43 ----------------------- |
41 | 44 |
42 TODO: Describe how to test your build | 45 TODO: Describe how to test your build |
OLD | NEW |