MAKEMSI quickly and reliably creates MSI files in a non-programmatic way
Have your say! Join the MAKEMSI discussion list or view archive! Suggest improvements. No question too simple or too complex.
[Bottom][Contents][Prev]: MSIDIFF.VBS[Next]: INSTMSI.EXE
Have your say! Join the MAKEMSI discussion list or view archive! Suggest improvements. No question too simple or too complex.
\->Tips and Tricks->Tools->MSI (Windows Installer) Platform SDK

What are the "Windows Installer" and "Platform" SDKs?

The Windows Installer or msi Software Development Kit is one subcomponent of a much larger Windows Platform SDK (although it is also often available separately!). For most purposes it is enough to download and install the Windows Installer SDK (for example to install "ORCA").

The the Windows Installer SDK is no longer fully self contained (for example it refers to the platform sdk file "specstrings.h") so unless you have the full platform SDK installed problems may occur if you try to build DLLs (for example with the "DllCa-C" command) as Microsoft now appear to assume that you will install the whole platform sdk (consistency wouldn't hurt, tell Microsoft if you can be bothered).

MAKEMSI will attempt to locate the install directory of the SDK and configure the "PLATFORM_SDK_DIR" & "INSTALLER_SDK_DIR" definitions.

Where can I find them?

Getting the SDKs:

Why do I want them?

The Windows Installer SDK contains miscellaneous MSI database tools, example custom actions written in C and VBScript, C header files and libraries, "blank" MSI and MSM databases, and more. As mentioned above the "DllCa-C" command requires the complete platform sdk to supply all the include files and libraries you will require.

Specifically I tend to use:

If you need to manipulate Windows Installer databases then the "samples" directory is worth a good look.

The following text files were found in my SDK MSI samples directories:

  1. SDK: readme.txt (C:\Program Files\Microsoft Platform SDK\Samples\sysmgmt\msi\create.dll\)
  2. SDK: DBReadme.Txt (C:\Program Files\Microsoft Platform SDK\Samples\sysmgmt\msi\database\)
  3. SDK: readme.txt (C:\Program Files\Microsoft Platform SDK\Samples\sysmgmt\msi\msiloc\)
  4. SDK: readme.txt (C:\Program Files\Microsoft Platform SDK\Samples\sysmgmt\msi\process.dll\)
  5. SDK: readme.txt (C:\Program Files\Microsoft Platform SDK\Samples\sysmgmt\msi\remove.dll\)
  6. SDK: WiReadMe.txt (C:\Program Files\Microsoft Platform SDK\Samples\sysmgmt\msi\Scripts\)
  7. SDK: readme.txt (C:\Program Files\Microsoft Platform SDK\Samples\sysmgmt\msi\tutorial.dll\)

The following program files (matching "msi*.exe") were found in my SDK directories:

  1. SDK: MsiCert.exe (C:\Program Files\Microsoft Platform SDK\Bin\)
  2. SDK: MsiDb.Exe (C:\Program Files\Microsoft Platform SDK\Bin\)
  3. SDK: MsiFiler.Exe (C:\Program Files\Microsoft Platform SDK\Bin\)
  4. SDK: MsiInfo.Exe (C:\Program Files\Microsoft Platform SDK\Bin\)
  5. SDK: MsiMerg.Exe (C:\Program Files\Microsoft Platform SDK\Bin\)
  6. SDK: MsiMig.Exe (C:\Program Files\Microsoft Platform SDK\Bin\)
  7. SDK: MsiTran.Exe (C:\Program Files\Microsoft Platform SDK\Bin\)
  8. SDK: MsiZap.Exe (C:\Program Files\Microsoft Platform SDK\Bin\)
  9. SDK: MsiMsp.Exe (C:\Program Files\Microsoft Platform SDK\Samples\SysMgmt\Msi\Patching\)

The following scripts were found in my SDK msi sample scripts directory (C:\Program Files\Microsoft Platform SDK\Samples\SysMgmt\Msi\Scripts):

  1. SDK: WiCompon.vbs
  2. SDK: WiDialog.vbs
  3. SDK: WiDiffDb.vbs
  4. SDK: WiExport.vbs
  5. SDK: WiFeatur.vbs
  6. SDK: WiFilVer.vbs
  7. SDK: WiGenXfm.vbs
  8. SDK: WiImport.vbs
  9. SDK: WiLangId.vbs
  10. SDK: WiLstPrd.vbs
  11. SDK: WiLstScr.vbs
  12. SDK: WiLstXfm.vbs
  13. SDK: WiMakCab.vbs
  14. SDK: WiMerge.vbs
  15. SDK: WiPolicy.vbs
  16. SDK: WiRunSQL.vbs
  17. SDK: WiStream.vbs
  18. SDK: WiSubStg.vbs
  19. SDK: WiSumInf.vbs
  20. SDK: WiTextIn.vbs
  21. SDK: WiToAnsi.vbs
  22. SDK: WiUseXfm.vbs


Microsoft awarded me an MVP (Most Valuable Professional award) in 2004, 2005, 2006 & 2007 for the Windows SDK (Windows Installer) area.This external link was OK when tested at 15 Nov 2008Please email me any feedback, additional information or corrections.
See this page online (look for updates)

[Top][Contents][Prev]: MSIDIFF.VBS[Next]: INSTMSI.EXE


MAKEMSI© is (C)opyright Dennis Bareis 2003-2008 (All rights reserved).
Saturday November 15 2008 at 2:05pm
Visit MAKEMSI's Home PageThis external link was OK when tested at 7 Nov 2008

HTML page dated Mon, 29 Jan 2007 00:11:11 GMT
Microsoft awarded me an MVP (Most Valuable Professional award) in 2004, 2005, 2006 & 2007 for the Windows SDK (Windows Installer) area.This external link was OK when tested at 15 Nov 2008