\
Source Code
Commands
DirectoryTree
| The "DirectoryTree" Command |
This command takes a directory specification in a fairly user friendly
format and defines and possibly creates this
directory
entry in the MSI "Directory" table
.
The macro takes these parameters:
| EXAMPLES - Create Empty Folder |
Note that in the following example an empty folder is not removed
on uninstallation, use the "REMOVE" parameter if this is required:
<$Component "CreateEmptyFolder" Create="Y" Directory_="EMPTYDIR">
<$DirectoryTree Key="EMPTYDIR" Dir="c:\EmptyDirectory" MAKE="Y">
<$/Component>
<$DirectoryTree Key="INSTALLDIR1" DIR="C:\A\B\C\D\E\F\G\InstallationDirectory"> ;;C: forced! (BY DEFAULT) - can be overriden from install command line though...
<$DirectoryTree Key="INSTALLDIR2" DIR="[ProgramFilesFolder]\x\y\z\InstDir2"> ;;Tree starts at "ProgramFilesFolder"
<$DirectoryTree Key="INSTALLDIR3" DIR="C:\Program Files\InstDir3"> ;;Because of preconfigured mapping will convert to use "ProgramFilesFolder"!
<$DirectoryTree Key="INSTALLDIR4" DIR="C:\Program Files\AN83NAME.1|ALongDirectoryNameForWhichIHaveSuppliedASpecific_8.3_Name"> ;;Specify a specific 8.3 name