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]: Square Brackets - Escaping[Next]: PackageCode
Have your say! Join the MAKEMSI discussion list or view archive! Suggest improvements. No question too simple or too complex.
\->Windows Installer FAQ (the basics)->GUIDS

Windows Installer Basics: GUIDS

A Windows Installer GUID is a unique sequence of characters, an example is "{094CDD21-7B68-4E79-8C87-7974E316F4AF}" (it must have the brackets and be in upper case). Windows Installer uses a guids as identifiers and also attempts to hide information (such as for features and components) in the registry by mangling the GUID, you can convert between the two formats with the "GUID Conversion" facility.

For situations where you want maximum control over the value you will probably use the "GUID Generation" facility to manually create one which you will copy and paste into your script.

To have your code produce GUIDs (with or without persistence) you could use the "GUID" command, also see the "GuidGet() function.

Please see these GUIDS:

  1. PackageCode
  2. ProductCode
  3. UpgradeCode


Microsoft awarded me an MVP (Most Valuable Professional award) in 2004, 2005, 2006, 2007, 2008 & 2009 for the Windows SDK (Windows Installer) area.Please email me any feedback, additional information or corrections.
See this page online (look for updates)

[Top][Contents][Prev]: Square Brackets - Escaping[Next]: PackageCode


MAKEMSI© is (C)opyright Dennis Bareis 2003-2008 (All rights reserved).
Saturday May 28 2022 at 3:11pm
Visit MAKEMSI's Home Page
Microsoft awarded me an MVP (Most Valuable Professional award) in 2004, 2005, 2006, 2007, 2008 & 2009 for the Windows SDK (Windows Installer) area.