Current Entries | Archives   RSS

 


Bringing the Visual Lint Installer into the 21st Century

Saturday 24th March, 2007


Since the first internal build of Visual Lint back in October 2004 it has used the Visual Studio Installer project generated by the Visual Studio add-in Wizard.

As far as it goes it's OK, although the installers it generates have (to my eye, at least) a rather clunky look and feel, and the amount of customisation you can do is extremely limited.

However, by far the most annoying feature for me though is the way it handles upgrades. The Windows Installer allows three fields in installer version numbers - ie major.minor.revision - unlike Windows, which has four fields. We use major.minor.revision.build, and only release one build with a given major.minor.revision publicly. That's pretty standard, and works well in practice.

The fact that we only release one build with a given combination of major.minor.revision fields means that to the end user the installer will correctly remove previous versions.

Unfortunately, we (and our external testers, of course) get to see what happens when you install a new internal build with the same major.minor.revision fields:

Possibly the worst installation dialog in the world
Possibly the worst installation dialog in the world.

Annoying, isn't it? Due to this and a number of other issues we have been planning to ditch the Visual Studio Installer project for some time, possibly in favour of Advanced Installer. Unfortunately, time pressures meant that this is an issue we have only been able to look into addressing recently.

As often happens, good fortune (and good marketing!) intervened. When we attended ESWC last November one of the companies exhibiting was InstallAware. As someone who is very well aware of how low the standard of installation tools (yes, I'm looking at you, InstallShield), the presentation given by Sinan Kiraca from InstallAware was an eye opener. In particular, the IDE seemed extremely easy to use and the scripting language (MSIcode) a natural (albeit VB-ish - ugh!) extension of the environment rather than a necessary evil to cover up the inadequacies of the rest of the IDE.

I was sold on the spot (Beth was a little tougher; she has more direct experience of the depths certain installation tools have sunk to), so the offer of free copies of InstallAware Express was a no-brainer. We immediately upgraded our licences to InstallAware Studio 6 (one notch below the enterprise version of the product) at a very reasonable cost. However, as all too often happens timescale pressures intervened again and they sat on the shelf until we had a little time to get to know the InstallAware IDE.

Looking back I have to say that the learning curve hasn't proved to be too steep at all. The only issues we've run into are the limited nature of the MSIcode editor (in particular its very poor copy/paste support and lack of support for drag/drop) and the unnecessary restriction that the "Install Files" MSIcode command take only fully qualified pathnames, with no variables allowed. The latter caused us some headaches in integrating with our build system, but fortunately we found a workaround. Aside from those niggles, it's a good environment to work in.

On Monday evening we released the first build (1.5.4.66) containing this installer to our testers, and this was followed by a further build (1.5.4.67) three days later to fix some minor issues we identified subsequently. We think the end result is a big improvement (and it works on Vista rather nicely) - but of course ultimately that's something only our customers can judge.

All being well, it will be publicly released shortly.

What you will see when the new installer starts
What you will see when the new installer starts.

Posted by Anna at 7:52am | Get Permalink