Presentation is loading. Please wait.

Presentation is loading. Please wait.

Advanced Deployment Topics – MSI Enhancements Om Sharma Program Manager, Windows Installer Microsoft Corporation.

Similar presentations


Presentation on theme: "Advanced Deployment Topics – MSI Enhancements Om Sharma Program Manager, Windows Installer Microsoft Corporation."— Presentation transcript:

1 Advanced Deployment Topics – MSI Enhancements Om Sharma omsharma@microsoft.com omsharma@microsoft.com Program Manager, Windows Installer Microsoft Corporation Om Sharma omsharma@microsoft.com omsharma@microsoft.com Program Manager, Windows Installer Microsoft Corporation Session Code: CLI371

2 2 Agenda When should I use the Windows Installer (MSI) vs ClickOnce? Windows Installer v3.0 (MSI3.0) Enhancements Windows Installer (MSI4.0) – Longhorn Improvements When should I use the Windows Installer (MSI) vs ClickOnce? Windows Installer v3.0 (MSI3.0) Enhancements Windows Installer (MSI4.0) – Longhorn Improvements

3 3 When Should I Use The Windows Installer (MSI) ? ClickOnce is the solution for new self- contained applications Low System Impact No Touch Deployment Install / Run Per-User Rich Interactive applications Use Windows Installer if you need to Install Shared Resources Install Win32 Applications Perform custom actions during installation ClickOnce is the solution for new self- contained applications Low System Impact No Touch Deployment Install / Run Per-User Rich Interactive applications Use Windows Installer if you need to Install Shared Resources Install Win32 Applications Perform custom actions during installation

4 4 ClickOnce And Windows Installer (MSI) Click Once MSI Client No Touch DeploymentY Low System ImpactYY* Install/Run Per-UserYY Rich / InteractiveYY OfflineYY Windows Shell IntegrationYY Per-Machine/Shared ComponentsY Unrestricted InstallY * MSI applications can be authored for “low system impact”

5 5 Windows Installer Basics.MSI Features Components Shortcuts Action Files Optional Internal CAB Summary Information Assemblies Pointers to source files MSI database Populated by setup developer.MSI file extension One per product Described in relational tables Products have Features Components Installable resources Entry points MSI database Populated by setup developer.MSI file extension One per product Described in relational tables Products have Features Components Installable resources Entry points Other Tables...

6 6 Windows Installer Basics.MSP MSP is a Windows Installer patch package Patches make changes to the configuration information database and resources (files, registry) Patch package (MSP) contains Summary Information Stream Transforms Cabinet file MSP is a Windows Installer patch package Patches make changes to the configuration information database and resources (files, registry) Patch package (MSP) contains Summary Information Stream Transforms Cabinet file

7 7 Application Lifecycle

8 8 MSI Terminology Major Update changes Product Code Minor Update changes Product Version Small Update makes no changes to Product Code or Version Service Pack == Minor Update A Baseline is a product checkpoint Major or minor updates create new baseline Full file update – MSP contains new file Binary difference update – MSP uses delta compression to update target file Major Update changes Product Code Minor Update changes Product Version Small Update makes no changes to Product Code or Version Service Pack == Minor Update A Baseline is a product checkpoint Major or minor updates create new baseline Full file update – MSP contains new file Binary difference update – MSP uses delta compression to update target file

9 9 Windows Installer v3.0 MSI3.0 MSI3.0 - Enhancements Smaller patch package size for download Patch Uninstall Patch Sequencing / Author Control Source Management & Inventory Performance Improvements MSI3.0 - Enhancements Smaller patch package size for download Patch Uninstall Patch Sequencing / Author Control Source Management & Inventory Performance Improvements

10 10 Smaller Patch Package Size For Download Use binary difference for all updates Target the last 1-2 baseline versions Use “small” and “minor” MSP updates Use binary difference for all updates Target the last 1-2 baseline versions Use “small” and “minor” MSP updates

11 11 Binary Difference Implementation Windows Installer maintains a cache of patch packages, original (RTM) and last baseline files Only files modified by a patch are cached MSI will find/generate suitable file for binary difference target Missing file is recreated from original file and patch packages Patches will not require access to install source media (CD, network share) Windows Installer maintains a cache of patch packages, original (RTM) and last baseline files Only files modified by a patch are cached MSI will find/generate suitable file for binary difference target Missing file is recreated from original file and patch packages Patches will not require access to install source media (CD, network share)

12 12 Servicing Shared Assemblies To update GAC assembly New assembly version Policy manifest to redirect assembly binding Binary difference MSP with new MSI component for updated assembly New tables in MSI3.0 to help retrieve target assembly from GAC To update GAC assembly New assembly version Policy manifest to redirect assembly binding Binary difference MSP with new MSI component for updated assembly New tables in MSI3.0 to help retrieve target assembly from GAC

13 13 Patch Uninstall MSI3.0 can remove patches No authoring changes Add Remove Program entry for application update Patches can be removed in any order Remove will not require original installation source Package authors can specify “not removable” MSI3.0 can remove patches No authoring changes Add Remove Program entry for application update Patches can be removed in any order Remove will not require original installation source Package authors can specify “not removable”

14 Windows Installer Update Uninstall – Word2002 SP1

15 15 More About Patch Uninstall Windows Installer computes resultant state from original MSI and remaining patches Product is put in compliance with resultant state Only components affected by the patch are restored to prior version Product state after patch uninstall is equivalent to state where patch was never applied Windows Installer computes resultant state from original MSI and remaining patches Product is put in compliance with resultant state Only components affected by the patch are restored to prior version Product state after patch uninstall is equivalent to state where patch was never applied

16 16 Author Control Patch Sequence Patch sequence ensures correct product state regardless of order of patch application New Patch Sequence data enables MSI3.0 to sequence updates correctly Patch author specifies order New patches may be sequenced before, after or in- between existing updates Patches without the new sequence data are applied in order provided Patch sequence ensures correct product state regardless of order of patch application New Patch Sequence data enables MSI3.0 to sequence updates correctly Patch author specifies order New patches may be sequenced before, after or in- between existing updates Patches without the new sequence data are applied in order provided

17 17 Install & Update Integration MSI3.0 can apply more than one patch in a single transaction Installer provides integrated progress, rollback and reboot behavior Takes into account sequence, obsolete, supersede Enables Application + Updates in one transaction MSI3.0 can apply more than one patch in a single transaction Installer provides integrated progress, rollback and reboot behavior Takes into account sequence, obsolete, supersede Enables Application + Updates in one transaction

18 18 Management Improvements Source List Manage source location for products and patches CD/DVD for mobile users Inventory Product, feature, component and update inventory queries Performance Update NOT EQUAL to Reinstall Only entities effected by the update are reinstalled Source List Manage source location for products and patches CD/DVD for mobile users Inventory Product, feature, component and update inventory queries Performance Update NOT EQUAL to Reinstall Only entities effected by the update are reinstalled

19 19 MSI Roadmap Windows Installer v3.0 (MSI3.0) Ships on Windows XPSP2 Redistributable for Win2k/SP3+, WinXP, Win2003 Server Windows Installer v4.0 (MSI4.0) Longhorn release MSI4.0 includes all MSI3.0 features And more … Windows Installer v3.0 (MSI3.0) Ships on Windows XPSP2 Redistributable for Win2k/SP3+, WinXP, Win2003 Server Windows Installer v4.0 (MSI4.0) Longhorn release MSI4.0 includes all MSI3.0 features And more …

20 20 Windows Installer v4.0 MSI 40 Longhorn extensions MSI will support new Longhorn shell extension manifest No-Reboot support for setup / updates MSI detects processes holding files in use Sends notification to processes Design your applications to save state, shutdown and resume Longhorn extensions MSI will support new Longhorn shell extension manifest No-Reboot support for setup / updates MSI detects processes holding files in use Sends notification to processes Design your applications to save state, shutdown and resume

21 21 Windows Installer v4.0 Image Based Setup Longhorn uses a new Image Based Setup model Minimizes number of images Deployment of Windows + Applications is faster Images can be maintained, serviced &modified offline/online MSI applications can be deployed with Images FASTOEM property is used by major OEMs to speed up factory floor setup Files copied with the OS image Installation and configuration are done on first boot Longhorn uses a new Image Based Setup model Minimizes number of images Deployment of Windows + Applications is faster Images can be maintained, serviced &modified offline/online MSI applications can be deployed with Images FASTOEM property is used by major OEMs to speed up factory floor setup Files copied with the OS image Installation and configuration are done on first boot

22 22 Windows Installer Call To Action Evaluate/Use MSI3.0 for application servicing Use binary difference ‘small’ or ‘minor’ MSP updates Test your application for install with the FASTOEM property Evaluate/Use MSI3.0 for application servicing Use binary difference ‘small’ or ‘minor’ MSP updates Test your application for install with the FASTOEM property

23 23 Community Resources Get Your Questions Answered! Newsgroups: microsoft.public.windows.msi Client Lounge: middle of the Exhibit Hall connect with Microsoft client product teams, and PDC 2003 Speakers Ask The Experts: Tuesday 7 pm – 9 pm in Hall G,H Web Sites: http://pdcbloggers.net http://msdn.microsoft.com/pdc/ Newsgroups: microsoft.public.windows.msi Client Lounge: middle of the Exhibit Hall connect with Microsoft client product teams, and PDC 2003 Speakers Ask The Experts: Tuesday 7 pm – 9 pm in Hall G,H Web Sites: http://pdcbloggers.net http://msdn.microsoft.com/pdc/

24 24 © 2003-2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

25


Download ppt "Advanced Deployment Topics – MSI Enhancements Om Sharma Program Manager, Windows Installer Microsoft Corporation."

Similar presentations


Ads by Google