TryMe.MM |
This is one of the MAKEMSI samples which build a new MSI/MSM. This file is mentioned in the "Quick Start Guide" section of this documentation. It also makes use of the sample files "TryMe.VER" and "TryMe.RTF"
If you have built this successfully you will probably also wish to try:
After installing the MSI you might wish to try:
I have put a lot of work in both the index and in the words used within sections of the documentation in an attempt to maximise you chance to find something. Please note that to find the text "ABC" (where it is not a complete word) you'd need to use a search string like "*ABC*".
The Code |
If you are getting started you are probably wondering where the product and version information is, have a look at "TryMe.VER". MAKEMSI (by default) separates how to build the MSI from its product and version information.
;---------------------------------------------------------------------------- ; MODULE NAME: TRYME.MM ; ; $Author: USER "Dennis" $ ; $Revision: 1.18 $ ; $Date: 24 Sep 2017 10:17:54 $ ; $Logfile: D:/DBAREIS/Projects.PVCS/Win32/MakeMsi/TryMe.MM.pvcs $ ; ; DESCRIPTION ; ~~~~~~~~~~~ ; This is a simple sample/test MSI. Takes about 30 seconds to build and ; validate on my AMD 3200. ; ; Any line within this file that begins with ";" can be ignored as its ; only a comment so there are only 3 important lines in this file: ; ; 1. #include "ME.MMH" ; 2. <$DirectoryTree Key="INSTALLDIR" ... ; 3. <$Files "TryMe.*" DestDir="INSTALLDIR"> ;---------------------------------------------------------------------------- ;--- 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" ;--- Want to debug (not common) --------------------------------------------- ;#debug on ;#Option DebugLevel=^NONE, +OpSys^ ;--- Define default location where file should install and add files -------- <$DirectoryTree Key="INSTALLDIR" Dir="c:\program files\TryMe (makemsi sample)\<$MAKEMSI_MM_BASENAME>" CHANGE="\" PrimaryFolder="Y"> <$Files "TryMe.*" DestDir="INSTALLDIR">