views:

136

answers:

1

How can I add a file to a precompiled msi and configure it such that when I run the msi the file is put into the program's application directory? I can add a file as a stream to the msi using msidb.exe /a but when I run the installer the file doesn't show up anywhere.

+3  A: 

Use Orca to edit the msi file to tell the windows installer where to put the file. Read up on the File, Directory and Component tables on MSDN and start from there

Jamie

related questions