We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

matthewbartlett

Txt Update for temporary txt file not performed

Hello,

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...

thank you
Catalin
Posts: 7853
Joined: Wed Jun 13, 2018 7:49 am

Re: Txt Update for temporary txt file not performed

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.

Hope this helps.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”