sylven
Posts: 7
Joined: Fri May 30, 2014 9:39 am

Copy files that sit in same folder as the setup exectuable

We created a Setup Application that sits on a FileServer. The Client Computers run the Setup Application. The Setup Application should also copy some executable and ini files from the FileServer to the Clients.
We tried to create a property based folder as shown in the manual but this did not work.

Do we need to use xcopy? Has Advanced Installer a built in function for this?
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: Copy files that sit in same folder as the setup exectuab

Hello and welcome to Advanced Installer forums,

Please take a look on the How do I install a user specific file? article with related information for hints and guidance.

Let us know if that helped, otherwise please give us more details about your specific scenario (maybe exemplify).

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sylven
Posts: 7
Joined: Fri May 30, 2014 9:39 am

Re: Copy files that sit in same folder as the setup exectuab

Thank you for the hint. It works!
sylven
Posts: 7
Joined: Fri May 30, 2014 9:39 am

Re: Copy files that sit in same folder as the setup exectuab

Is it possible to read the exteral file from another folder, like this
[SETUPEXEDIR]SubFolder\

It seems that the SETUPEXEDIR Property does not allow to add a sub folder like this: [SETUPEXEDIR]Subfolder\
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: Copy files that sit in same folder as the setup exectuab

Hello,

I'm not sure I fully understand your scenario. Can you please give us more details (maybe exemplify)?

However, if you need the related path stored into a property you can have something like that into the field of a Execute inline script code custom action:

Code: Select all

Session.Property("MY_PATH") = Session.Property("SETUPEXEDIR") + "Subfolder\"
So, MY_PATH property will be equivalent with [SETUPEXEDIR]SubFolder\

Please let me know if that helped.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Feature Requests”