Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Understanding MSI files

Status
Not open for further replies.

gmail2

Programmer
Jun 15, 2005
987
IE
Hi all. Hope I've posted this in the right place, coudln't find any forum for Windows Installer.

Up until recently, I'd always thought that MSI files were escentially "compressed" files which contained all the executible files, registry entries etc, necessary to install an application. However, now I've just discovered that they are escentially database files. But I have a few questions on them:

1. If I use WinInstall LE to create an MSI package, all I end up with is an MSI, no additional files, like .cab files etc. So where is the executible stored within that?

2. Some MSI files require additional files for them to work, eg Acrobat Reader also needs a cab files which contains the executible etc. But the updates for it are generally just MSI files on their own (eg the Japanse fonts update). Surely this update has to install some additional .dll files, but where do they come from?

3. Is it possible to "merge" msi files using Orca? I installed the Windows Installed SDK recently and tried to use the msimerg utility to merge two msi's together into one. But it gave an error saying error 1627, check the _MergeErrors table for conflicts. How do I go about using the info in the _MergeErrors table to find out what went wrong?

Sorry, I know there's a vast array of questions there, but I'd really appreciate some help with this.

Irish Poetry - Karen O'Connor
Get your Irish Poetry Published
Garten und Landschaftsbau
 
I'm not talking from an expert position, so take what I say in light of that as just "what my understanding is" more than anything authoritative.

1) an MSI (and MSU in Vista?) file is indeed an OLE database file.

2) To install an MSI file, the client machine would need to have Windows Installer installed upon their system (893803 I believe). The MSI would be uninstallable without Windows Installer.

3) I guess an install can be done in any way they would like. As you mention, Adobe uses a mixture of CAB and MSI. I see others use an EXE to install with MSI files accompanying it, and I see simply MSI files.

But the main idea of Windows Installer is to have an uniform interface for all installs made using it (and yes, this is Microsoft's attempt to further monopoly at the expense of companies like Installshield, etc that make installer products).
 
Have you seen these on your travels?

Overview of the Windows Installer Technology

Windows Installer, The .NET Framework, The Bootstrapper, and You

Speeding up msi -- how?

How To Use the Orca Database Editor to Edit Windows Installer Files

314881 - The Command-Line Options for the Microsoft Windows Installer Tool Msiexec.exe


Windows Installer How To...


How to Enable Windows Installer Logging in Windows XP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top