Hello,
I need to make sure a file is not deleted by the uninstall operation. This file contains the "base license" of our product and, when the user activates it, it is replaced with a file containing their license.
Unfortunately, that file must be distributed with the software but it must NOT be deleted one installed.
I have not found a way to do that through the file properties or the cleanup dialog so I have attempted to:
Install the file with a different name
Add a "File Copy/move" operation instructing the installer to copy the newly installed file with the final name and placed a condition "(Not Installed)"
What I don't know:
- How to tell the installer not to overwrite the file if it exists.
- Make sure the original template is copied before the file operation runs.
If there is a better way to do that, I'm open to suggestions. The only thing I can't do (right now) is change how the application handles that license file (I can't copy it if it's not present when the application starts or read it from a different location).
I'm using AI version 14.2.1 (Professional)
Thank you