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]: GuidGet()[Next]: Html2Text()
Have your say! Join the MAKEMSI discussion list or view archive! Suggest improvements. No question too simple or too complex.
\->Source Code->VBSCRIPT->VBSCRIPT Functions - For Imbedded VB->GuidMake()

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:

  1. 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).

EXAMPLE

<$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>


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]: GuidGet()[Next]: Html2Text()


MAKEMSI© is (C)opyright Dennis Bareis 2003-2008 (All rights reserved).
Saturday December 09 2017 at 9:30am
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.