Rules to Better Installers
Since 1990, SSW has supported the developer community by publishing all our best practices and rules for everyone to see.
If you still need help, visit SSW Consulting Services and book in a consultant.
Developers should add a version number at the end of the out package. E.g. SSWCodeAuditor_v14.0.0.exe
Here is how you do it in Advanced Installer:
- In the navigation pane look for
Configuration tab and click in
MSI name text box which is located under
- Next to the text add
[|ProductVersion]. If the text-box is empty you may want to start it with
- Figure: Advanced Installer - Add version to output package
If you are syncing your Application Folder (or any other) with a local folder on a disk, you can specify which file or folders you want to sync. This is a very convenient way to keep your package smaller and clean.
Here is how you do it:
- Right click the
Application Folder and choose
- Click on Filters button to open the
Edit Filters dialog
- Click on
New button to create Include pattern. Alternatively you can switch to
Exclude Filters tab
- Enter the Pattern and press
OK on each screen
- Figure: Edit Filters dialog
- Figure: Bad Example - Synced folder contains files that are not supposed to be deployed
- Figure: Good Example - Synced folder is filtered so that it includes only files we want to deploy
Market is full of tools that can create Setup packages, but only a few are really good.
WiX is the ultimate tool which gives you complete freedom and control over Setup packages.
Here are reasons why WiX is the way to go:
- It is all done in XML
- It integrates with Visual Studio
- Full control over packages logic and UI
- It is a recommended choice by Microsoft
- It is FREE
- Figure: Good Example - WiX Installer for Code Auditor
But WiX has one bad side as well – learning curve is high. Not everyone can afford learning it. The alternative is Advanced Installer.
Advanced Installer makes it easy for you to create Setup packages using a very sophisticated GUI.
A few reasons why Advanced Installer could be your choice:
- It has a very sophisticated and easy to use GUI
- It gives you wide range of options (IIS, Dialog Editor, Custom Actions, Digital Signature, Auto Updater, App Virtualization, SCCM, etc)
- Price vs performance ratio is great + it has a FREE version which is in many cases more than enough
- Figure: Good Example - Advanced Installer