DEPT.MMH |
See "Preferred MSI Interface for Building a Complete MSI" for more details...
In general you should not include this header file directly by your scripts, see "DENNIS.MMH" for an example of how it should be used.
;---------------------------------------------------------------------------- ; ; MODULE NAME: DEPT.MMH ; ; $Author: USER "Dennis" $ ; $Revision: 1.12 $ ; $Date: 07 May 2005 09:10:04 $ ; $Logfile: C:/DBAREIS/Projects.PVCS/Win32/MakeMsi/DEPT.mmh.pvcs $ ; COPYRIGHT: (C)opyright Dennis Bareis, Australia, 2003 ; All rights reserved. ; ; Note that this header is one of the few intended to be "replaced". ; It has however been written so physical altering or deleting of this ; file should not be required. ; ; There are many options, some are: ; ; 1. Ignore this file altogether, create your own front end with ; different filenames so as not to clash. ; ; 2. Modify this file BUT if you do so you should move it to a ; different directory so as not be be deleted ALONG WITH YOUR ; CHANGES on a MAKEMSI uninstall! ; ; 3. Create a new header that overrides some things but still includes ; this one. ; ; Let me know of any issues. ;---------------------------------------------------------------------------- ;---------------------------------------------------------------------------- ;--- Define Version number of this install support -------------------------- ;---------------------------------------------------------------------------- #ifdef DEPT_VERSION ;--- Die, already included ----------------------------------------------- #error ^You have already included "<?InputComponent>"^ #endif #define DEPT_VERSION 03.171 ;---------------------------------------------------------------------------- ;--- Obsolete values (don't use!) ------------------------------------------- ;---------------------------------------------------------------------------- #define? DEPT_SUPPORT_WEB_URL ;---------------------------------------------------------------------------- ;--- Define some Department details ----------------------------------------- ;---------------------------------------------------------------------------- #define? DEPT_ARP_URL_PUBLISHER #define? DEPT_ARP_URL_TECHNICAL_SUPPORT <$DEPT_SUPPORT_WEB_URL> #define? DEPT_ARP_URL_APPLICATION_UPDATE_INFORMATION #define? DEPT_NAME Packaging Are Us #define? DEPT_ADDRESS Australia #define? DEPT_MSI_MANUFACTURER <$DEPT_NAME> #define? DEPT_MSI_AUTHOR <$DEPT_NAME> #define? COMPANY_CONTACT_NAME Fred Nerk #define? COMPANY_CONTACT_NAME_PHONE (03)1234-5678 #define? COMPANY_PACKAGED_BY Packaged by <$DEPT_NAME> (<$DEPT_ADDRESS>). ;---------------------------------------------------------------------------- ;--- Define the types of boxes your department/company supports ------------- ;---------------------------------------------------------------------------- #ifndef COMPANY_DEFINE_DEPARTMENTS_PLATFORMS #( #define COMPANY_DEFINE_DEPARTMENTS_PLATFORMS ;;COMPANY.MMH expands... ;--- User must override... ------------------------------------------- <$Platform "WINDOWS_ALL" DESC=^On any Windows Computer^ PLATDIR=AnyWindowsComputer"> <$Platform "TEST" DESC=^Testing (NOT SUPPORTED)^ PLATDIR="Testing-Unsupported"> #) #endif ;---------------------------------------------------------------------------- ;--- Load MAKEMSI support --------------------------------------------------- ;---------------------------------------------------------------------------- #NextId PUSH #include "COMPANY.MMH" #NextId POP ;---------------------------------------------------------------------------- ;--- Make sure we record details about this header -------------------------- ;---------------------------------------------------------------------------- <$SourceFile Version="<$DEPT_VERSION>"> ;---------------------------------------------------------------------------- ;--- Start "location" status information (if allowed) ----------------------- ;---------------------------------------------------------------------------- <$LocationVerboseOn> ;;Outputs messages during length processing (to prove it hasn't hung etc)