This combines a Browser Helper Object with a singleton engine process to block ads in Internet Explorer. The engine process embeds libadblockplus.
You need Microsoft Visual C++ (Express is sufficient) 2012 and Python 2.6. Make
sure that python.exe is on your PATH. When building with Express Edition
you also need Windows 7.1 Device Kit (not version 8) to satisfy the ATL
dependency, set WINDDKDIR environment variable to the installation directory
of the Device Kit.
- Execute
createsolution.batto generate project files, this will createbuild\ia32\adblockplus.sln(solution for the 32 bit build) andbuild\x64\adblockplus.sln(solution for the 64 bit build). Unfortunately, V8 (which is used by libadblockplus) doesn't support creating both from the same project files. - Open
build\ia32\adblockplus.slnorbuild\x64\adblockplus.slnin Visual Studio and build the solution there. Alternatively you can use themsbuildcommand line tool, e.g. runmsbuild /m build\ia32\adblockplus.slnfrom the Visual Studio Developer Command Prompt to create a 32 bit debug build.
In order to test the extension, you need to register the Browser Helper Object with IE. You can do this by locating AdblockPlus.dll (e.g. in build\ia32\Debug) and running (with elevated privileges):
regsvr32 AdblockPlus.dll
For the UI to work, you also need to copy the html and locale directories to the same directory AdblockPlus.dll is in.
You need WiX 3.8 (make sure %WIX%\bin is in %PATH%)
and InnoSetup 5.5.
- Execute
installer\createsolutions.batto generate the installer project files, this will create a bunch of project files in the installer\build\ia32 and installer\build\x64 directories. - Open and build
installer\build\ia32\installer.slnandinstaller\build\x64\installer.slnin Visual Studio. Alternatively you can use themsbuildcommand line tool, i.e. runmsibuild /m installer\build\ia32\adblockplus.slnandmsibuild /m installer\build\x64\adblockplus.slnfrom the Visual Studio Developer Command Prompt. - Either open and compile
installer\src\innosetup-exe\64BitTwoArch.issin InnoSetup or runiscc.exe installer\src\innosetup-exe\64bitTwoArch.iss.