Open sourced NSIS installer script for MT4 EA and Indicators

Today I put a very simple NSIS installer script that works with MetaTrader 4 EA and indicators on github.

https://github.com/wqking/pieces/tree/master/mt4-nsis-installer

This is a very simple NSIS (Nullsoft Scriptable Install System) script to create Windows installer for MetaTrader 4 Expert Advisors and Indicators.
If your EA or indicator includes more than just one .ex4 file, such as, a bunch of DLLs, you may want to pack them into a installer.
I used the script in my Adaptive RSI indicator and will use it for all future products (my EAs and indicators depend on Qt DLLs).

Main features:

  • Auto detect MT4 data folder in {AppPath}\MetaQuotes\Terminal and {AppPath}
  • Display the folder in a friendly way, with MT4 install folder prefixed. For example, <C:\Program Files (x86)\SomeBrokerMetaTrader> c:\users\blah blah.
  • Easy to use, no config, just include the main script.

Known issues:

  • The UI uses the old nsDialog, not Modern UI.
  • The main window looks quite small.
  • Only support the new folder structure for MT4 Build 600+. This is not an issue for me because my EAs and indicators require Build 600+.

Enjoy it!

Discussion

Enter your comment. Wiki syntax is allowed:
TQPSX