Jis
Posts: 51
Joined: Thu Dec 12, 2013 6:02 am

Copy files from advanced installer temp folder to another location

Hi,

While installing an aip, I want to copy a file in the advanced installer temp folder to my APPDIR. Could someone explain how I need to do this.

Thanks in advance,
Jis.
Sorin
Posts: 663
Joined: Mon May 08, 2017 1:03 pm

Re: Copy files from advanced installer temp folder to another location

Hello,

This could be implemented in the following way:

1. Go to "Files and Folders" page and add a new temporary file to your project by Clicking on the "Add - Temporary Files" toolbar button.
2. Go to the "Application Folder" and create a new file copy operation by clicking on the "New - File Operation" and selecting "File copy/move" option.
3. Configure this operation in the following way:
- enter the file name of the temp file in the name field of the "Source File" section
- pick the Windows Volume -> Temporary folder in the "Folder" field of the "Source File" section
- enter the name of the file in the "Destination File" section. If you chose another file name, the destination file will be renamed
- select "Copy" from "Operation" field.

Best regards,
Sorin
Sorin Stefan - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Jis
Posts: 51
Joined: Thu Dec 12, 2013 6:02 am

Re: Copy files from advanced installer temp folder to another location

Hi Sorin,

Thank you for the steps.

Then also I have a problem here. I am not able to add the file to the temp folder from the installer, because the file is created during the installer running. When I run the installer in the target machine, an exe added in the files and folder is called and as a result the file is created to the temp folder which I have to copy.

Thanks in advance,
Jis.
Jis
Posts: 51
Joined: Thu Dec 12, 2013 6:02 am

Re: Copy files from advanced installer temp folder to another location

Hi,

Can anyone help me here.

Thanks in advance,
Jis
Jis
Posts: 51
Joined: Thu Dec 12, 2013 6:02 am

Re: Copy files from advanced installer temp folder to another location

Thank you. I got the solution.
I got a script which helps to search for the temp folder and get the file, then do the copy operation.

Jis.
Daniel
Posts: 8238
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Copy files from advanced installer temp folder to another location

Hello Jis,

We're happy to hear you solved this.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”