The how to tutorial How do I prevent a file from being replaced by a newer version? describes a way of doing this with two custom actions.
Is it possible to do this within the tool rather than having to rely upon external scripts?
For example, the Help file for the Files and Folders page (The File Copy/Move Dialog) seems to imply that you can at least do the backup part of this within the tool.
You can:
- define a folder to receive the copy
- name the file to be copied
- associate a component whose install will trigger the file copy/move operation.
Can the trigger for this be defined to be "before install" rather than being dependent upon the install of a particular component?
Is there not something similar in the tool that can copy the backed up file back (i.e. does not rely on external script)?
thanks,
cats
FOLLOW US
Get the latest news in Application Packaging