Menu

Building on Windows Log in to Edit

Bastien Pederencino

How to build Zeromus Browser on Windows

1)Visual C++

Download and install Visual C++ Express (2010).

2)OpenSSL

  1. Download and install ActivePerl.

  2. Download the OpenSSL source, and extract it somewhere.

  3. Build from the Visual C++ command prompt:

    openssl_source_directory> perl Configure VC-WIN32
    openssl_source_directory> ms\do_masm
    openssl_source_directory> nmake -f ms\ntdll.mak

3)Qt

  1. Download the latest release of Qt MinGW source, and extract it somewhere.

  2. Run the configure.exe script with the following options and nmake from the Visual C++ command prompt (think to replace <openssl_source_directory> with the real location):</openssl_source_directory>

    qt_source_directory> configure.exe -release -shared -no-exceptions -webkit -phonon -no-qt3support -no-opengl -openssl-linked -fast -I <openssl_source_directory>\include -L <openssl_source_directory>\out32dll
    qt_source_directory> nmake</openssl_source_directory></openssl_source_directory>

  3. Add Qt bin directory to your PATH:
    -Go to Control Panel->System->Advanced->Environment Variables->System Variables
    -Add the Qt bin directory to the path variable.

4)Zeromus Browser

  1. Download Zeromus Browser source and extract it somewhere.

  2. Delete all makefiles from source (at "/" and "/src").

  3. Compile Zeromus Browser with Visual C++ command prompt:

    zeromus_browser_directory> qmake "CONFIG-=debug" -r
    zeromus_browser_directory> nmake

5)NSIS Installer

  1. Download and install NSIS.

  2. Download the KillProcDLL plugin and move the appropriate DLL into the NSIS plugins directory.

  3. Edit the hard-coded directory paths in zeromus-browser_source_directory\windowsinstaller.nsi to reflect the appropriate location of the libraries installed above. Also edit the location and file for the Visual C++ redistributable package to reflect the version of Visual C++ you used to compile.

  4. Compile zeromus-browser_source_directory\windowsinstaller.nsi with the NSIS compiler by right clicking on the file and choosing "Compile NSIS Script" or by using the NSIS compiler interface directly.

  5. Run the output installer file titled "Zeromus-Browser Snapshot (Date) Installer.exe".


Discussion

Anonymous
Anonymous

Add attachments
Cancel