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]: Dumping a Windows Installer database[Next]: Validation Suites + Orca Integration
Have your say! Join the MAKEMSI discussion list or view archive! Suggest improvements. No question too simple or too complex.
\->MAKEMSI Installs...->Available Frameworks->Validation Suites (create CUB files)

Validation Suites (create CUB files)

You can create your own MSI validations which you wish performed. These would probably be on top of those performed by "darice.cub" or another validation suite. If you just wish to make simplistic changes to an existing suite then you'd probably follow the "making changes to existing databases" approach.

As with other similar situations the VBS code is automatically syntax checked before being added to the ".CUB" file.

Please see the following sections:

USE THE GENERATED CUB FILE

If you want to be able to use the validation suites you create in "ORCA" then you need to read the "Validation Suites + Orca Integration" section.

To use within MAKEMSI you can use the "VALID_MSIVAL2_DB" define to specify a specific validation suite which you would like to run as demonstrated:

#define VALID_MSIVAL2_DB \
        C:\DBAREIS\Projects\Win32\MakeMsi\out\ICE.mm\Msi\DbValid.cub
#include "DEPT.MMH"            ;;Load MAKEMSI support

Note that for MAKEMSI to display validation results correctly after filtering no messages should be multiline (don't use "vbCRLF" etc).

Main Options

;----------------------------------------------------------------------------
;--- Options ----------------------------------------------------------------
;----------------------------------------------------------------------------
#define? ICE_LOG_DIR                 <$MAKEMSI_VBSCA_DIR>
#define? ICE_DEFAULT_SEQUENCE_RANGE  1-32767   ;;Use any "free" number starting at one
#define? ICE_EXTRA_VBS_CONSTANTS
#define? ICE_EXTRA_VBS_FUNCTIONS               ;;Handy if you wish to add your own standard functions (in a header etc)
#( '<?NewLine>'
   #define? ICE_FORCE_VARIABLE_DECLARATION_CODE
   option explicit
#)
#( '<?NewLine>'
   #define? ICE_DEBUG_CODE
   IceInfo("DEBUG: " & Text)
#)
#( '<?NewLine>'
   #define? ICE_TRAP_DISPLAY_MESSAGE
   IceFatal "TRAP: " & Text
#)
#(
    #define ICE_IceFatal

    ;--- Extra code to display error in a message box -----------------------
    MsgBox {$TextVar}, vbCritical, "ICE ""{$IceName}"" Validation Problem"
#)


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]: Dumping a Windows Installer database[Next]: Validation Suites + Orca Integration


MAKEMSI© is (C)opyright Dennis Bareis 2003-2008 (All rights reserved).
Sunday November 17 2013 at 1:19pm
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.