simon-git: putty (master): Simon Tatham

Commits to Tartarus CVS repository. tartarus-commits at lists.tartarus.org
Wed Mar 9 21:50:37 GMT 2016


TL;DR:
  5c5879b New Windows installer system, using WiX to build an MSI.

Repository:     git://git.tartarus.org/simon/putty.git
On the web:     http://tartarus.org/~simon-git/gitweb/?p=putty.git
Branch updated: master
Committer:      Simon Tatham <anakin at pobox.com>
Date:           2016-03-09 21:50:37

commit 5c5879b99d2a0785095a384f48a2d934e1b2d4c5
web diff http://tartarus.org/~simon-git/gitweb/?p=putty.git;a=commitdiff;h=5c5879b99d2a0785095a384f48a2d934e1b2d4c5;hp=8e41e0a4b22b92bc4b565f86225f97f86acee1fa
Author: Simon Tatham <anakin at pobox.com>
Date:   Wed Mar 9 20:44:19 2016 +0000

    New Windows installer system, using WiX to build an MSI.
    
    Mostly this is a reaction to the reports of Inno Setup having a DLL
    hijacking vulnerability. But also, the new installer has several other
    nice features that our Inno Setup one didn't provide: it can put the
    PuTTY install directory on PATH automatically, and it supports
    completely automatic and silent install/uninstall via 'msiexec /q'
    which should make it easier for sysadmins to roll out installation in
    large organisations. Also, it just seems like good sense to be using
    Windows's own native packaging system (or closest equivalent) rather
    than going it alone.
    
    (And on the developer side, I have to say I like the fact that WiX
    lets me pass in the version number as a set of command-line #define-
    equivalents, whereas for Inno Setup I had to have Buildscr apply Perl
    rewriting to the source file.)
    
    For the moment, I'm still building the old Inno Setup installer
    alongside this one, but I expect to retire it once the WiX one has
    survived in the wild for a while and proven itself more or less
    stable.
    
    I've found both MSI and WiX to be confusing and difficult
    technologies, so this installer has some noticeable pieces missing
    (e.g. retrospective reconfiguration of the installed feature set, and
    per-user vs systemwide installation) simply because I couldn't get
    them to work. I've commented the new installer source code heavily, in
    the hope that a passing WiX expert can give me a hand!

 Buildscr              |   39 +++--
 sign.sh               |    2 +-
 windows/installer.wxs |  452 +++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 482 insertions(+), 11 deletions(-)



More information about the tartarus-commits mailing list