Location of temporary files - Advanced Installer Community

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!

tim.lange
Posts: 1
Joined: Mon Nov 22, 2010 8:27 am

Location of temporary files

Hello,

I have a problem using temporary files. I have run some tests and noticed that temporary files are copied before the user has been asked for a location to install the application. If I place the temporary files in the “Application folder” of Advanced Installer, the files are copied on the “C:” drive instead of the location chosen by the user.
Is there a way to copy the temporary files into the folder specified by the user?

I want the files to be copied before ‘regular’ files because I want to run a custom action to do some checks before the rest of the files are copied.
Is there a way to do this?

Regards,
Tim
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Location of temporary files

Hi Tim and welcome to Advanced Installer Forums,

If you want to run a file as a custom action, but not want to have that file installed on the user's computer, you can run it as an Attached custom action:
- on the Custom Actions page, right click and select "New Attached Custom Action"
- select the file which you want to run as a custom action.

Since you are new, I highly recommend you read our tutorials for a better understanding of how to use Advanced Installer to efficiently deploy your products.
This will also help you better understand support team's suggestions now and in the future. The simple and professional tutorials are especially important.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”