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 for the Windows SDK (Windows Installer) area.This external link was OK when tested at 7 Aug 2008Please 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).
Tuesday August 19 2008 at 7:04pm
Visit MAKEMSI's Home PageThis external link was OK when tested at 13 Aug 2008

HTML page dated Mon, 29 Jan 2007 00:11:11 GMT
Microsoft awarded me an MVP (Most Valuable Professional award) in 2004, 2005, 2006 & 2007 for the Windows SDK (Windows Installer) area.This external link was OK when tested at 7 Aug 2008