MSI install builder VM

Steve Borho steve at borho.org
Sat Aug 30 10:42:37 CDT 2014


Hello,

I've built a Virtual Box Win7 VM that is capable of building Mercurial
and TortoiseHg MSI packages.  Once the VM is booted, you can build
MSI packages by running the setup.py script in thg-build/winbuild with
various args, examples:

x86 MSI installers
\Python27\python.exe setup.py --hg-dev
\Python27\python.exe setup.py --hg-stable
\Python27\python.exe setup.py --thg-dev
\Python27\python.exe setup.py --thg-stable

x86_64 MSI installers
\Python27x64\python.exe setup.py --hg-dev
\Python27x64\python.exe setup.py --hg-stable
\Python27x64\python.exe setup.py --thg-dev
\Python27x64\python.exe setup.py --thg-stable

The MSI packages are written into thg-build\output.

It is also possible to build the Mercurial source installers via:

cd \thg-build\hg
\Python27\python.exe setup.py bdist_wininst
\Python27x64\python.exe setup.py bdist_wininst

The source installers are written into dist\

The build scripts have the capability to make release packages and to
sign the executables and installers with certificates, but these
processes are not as automated.

The VM image is large, big enough that I can't fit the image itself and
a compressed copy of it on my laptop, so the logistics are a little
tricky. Please contact me if you would like a copy.

-- 
Steve Borho


More information about the Mercurial-devel mailing list