|
![]() |
| 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("")'>
![]() | ![]() |