cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
helena37
Level 2

How to get file name and path that added in installer?

I want to create upgrade installer. The update installer will replace some files. I want to backup these files while installing. I don't want to hard code file names in install script function. How can I get file path and file name of these files added to installer?
Labels (1)
0 Kudos
(1) Reply
TsungH
Level 12

If it's a MSI package, files will be listed in File Table, which are grouped by Component Table. You will have to create a custom action that query the current running MSI database and session for the files and their destination path. Automation Interface and Installer Function Reference will be a good place to start.
0 Kudos