I have some txt updates for temporary txt files within my setup, that need to be executet, because I have to edit some paths in the txt files. My problem is, that the text updates are not performed. If I move the files to another folder and install them as a normal file, not a temp file, all txt updates work fine.
Is this a bug or a feature? I think this txt update thing on temp files worked correctly in older versions...
Hello Matthew and welcome to Advanced Installer forums,
I have tested this now and the text file update is working as expected for temporary files with Advanced Installer 16.2.
First of all, please keep in mind that unlike Advanced Installer's regular files or resources, "Temporary Files" are copied on the target machine at the beginning of the installation and are deleted at the end of it, ensuring you have access to them throughout the entire install process.
With that being said, there are few things we need to take into consideration here:
1. by default, a temporary file is deleted when the installation ends. In order to avoid this, you can go to "Files and Folders" page --> double click on your temporary file and then enable the "Do not remove the file when setup ends" option.
2. as its name suggests, it is a temporary file. Its location is in the temporary folder (%temp%), not in your installation folder.
FOLLOW US
Get the latest news in Application Packaging