View Full Version : How to create a report of all files included in the install

07-09-2008, 02:19 PM
I need to create (or find) a report that lists each file included in the installation along with the destination path and the file version. I want to be able to parse this file so it would be useful if it were comma delimited or xml format.

Each file would create an entry on this report as follows:

Filename, Destination Path, File Version

The report that is produced for each build has the filenames and versions but gives the source location. If the destination path can be added to this report it would suffice for my needs.

I am using InstallShield 2009.

Any suggestions?

07-09-2008, 04:09 PM
To start, if you have the InstallShield MSI Query tool, does this query (condensed to one line, of course) show what you want?

SELECT `FileName`,`Version`,`Directory_` FROM `File`,`Component`
WHERE `File`.`Component_`=`Component`.`Component`

07-10-2008, 09:01 AM
It is close to what I need but has two issues when I run the query.

1) Filename: Shows the both the short (8.3) and long formats of the file name
Ex: PSSHUT~1.EXE|psshutdown.exe
If the name is short enough it will just show it once
Ex: ATL80.dll

2) Version: No problems with this.

3) Directory_: Shows the Label from the display name field and does not expand the macros.
Ex: INSTALLDIR rather than C:\Program Files\MyCompany\MyProduct\
Ex: Utilities rather than [ProgramFilesFolder]MyCompany\MyProduct\Utilities

11-21-2010, 10:41 AM

In this case I wrote a VB script with XPath expressions and run it on ISM project file.