Copy files from setup file location to Application Folder - 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!

morsanu
Posts: 3
Joined: Wed Nov 10, 2010 2:19 pm

Copy files from setup file location to Application Folder

Hi

I need to copy some folders and files from the folder where the setup file is located to the application folder. Is this possible and if it is can you help me with some instructions?

Thanks in advance
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Copy files from setup file location to Application Folder

Hello and welcome to Advanced Installer Forums,

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.

You will be interested in reading the following article which explains in detail what needs to be done to achieve this.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
morsanu
Posts: 3
Joined: Wed Nov 10, 2010 2:19 pm

Re: Copy files from setup file location to Application Folder

Thank you for the quick reply, Gabriel.

The tutorials are very helpful but when I was looking on how to copy multiple files from a folder I found this :

"When using wild cards, leave the "Destination File" field blank in order to preserve the original file names."

If I let the Destination File Name blank, the OK button is disabled.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Copy files from setup file location to Application Folder

Hello,

I have tested this using "*.*", "*.extension", "filename.*" and the OK button was enabled and functional. Actually the only time when the OK button was disabled is when I left the "Source File" -> "Name" field empty.
What kind of wild card were you using in the "Name" field? Also you can send a screen shot to support at advancedinstaller dot com so we can investigate your settings.

Regards,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
morsanu
Posts: 3
Joined: Wed Nov 10, 2010 2:19 pm

Re: Copy files from setup file location to Application Folder

Hey,

I managed to complete the task by putting "*.*" in the source file name input and leaving the destination file name input with "YourFile.exe" instead of making it blank.

I have a folder in the SOURCEDIR folder, is there a way to copy files from it. How can I set a property for [SOURCEDIR]\MyFolder to copy files from it?

Sorry for the big number of questions but I am new to Advanced Installer.

Later Edit : I was using the wrong property, SOURCEDIR instead of SETUPEXEDIR. Now it works. Thanks a bunch for helping me.

Return to “Common Problems”