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

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:

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">
#)


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]: HookInto[Next]: Icon


MAKEMSI© is (C)opyright Dennis Bareis 2003-2008 (All rights reserved).
Saturday May 28 2022 at 3:11pm
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.