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]: Samples - Build New MSI/MSM[Next]: TryMe.VER
Have your say! Join the MAKEMSI discussion list or view archive! Suggest improvements. No question too simple or too complex.
\->MAKEMSI Installs...->Samples Installed by MAKEMSI->Samples - Build New MSI/MSM->TryMe.MM

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:

  1. TryMeAddVersionKeywordAndLaunchCondition.MM
  2. TryMeConditionDialogs.MM
  3. TryMeCreate[START]OfMsiFromScratch.MM
  4. TryMeLoadDirTreeMaintainingAttributes.MM
  5. TryMeCreateIisSite.MM
  6. TryMeDllCustomAction.MM
  7. TryMeDualPurposePackage-SupportsWinXP.MM
  8. TryMeDutch.MM
  9. TryMeExcelAddIn.MM
  10. TryMeExtnAction.MM
  11. TryMeCreateMergeModule.MM
  12. TryMeShortcuts.MM
  13. TryMeTaskSchedules.MM
  14. TryMeTemplate-SimpleSchedule.MM
  15. TryMeUpdateRegistry00-99.MM
  16. TryMeUseMergeModule.MM
  17. TryMeUserInputUsed2CreateFile.MM
  18. TryMeWithFixedGuids.MM
  19. TryMeWithMultipleMedia.MM
  20. TryMeWithNoRootFeature.MM
  21. TryMeWithNonAdvShortcutPlusMore.MM
  22. TryMeWithUserDialog.MM
  23. TryMeWindowsHotFix.MM

After installing the MSI you might wish to try:

  1. Find the application in the Add/Remove Applet and click on "support information".

  2. Have a look at this information (it can all be configured).

  3. Click on the readme link. The generated and installed HTML documentation should be kicked off (again just about anything can be configured, removed or even added).

  4. Click on the Files" button to go to the "files" reporting.

  5. Click on any column heading of any table in the report to sort it on that column. Click it again to sort in the opposite direction.

  6. File type items generally show the MD5, the "Display a file's MD5" shortcut can display a files MD5 to see if the files are identical.

  7. Click on the "File" sections "Verify" button. This needs more work but will work as is in most cases. It verifies the installed files match what's expected, in certain cases you would expect differences (where possible MD5 codes are compared). If you don't want it turn it off...

  8. Hovering the mouse over a row will generally tell you more information in a tooltip, other information is displayed when hovering other specific types of information.

  9. Read some more MAKEMSI documentation. It is generally more of a reference than something you'd read from start to finish but at least have a read of the "best practices" section.

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


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]: Samples - Build New MSI/MSM[Next]: TryMe.VER


MAKEMSI© is (C)opyright Dennis Bareis 2003-2008 (All rights reserved).
Saturday May 28 2022 at 3:11pm
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.