\
MAKEMSI Installs...
Samples Installed by MAKEMSI
Samples - Build New MSI/MSM
TryMeUseMergeModule.MM
This is one of the MAKEMSI samples which build a new MSI/MSM.
This MSI makes use of these "TryMe.MM" files:
- TryMe.ver
- TryMe.rtf
The following code uses the merge module created by the
"TryMeCreateMergeModule.MM" sample:
;----------------------------------------------------------------------------
; MODULE NAME: TryMeUseMergeModule.MM
;
; $Author: USER "Dennis" $
; $Revision: 1.0 $
; $Date: 29 Nov 2006 18:31:54 $
; $Logfile: C:/DBAREIS/Projects.PVCS/Win32/MakeMsi/TryMeUseMergeModule.MM.pvcs $
;
; DESCRIPTION
; ~~~~~~~~~~~
; This is a simple sample/test MSI that loads the merge module created by
; another sample ("TryMeCreateMergeModule.mm").
;
; The only 2 required lines in this file are:
; 1. #include "ME.MMH"
; 2. <$MergeModule ...
;----------------------------------------------------------------------------
;--- First lets check that you have built the merge module! -----------------
#define GeneratedMergeModule ..\Create Merge Modules\out\TryMeCreateMergeModule.mm\MSM\TryMeCreateMergeModule.msm
#if FileQueryExists('<$GeneratedMergeModule>') = ''
#error ^Sorry but you must build the "TryMeCreateMergeModule" sample first!^
#endif
;--- Include MAKEMSI support (with my customisations and MSI branding) ------
#define VER_FILENAME.VER TryMe.Ver ;;I only want one VER file for all samples! (this line not actually required in "tryme.mm")
#include "ME.MMH"
;--- Use the merge module we have previously generated ----------------------
<$MergeModule '<$GeneratedMergeModule>' language="1033">