zoom2009
Posts: 2
Joined: Wed Aug 30, 2017 8:24 am

Need somebody to create EA metatrader installer.

l don't know how to make installer searching folder name "Expert" from metatrader software path.

Example

C:\Users\zoom2\AppData\Roaming\MetaQuotes\Terminal\1DAFD9A7C67DC84FE37EAA1FC1E5CF75\MQL4\Experts
C:\Users\zoom2\AppData\Roaming\MetaQuotes\Terminal\3AAC6C1E2F69AD89A733AEC2C2F366CB\MQL4\Experts

Somebody please share project file to me

Thank you.
Best regards.
Sorin
Posts: 663
Joined: Mon May 08, 2017 1:03 pm

Re: Need somebody to create EA metatrader installer.

Hello,

You could implement this using a file search operation that will retrieve the path of a file contained by that directory. Then you need to use a VBS custom action to parse that path and remove the filename from it. The resulted path will point to the directory.

You could add AppDataFolder as a location for this search. Also for your given paths you should set the depth of search to 6. Please keep in mind that the higher the depth of search is, the longer the required time time for the search.

On this forum topic you could find a sample project posted by by colleague Dan, containing a VBS custom action that parses the search result property:
http://www.advancedinstaller.com/forums ... 202#p84666

Best regards,
Sorin
Sorin Stefan - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”