Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 


February 14, 2000

Windows Installer Technology


RSS
Subscribe to Windows IT Pro | See More Installation Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

Windows 2000 (Win2K) contains a set of new Change and Configuration Management (CCM) technology features known as IntelliMirror. Using IntelliMirror, you can configure data and applications to follow clients around a network, centrally define client desktop settings for computers and users, and centrally deploy Windows 2000 Professional (Win2K Pro) on desktops using Remote Installation Services (RIS).

One important part of IntelliMirror and a core component of Win2K’s CCM technology is Windows Installer. Using Win2K, administrators can control user file systems and Registry entries and approve the applications that users can install on their computers. Such applications run as the local system account on client desktops. Because these users are installing the applications with an elevated privilege, they don't need high-level (e.g., Administrator) privileges.

What Is Windows Installer?
Windows Installer is a service that's responsible for managing installation processes under Win2K. Windows Installer uses the .msi file format, which replaces the setup program (typically setup.exe) that you have used for years to install software.

Windows Installer technology consists of two parts:

  • The .msi package file
  • The msiexec.exe installer program that runs on the client side

The .msi package file contains a relational database of information that stores instructions for installing and removing applications. When you make modifications to one of the database's tables, the changes automatically propagate across the database because of its relational nature.

Msiexec.exe uses a dynamic link library (DLL) called msi.dll to read the .msi package file. The program copies files to the hard disk, creates shortcuts, modifies Registry entries, and performs other tasks. How does the system know that .msi files are executables? When you install Windows Installer on your computer, Win2K automatically configures the file association so that .msi files associate with Windows Installer and the system runs msiexec.exe, as Screen 1 shows.

You can use Windows Installer to install software locally. You can also use the tool with Systems Management Server (SMS) to centrally deploy software. Windows Installer offers self-healing and resiliency to Win2K desktops—corrupted software can repair itself and deleted applications can automatically reinstall.

Installing and Removing Applications
With Windows Installer, you can install and uninstall applications without affecting the system state or harming other applications. The tool is smart in that it keeps track of all the modifications it makes to the system during the software installation. If your installation crashes, Windows Installer will roll your system back to its original state.

Windows Installer uninstalls applications properly, removing Registry entries and deleting application files without harming the shared files that other applications use. You can right-click a Windows Installer package (an .msi file) in Windows Explorer and select Install, Repair, or Uninstall. Alternatively, you can use the Control Panel’s Add/Remove Programs applet to change or remove a Windows Installer package.

Detect and Repair
Applications can ask Windows Installer to determine whether any program files are damaged or missing. If so, the tool can repair a program by replacing corrupted or missing files. To repair missing files and correct Registry entry problems, choose Detect and Repair from an application’s Help menu. Screen 2 shows Microsoft Excel 2000's Detect and Repair dialog box.

You can also have Windows Installer restore program shortcuts to the Start menu by selecting "Restore my shortcuts while repairing," as Screen 2 shows. When you click Start, Windows Installer detects and repairs damaged Microsoft Office 2000 installations. Windows Installer can’t repair your personal data files; it can repair only software that it installed.

Advertising
If you’ve installed Microsoft Office 2000, you’re already familiar with another feature of Windows Installer—Advertising. Advertising is a feature that lets you install a small subset of applications initially and have additional components install automatically when you use them for the first time. Windows Installer can also remove components that you haven't used for a while. For example, you can configure the tool to remove Microsoft Word's mail merge feature if you haven't used it for 30 days.

Windows Installer is a powerful tool that's much more than just an installation wizard. It's an extensible software management system that supports software installation from multiple sources. Third parties and developers can customize Windows Installer to best suit their needs.

End of Article



Reader Comments
I agree that MSI is powerful but it is NOT as easy to fix its own problems. On Term server Users keep getting - preparing to install- messages and I have not found a solid solution ---- I did re-installed office as per MSN instructions but to no luck.

If you have any ideas -- Please let me know thanks


Sal J. Rampelli July 22, 2003


It's good, need to cover all the concepts indepth

nagaraj May 12, 2004


tell something which is new!!!!!!!!!!!!!!!!1

Anonymous User March 05, 2005 (Article Rating: )


You must log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...

WinInfo Short Takes: Week of November 24, 2008

An often irreverent look at some of the week's other news, including a Vista Capable dismissal request, Zune price reductions, Morrow musings, Novell and Microsoft sitting in a tree ... two years later, Yahoo!, IE 6 on Windows Mobile, and so much more ...

The Memory-Optimization Hoax

Don't believe the hype. At best, RAM optimizers have no effect. At worst, they seriously degrade performance. ...


Windows OSs Whitepapers Why SaaS is the Right Solution for Log Management

Related Events Windows, Unix, Linux Interoperability

Check out our list of Free Email Newsletters!

Windows OSs eBooks Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

SQL Server Administration for Oracle DBAs

Related Windows OSs Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro Windows Dev Pro IT Job Hound ITTV
IT Library Technology Resource Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing