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]: /FileMake[Next]: HookInto
Have your say! Join the MAKEMSI discussion list or view archive! Suggest improvements. No question too simple or too complex.
\->Source Code->Commands->Guid

The "Guid" Command

This command generates a VB expression which evaluates to a GUID.

This macro allows you to optionally specify GUIDs in the product information section of the version file. Any product information that begins with "GUID." should be the name of a GUID.

If the version file did not contain the GUID then the GuidGet function is used instead.

The macro takes these parameters:

Please don't try to use this command within another, it is best to assign the result to a VBSCRIPT variable and then use that variable.

EXAMPLES

;--- Set MSI guids ----------------------------------------------------------
dim UpgradeCode
<$Guid 'UpgradeCode' VB="UpgradeCode">  ;;Want same GUID every time!
<$Property "UpgradeCode"   *Value="UpgradeCode">
<$Summary  "PackageCode"   *Value='GuidMake("")'>        ;;Different GUID OK
<$Property "ProductCode"   *Value='GuidMake("")'>


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 25 Jun 2008Please email me any feedback, additional information or corrections.
See this page online (look for updates)

[Top][Contents][Prev]: /FileMake[Next]: HookInto


MAKEMSI© is (C)opyright Dennis Bareis 2003-2008 (All rights reserved).
Sunday July 06 2008 at 11:25am
Visit MAKEMSI's Home PageThis external link was OK when tested at 21 Jun 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 25 Jun 2008