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]: Cabinet[Next]: /Cabinet
Have your say! Join the MAKEMSI discussion list or view archive! Suggest improvements. No question too simple or too complex.
\->Source Code->Commands->Cabinet->Compile Options

Compile Options

The options shown here are valid for the "compile" command, you may need to alter these options to work around cabinet file limitations.

Please see the "options for commands" section of the manual for generic configuration details on how these can be altered:

<__$ExampleFile INDENT=0 FILE="Compile.MMH" Fragment="[Options4Doco]" STATE="REMEMBER">

Options that Vary by Processing Mode

You should note that the following definitions override some of the above, the values vary based on the processing mode (development or production):

;----------------------------------------------------------------------------
;--- Which compression to use? ----------------------------------------------
;----------------------------------------------------------------------------
#define? COMPILE_COMPRESSION_TYPE_4_PRODUCTION     <$COMPRESS_BEST>
#define? COMPILE_COMPRESSION_TYPE_4_NOT_PRODUCTION <$COMPRESS_MEDIUM>
#define? COMPILE_COMPRESS_4_PRODUCTION             ON
#define? COMPILE_COMPRESS_4_NOT_PRODUCTION         ON
#if ['<$MmMode>' = '<$MMMODE_PRODUCTION>']
   ;--- Production mode -----------------------------------------------------
   #define? COMPILE_CABDDF_CompressionType    <$COMPILE_COMPRESSION_TYPE_4_PRODUCTION>
   #define? COMPILE_CABDDF_Compress           <$COMPILE_COMPRESS_4_PRODUCTION>
#elseif
   ;--- Other mode ----------------------------------------------------------
   #define? COMPILE_CABDDF_CompressionType    <$COMPILE_COMPRESSION_TYPE_4_NOT_PRODUCTION>
   #define? COMPILE_CABDDF_Compress           <$COMPILE_COMPRESS_4_NOT_PRODUCTION>
#endif


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]: Cabinet[Next]: /Cabinet


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.