\
MAKEMSI Installs...
Available Frameworks
Making Merge Modules
Windows Installer Merge Modules
Commands - MSM
MsmSuffix
This command (macro) returns a version of the "ModuleGuid" value specified
in the version file (see the "TryMeCreateMergeModule.VER" sample).
All keys in a merge module should be appended with this value as per
Microsoft's recomendations.
Its purpose is to ensure that all keys are unique across all included
merge modules and the base MSI.
The command takes no parameters.
EXAMPLE OF A CORRECTLY FORMATTED "Directory" TABLE |
<$Table "Directory">
#(
<$Row
Directory="MyDir.090A59C1_3F2A_469E_9AAE_8C623F31ED8D"
Directory_Parent="ProgramFilesFolder.090A59C1_3F2A_469E_9AAE_8C623F31ED8D"
DefaultDir="MmTest"
>
#)
#(
<$Row
Directory="ProgramFilesFolder.090A59C1_3F2A_469E_9AAE_8C623F31ED8D"
Directory_Parent="TARGETDIR"
DefaultDir="Any.1"
>
#)
#(
<$Row
Directory="TARGETDIR"
Directory_Parent=""
DefaultDir="SourceDir"
>
#)
<$/Table>
;--- We want to create a directory off "ProgramFilesFolder" -----------------
<$MsmSystemDirectory "ProgramFilesFolder" KEYMAC="PFF">
;--- Create our directory ---------------------------------------------------
define INSTALLDIR MyDir<$MsmSuffix> ;;We will refer to it as "<$INSTALLDIR>"
<$Directory Key="<$INSTALLDIR>" Parent="<$PFF>" Dir="MyProgramFilesSubDirectory">