1 / 20

Installation/Setup creation tools

Installation/Setup creation tools. Stuart Eggerton Canberra ADUG Meeting 12 April 2005. 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…. Types of installer.

lindley
Download Presentation

Installation/Setup creation tools

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Installation/Setup creation tools Stuart EggertonCanberra ADUG Meeting12 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 {E1260869-E36B-4386-823A-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 http://nsis.sourceforge.net/ • 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) • http://hmne.sourceforge.net/ • 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 didn’t work for me.

  16. Core Engine - Inno Setup http://www.jrsoftware.org/ • 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) http://www.istool.org 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 doesn’t 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 Microsoft’s engine

  19. MIS Tool - Installer2Go http://www.dev4pc.com/ 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 2003 http://www.ondemandsoftware.com 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 couldn’t get my shortcut working and the help wasn’t

More Related