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

The "Extn" Command

This command is used to define a file extension and associate it with a "ProgId" and one or more actions that can be performed on the extension.

This command can not be nested and is required before the "ExtnAction" command can be used.

This command takes these parameters:

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]: ExeCa[Next]: ExtnAction


MAKEMSI© is (C)opyright Dennis Bareis 2003-2008 (All rights reserved).
Saturday November 19 2011 at 2:21pm
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.