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
The Memory-Optimization Hoax

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

8 Million People Lose Private Information Overnight

If you stayed at a Best Western hotel anytime since 2007 then your private information is now for sale to fraudsters all over the globe. Ouch. ...

Microsoft Makes Anti-Piracy Changes to Windows XP

Microsoft late Tuesday made changes to its Windows Genuine Advantage (WGA) Notifications anti-piracy service in Windows XP, a change that should begin appearing on users' desktops over the next few months. The company says it made the changes in order ...


Windows OSs Whitepapers Replay for Exchange: Enterprise Protection and an Affordable Price

Are You Satisfied?

A Preliminary Look at Deployment Plans for Microsoft Windows Vista

Related Events 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.

Job Openings in IT


ADS BY GOOGLE SPONSORED LINKS FEATURED LINKS

Maximize your SharePoint Investment – 8 Cities
Discover best practices and tips for both architecting and administering SharePoint. Early Bird Price of $99 through Sept 15th.

Find a new job now on the all new IT Job Hound!
Search jobs, post your resume, and set up job e-mail alerts!

Master SharePoint with 3 eLearning Seminars
Learn how to build a better SharePoint infrastructure and enable powerful collaboration with MVPs Dan Holme and Michael Noel. Register today!

Top Tools for Virtualization Disaster Recovery & Replication
View this web seminar on August 14th to learn about two tools that will result in faster backup and restore with P2V disaster recovery.

SharePointConnections Conference Fall 2008
Don’t miss the premier event for Microsoft IT Professionals in Las Vegas, November 10-13. Register and book your room by August 25 and receive a FREE room night (based on a three night minimum stay).

VMworld 2008 - Sign Up Today!
Join your peers on September 15-18 at The Venetian Hotel in Las Vegas as VMware hosts VMworld 2008, the leading Virtualization event.



Entrust Unified Communications Certs
Secure Exchange 2007 and save 20%. Now through Sept. 2008.

Increase Application Performance
Free White Paper by Editor's Best winner, Texas Memory Systems.

Need to convert between XML, DBs, EDI, and Excel? Try MapForce free!
Drag & drop to transform between popular data formats – get results instantly or generate code.

Microsoft® Tech•Ed EMEA 2008 IT Professionals
Advance your thinking with new ideas and practical real-world solutions at Microsoft’s FIVE day technical infrastructure conference 3-7 Nov., 2008. Register before 26 September 2008 to save €300.

Order Your SQL Fundamentals CD Today!
Learn how to use SQL Server, understand Office integration techniques and dive into the essentials of SQL Express and Visual Basic with this free SQL Fundamentals CD.

Are You Really Compliant with Software Regulations?
View this web seminar that will help you with compliance best practices and check out a management solution to assure that you won’t be in jeopardy of an audit.

Virtualization Congress Oct. 14-16 in London
Don't miss Virtualization Congress, the premiere EMEA conference dedicated to hardware, OS and application virtualization. Oct. 14-16.
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 Technical Resources 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