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

The "ExtnAction" Command

This command can can be used within a "Extn" block. It defined an action to be associated with a "ProgId".

The command takes these parameters:

Main Extn/ExtnAction Related Options

Please see the "options for commands" section of the manual.

#define? EXTN_DEFAULT_PROGID_PREFIX     ProgId4.
#define? DEFAULT_EXTN_HKEY              CLASSES_ROOT
#define? EXTN_ACTION_COMMAND_TYPE       STRING      ;;or EXPSTRING (to expand environment variables etc)?

EXAMPLE

Also see the "TryMeExtnAction.MM" example.

<$Component "TestExtnMacro" Create="Y" Directory_="INSTALLDIR">
   <$Extn ".TestExtn" KEYPATH="Y" Description="Test Extension">
       <$ExtnAction Key="Open" Description="EDIT FILE" Command=^notepad.exe "%1"^>
   <$/Extn>
<$/Component>


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


MAKEMSI© is (C)opyright Dennis Bareis 2003-2008 (All rights reserved).
Sunday February 28 2016 at 3:45pm
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.