Hello,
As another solution in order to achieve what you want you can simply use your own custom action which will copy the passed file (from command line) to the desired location. For example, if you want to copy the file under the
"Application Folder", then you can proceed like this:
1. create a BAT file (e.g. copy.bat) with the following content:
2. add the above BAT file as a
temporary file in "Files and Folders" page
3. go to "Custom Actions" page and add a "Launch file" custom action with sequence, scheduled after "Install Execution Stage -> Add Resources" actions group, like this:
- File To Launch: [©.bat]
Command Line: "[ADDFILE]" "[APPDIR]"
Hid program's window: checked
4. configure the above custom action to run as deferred with no impersonation
5. build and test your installation scenario (Myinstallation.exe /passive ADDFILE="x:\datas\settings.zip")
If you have any questions let us know.
All the best,
Daniel