\
Source Code
VBSCRIPT
VBSCRIPT Functions - For Imbedded VB
GuidMake()
The purpose of this function is to create a new GUID in MSI format.
If you require that subsequent builds use the same GUID then you should use
GuidGet instead.
The function takes these parameters:
- The name of the GUID or "".
The name is only used to identify the GUID if you wish to use
its value in the HTML report (the value of any GUID you name can
be retrieved).
The same string should not be passed on more than one call.
The function returns the GUID (string).
<$TableDefinition "AAA_DennisGuidTable">
<$Column "MsiGuid" TYPE="s72" KEY="Y">
<$Column "Value" TYPE="l0">
<$/TableDefinition>
<$Table "AAA_DennisGuidTable">
<$TableCreate>
<$Row MsiGuid="IncorrectlySetGuid" Value='GuidMake("")'> ;;treated as a literal string!
<$Row MsiGuid="CorrectlySetGuid" *Value='GuidMake("")'> ;;"*" means the value is VBS code to be executed
<$/Table>