pgAdmin 4 ========= Prerequisites ------------- To generate a pgAdmin 4 installer for Windows bit, the following packages must be installed: - QT 4.6 or above (older versions may work, but haven't been tested). - Python 2.6 or above. - Inno Tool Version 5.5.8 and Above - Microsoft visual studio (2013) The following environment variables may be defined to override defaults in the build script (Make.bat): INNOTOOL, VCDIR, PYTHON_HOME, PYTHON_DLL, QTDIR, PG_PATH The default settings are equivalent to (on x86): SET "PYTHON_HOME=C:\Python27" SET "PYTHON_DLL=C:\Windows\System32\python27.dll" SET "QTDIR=C:\Qt\Qt5.5.1\5.5\msvc2013" SET "PG_PATH=C:\Program Files (x86)\PostgreSQL\9.5" Or on x86_64: SET "PYTHON_HOME=C:\Python27-x64" SET "PYTHON_DLL=C:\Windows\SysWOW64\python27.dll" SET "QTDIR=C:\Qt-x64\Qt5.5.1\5.5\msvc2013" SET "PG_PATH=C:\Program Files\PostgreSQL\9.5" Plus, on either architecture: SET "INNOTOOL=C:\Program Files (x86)\Inno Setup 5” SET "VCDIR=C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC" How to build ------------ $ cd $ Make.bat x86|amd64|clean This will generate pgAdmin4..exe in the PGADMIN4_SRC/dist folder. The APP_RELEASE, minor and suffix version details will be extracted from web/config.py and used to create the installer filename, for example: pgadmin4-1.0.0-dev.exe Side-by-side installations of APP_RELEASE versions of pgAdmin are allowed, so an installation directory of: "C:\Program Files (x86)\pgAdmin 4\" (for x86) would actually install into C:\Program Files (x86)\pgAdmin 4\ e.g. "C:\Program Files (x86)\pgAdmin 4\v1\"