Add a Windows installer for RBTools.

Review Request #6690 — Created Dec. 11, 2014 and submitted — Latest diff uploaded

Information

RBTools
master
ff84907...

Reviewers

This introduces the Windows installer that we'll be shipping with
official RBTools releases, starting in 0.7. It's based upon Bruce Cran's
installer work, which makes use of WiX and Portable Python to produce a
standalone RBTools install independent of any system installs of Python.

This change extends Bruce's work to automate the building of the installer
and to isolate the build environment from the system. There's a
build-installer.bat file that handles the installation of Portable Python
(guiding the user through a Minimal installation on the first build),
stripping it, installing RBTools and its dependencies, and building the
WiX installer.

This must run on a Windows install, and does not run automatically when
we perform builds. It must instead be run manually within a suitable
Windows build environment. That environment does not need Python installed
up-front, but does need WiX and MSBuild.exe (part of Visual Studio or
MS Build Tools, though currently only tested with the former).

Built a package with a 0.6.9 version number (for testing). Saw it installed.
Re-ran the installer and saw that it said it was already installed, giving me
the option to repair or uninstall.

Saw the version in Add/Remove Programs. Uninstalled it without problems.

Re-installed 0.6.9, then built an installer for 0.7. Installed that, and saw
that it upgraded.

Tried to install 0.6.9 with 0.7 installed, and saw it say that a newer version
was already installed.

Uninstalled 0.7 without problems.

Re-installed 0.7. Used that to post this change.

    Loading...