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

The "RemoveFile" Command

This command can be used to to populate the "RemoveFile" table.

It can be useful to overcome ICE validation errors if you create subdirectories for user shortcuts or you may wish to completely remove a directory on uninstall (including any created log files etc).

This command is takes the following parameters:

EXAMPLES

;--- Doco -------------------------------------------------------------------
<$DirectoryTree Key="SCDIR_MAKEMSI" Dir="[ProgramMenuFolder]\MakeMSI Tool">
<$Component "DocoMAKEMSI" Create="Y" Directory_="INSTALLDIR">
   <$RemoveFile DIR="SCDIR_MAKEMSI">
   <$File Source="OUT\DOCO\MakeMsi.chm" Comment='MAKEMSI documentation.' KeyPath="Y">
   #(
       <$Shortcut
                   Dir="SCDIR_MAKEMSI"
               Feature="<$COMPANY_COMPLETE_FEATURE>"
                 Title="MakeMsi|MAKEMSI Documentation"
           Description="Documents the MAKEMSI tool"
       >
   #)
<$/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]: RegistryRead[Next]: ProductFind


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.