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!

JadedNomad
Posts: 1
Joined: Mon Jan 13, 2014 12:25 am

Conditional File Copy For Add In

HI there

I am building an install package for a an add in for a .exe application.

The target computer could have multiple versions of this .exe installed and i need to place some files into each of these .exe install locations.

I have created some Searches which read the registry that use "The value contains a path to a directory" and return the .exe folder path. These either return "1: TheFolderPath" or they return "1:"

I then created some property based folders on the target computer in Files and Folders. Then in each of these newly created folders i have placed the necessary files that need to be installed if the path exists.

Then in Organisation I have renamed the associated Component so they more easily relate to the folder that they should possibly end up in on the target computer. Then in the Condition field of the component i have used the Search Property.

When I run the installer it places the files into the right folders that already exist on the target computer. But for folders that DONT exist on the target computer the installer creates folders in the Root of the computer, these are named the same as the Search Property with the files inside.

I am obviously doing something wrong, can you please point me in the right driection

With thanks
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Conditional File Copy For Add In

Hello and welcome to Advanced Installer forums,

I'm not sure why you encountered this behavior.
In order to have a better view about this, can you please send us the .AIP (project file) to support at advancedinstaller dot com so we can investigate it? If it contains confidential information you can send us a small test project which reproduce this behavior.

Also, you can take a look on the Install in another application's folder article which may be useful to you.

Please let us know if that helped.

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

Return to “Building Installers”