Presentation is loading. Please wait.

Presentation is loading. Please wait.

3. MSI and Setup.exe Explained Thomas Lee Chief Technologist – QA plc.

Similar presentations


Presentation on theme: "3. MSI and Setup.exe Explained Thomas Lee Chief Technologist – QA plc."— Presentation transcript:

1 3. MSI and Setup.exe Explained Thomas Lee Chief Technologist – QA plc

2 Agenda History Windows Installer Setup.exe Application Compatibilty

3 History - Installation Challenges Change default application settings Hand edit the stf, lst, and inf Shortcuts hard to manage No Outlook customization

4 The Windows Installer Operating System resident service –Windows 9x, Windows NT4, Windows 2000, Windows XP Standard format for component management A management API for applications and tools Devolves installation to the operating system (where it belongs) –First steps to the end of DLL hell

5 The Windows Installer File Versioning Reference counting for ALL resources Products (applications) are: –Resources Files, registry keys etc –Components The atomic units of the installation –Features Correspond to custom install

6 The Windows Installer Products have one or more features Features have one or more components Components have one or more resources Resources are single files, registry keys etc Each product has a unique ID (GUID) –Windows Installer tracks components usage by product ID –Components can be shared between features or products

7 Windows Installer Service Operating System Service Installer on Down-level Clients

8 The Windows Installer Features can have 4 states following installation: –Installed locally –Installed to Run From Source –Advertised “On demand”, installed on first use –Not installed

9 Windows Installer Package Format Custom Database format –Created by setup developer –One per product –Described in relational tables Products have –Features –Components –Installable resources –Entry points.MSI file extension Features Components Shortcuts Action Files Optional Internal CAB Summary Information Other Tables... Pointers to source files

10 Core MSI tables

11 Windows Installer Transforms Generic way to customise an installation A Transform describes the delta between the original MSI package and the customised version –Saved to an.MST file –Is applied on the fly Transforms can only be associated with app during initial install

12 But what about Setup.exe Many vendors still use setup.exe Often provided as a stub –Checks system for presence of MSI components –Calls MSI to install the application –Provided as a backwards compatibility measure Example: XP Support Tools From CD

13 Installing Office 2003 pro11.msi proplus.mst Custom Installation Wizard Profile Wizard xcopy Customize Office *.ops Templates Add-ins Logos

14 Tools For Building/Examining MSIs Visual Studio 3 rd Party Tools –Installshield – www.installshield.comwww.installshield.com AdminStudio Wininstall –Wise – www.wise.comwww.wise.com Package Studio Wise for Windows Installer –Lanovation – www.lanovation.comwww.lanovation.com Prisim pack –PWC – www.unitysite.comwww.unitysite.com UnityInstaller –Novadigm – www.novadigm.comwww.novadigm.com E-Wrap

15 Orca Part of MSI SDK Raw MSI Table Editor Easy to make mistakes! Available from: –http://www.microsoft.com/msdownload/platformsdk/sdkupdat e/default.htm?p=/msdownload/platformsdk/sdkupdate/psdkre dist.htm

16 Application Compatibility What is the problem? What is the real solution XP/Windows 2003 Application Compatibility

17 Application Compatibility Toolkit Collection of documents and tools Help developers and IT professionals avoid application compatibility problems Helps to locate and address compatibility problems

18 What is in ACT? Application Compatibility Analyzer –Helps to create and analyse applications –Requires SQL or Access Windows Application Verifier –Checks application for potential compatibity issues Windows Compatibility Administrator – helps you select and apply comptibilty fixes Extensive reference material

19 ACT Demo Application Sample application to show issues –Setup –Main Mode operation Demo “installs” and “runs” –But “badly written” –Readme file explains how bad!

20 Show Me Orca MSI file Application Compatibity Toolkit

21 Questions


Download ppt "3. MSI and Setup.exe Explained Thomas Lee Chief Technologist – QA plc."

Similar presentations


Ads by Google