The "HtmlDirTable" Command |
This command is used to add a file listing to the HTML report (at the location you organise). It would typically be used to list files that may be installed by the MSI by means other than the MSI "File" table table, for example you may be zipping files, adding the zip and extracting these at install time.
The command unlike nearly every other command must only be used while the html report is being generated (see the example to see one way of scheduling it). It takes these parameters:
You could also supply where the root is at install time either with a full path or via a Directory key, either way it must end with a slash. You would need to do this if you intend to allow verification of these files.
You can use the "FilesExclude" command to define some initial exclusions.
The default for this parameter can be set via the DEFAULT_HTMLDIR_NO_MATCHES_OK macro. The initial value is "N".
EXAMPLE |
<p>This command must only be used while the HTML report is being generated so you will need to "<$schedule>" it. The HTML report has many hooks which allow you to add information before or after sections of the doco. #( ;--- Used the "before file" section hook ---------------------------------- #define+ FILE_BEFORE_REPORT <$HtmlDirTable "c:\tmp\a*.*;" Title="a*.*" DirRoot="c:\tmp\" NoneOk="Y" TT="Contents of fred.ear" EXLIST="TEST" Verify="Y"> <$HtmlDirTable "c:\tmp\b*.*;" Title="b*.*" DirRoot="c:\tmp\" NoneOk="Y" TT="Contents of fred.ear" EXLIST="TEST" Verify="Y"> ;<$HtmlDirTable "c:\tmp\a*.*;c:\tmp\i*.zip;" Title="My Test1..." DirRoot="c:\tmp\qwerty\" NoneOk="Y" TT="Contents of fred.ear" EXLIST="TEST"> ;<$HtmlDirTable "c:\tmp\*.exe;c:\tmp\a*.*;c:\tmp\l*.zip;" Title="My Test2..." DirRoot="[INSTALLDIR]\" NoneOk="Y" TT="Contents of fred.ear" EXLIST="TEST"> #)