Presentation is loading. Please wait.

Presentation is loading. Please wait.

Installation/Setup creation tools Stuart Eggerton Canberra ADUG Meeting 12 April 2005.

Similar presentations


Presentation on theme: "Installation/Setup creation tools Stuart Eggerton Canberra ADUG Meeting 12 April 2005."— Presentation transcript:

1 Installation/Setup creation tools Stuart Eggerton Canberra ADUG Meeting 12 April 2005

2 What does a setup program do? Install files and DLLs Create Short Cuts to start application install registry keys, file association etc. Uninstall (fully clean up) Other stuff…

3 Types of installer Manual install - Archive file e.g. ZIP file Batch file install using XCOPY etc. Installer script with internal engine e.g. INNO setup, Microsoft Setup API and older versions of Installshield and WISE installers that use external installation engine e.g. Windows Installer/MSI

4 Installer script with internal engine e.g. INNO setup Microsoft Setup API (the old Microsoft setup.inf based installer)

5 Internal Engine - Pros Many free tools exist for creating installation scripts Users can create small scripts in minutes Normally text based - Scripts can be checked in to version control systems and revisions easily compared using a text based diff Often produces extremely small installation packages with little overhead for the installation engine.

6 Internal Engine - Cons Complex installations could produce extremely large scripts Hard to maintain logic flow when installing to several versions of windows with the same script. Specific code must normally be written to handle existing versions of DLL files during both installation and uninstallion. Silent installations without a GUI often require a whole new script

7 What is Windows Installer? Different angle File Format - MSI Avoid DLL Hell

8 Windows Installer - features Reference counting Install on demand Self repair

9 Windows Installer – Pros The engine protects Operating System DLL files. – no installing version 1 of a DLL over version 7 Database based (uses MSDE SQL Server database engine) DLLs are managed by the Windows Installer not the users script Self Repair via advertised shortcuts or selecting repair in add remove programs Features can be installed on demand e.g. Microsoft office setup

10 Windows installer - Cons Generally MSI tools are expensive No support for non windows Operating Systems Extremely complex and unforgiving if the database gets corrupt. This occurs because the data is generally not constrained by foreign keys rather it is just text based GUIDs {E E36B A-52DB6B7B82C0} Database based (uses MSDE SQL Server database engine) Self Repair

11 Tools - Evaluation Criteria Free Can install files Can create shortcuts Uninstall works!!!

12 Tools – Nice to have criteria Can produce windows MSI format Compression. Fancy stuff during install e.g. banner Even Fancier stuff during install - Form designer so installation can request data input

13 Internal Engine tools

14 Core Engine - Nullsoft Scriptable Install System The script based install system that is used to package the Winamp mp3 player software. Basic package is just a script compiler.

15 HM NIS EDIT (Using NSIS Engine to compile) An editor/wizard for NIS Scripts Pros Open source Wizard driven interface Supports uninstall Decent looking windows help file Syntax highlighting and context sensitive hints Cons Once script has been created by wizard subsequent editing is by hand Default directory didnt work for me.

16 Core Engine - Inno Setup The script based install system that is used to package the Winamp mp3 player software. Basic package is just a script compiler. A very widely used installer

17 IS Tool (Uses INNO Setup Engine to compile) Pros One of the most polished setup editors around Simple interface Can generate script to download files as part of installation Great wizard Syntax highlighting Cons Wizard doesnt seem to work after generation although editing is pretty easy by selecting items in the tree

18 External engine - Windows Installer MSI generating tools Using the powerful features of Microsofts engine

19 MIS Tool - Installer2Go Pros Create single file MSI One of the few Free MSI/Windows installer editors Can be distributed silently to users or onto servers using Microsoft SMS or Citrix etc. Great if you must create an MSI Very simple tab based interface Cons some advanced features of windows installer such as advertising and install on demand cannot be included in setup Freeware version shows advert at end of installation.

20 WinINSTALL LE Pros Create single file MSI One of the few Free MSI/Windows installer editors Can be distributed silently to users or onto servers using Microsoft SMS or Citrix etc etc Vendor claims previous version was distributed with windows and used by a large number of system administrators. Cons No GUI I couldnt get my shortcut working and the help wasnt


Download ppt "Installation/Setup creation tools Stuart Eggerton Canberra ADUG Meeting 12 April 2005."

Similar presentations


Ads by Google