MSI install builder VM

Angel Ezquerra angel.ezquerra at gmail.com
Sat Aug 30 16:58:02 CDT 2014


On Sat, Aug 30, 2014 at 5:42 PM, Steve Borho <steve at borho.org> wrote:
> 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

Steve,

this is awesome. Hopefully soon we will have daily windows mercurial
and thg builds!

It would be nice if the VM could also be used to build hackable
mercurial packages also...

Angel


More information about the Mercurial-devel mailing list