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

The "MacroCfg" Command

Lots of MAKEMSI commands can be configured (and have parameter default values set) using PPWIZARD macros.

This command is useful where you have an isolated piece of code for which you want particular values set but you don't want to effect other parts of your script which may be relying on an alternative configuration.

This command allows you to safely save (and optionally change) a macros value for later restoration with a matching "/MacroCfg" command.

This command takes these parameters:

EXAMPLE

This example shows how you can make a temporary change to the "DEFAULT_ROW_VALIDATE_NO_WHERE" macro and then restore its original value (without needing to know what that is):

...
<$MacroCfg "DEFAULT_ROW_VALIDATE_NO_WHERE" VALUE="NEW -MISSINGDATA">
    <$Row ...>
    <$Row ...>
    <$Property "ABCDEFG" VALUE="C:\">
    ...
<$/MacroCfg>


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


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.