This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- How to get file name and path that added in installer?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Nov 07, 2013
03:17 AM
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?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Nov 07, 2013
02:04 PM
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.