cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
ajonasson
Level 3

How to create a report of all files included in the install

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?
Labels (1)
0 Kudos
(3) Replies
RobertDickau
Flexera Alumni

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`
0 Kudos
ajonasson
Level 3

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
0 Kudos
mirik222
Level 5

Hi.

In this case I wrote a VB script with XPath expressions and run it on ISM project file.
[CODE]/msi/table[@name="File"]/row
/msi/table[@name="ISSetupFile"]/row
/msi/table[@name="ISDisk1File"]/row
/msi/table[@name="ISDynamicFile"]/row
/msi/table[@name="Binary"]/row[/CODE]
0 Kudos