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

The "FileMakeIgnore" Command

This command can can be used within a "FileMake" block and is used to indicate that what follows should be ignored (when comparing old and new versions of the file). The portion of the file which is insignificant ends when the "/FileMakeIgnore" command is encountered.

MAKEMSI needs your help in determining what a significant change is, for example a change in a date or time may or may not be significant, only you know if it is.

Testing of generated code should identify any issues (code not regenerated etc). If you make a change which is not reflected in the MSI, incorrect "ignore commands" would be high on your list of suspects. To help you to identify where the problem is you can look at the generated "state file", this indicates what was ignored (and wasn't). The date and time of the "state file" is when you last built.

The command doesn't take any parameters.

EXAMPLE

;--- Start the VBS (need to ignore the automatically generated header) ------
<$FileMake "<$MAKEMSI_VBSCRIPT_DIR>\VbsToBeInstalled.VBS">
    ;--- The contents of the VBSCRIPT ---------------------------------------
    <?SyntaxCheck>                      ;;Syntax check the generated code

    ;--- Some Code ----------------------------------------------------------
    SomeTime = "<$FileMakeIgnore><?CompileTime><$/FileMakeIgnore>"   ;;Actual time value does not significantly affect outcome of this script (its more like a version stamp)
    wscript.echo "Hi there, some VBS here!" & vbCRLF & vbCRLF & "SomeTime is " & SomeTime
<$/FileMake>


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


MAKEMSI© is (C)opyright Dennis Bareis 2003-2008 (All rights reserved).
Sunday August 13 2017 at 2:39pm
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.