Are you unable to read what's been posted? Go look at the threads that people have linked and stop with this foolishness.
We're not writing your script for you, and if you cant manage it with all the suggestions given to you already, then it's time to admit you can't learn how to program.
I understand as both the Autoit3 and SciTE4AutoIt3 installers are build with NSIS.
... but Autoit3 is not a installer generator like NSIS and all possible needed functions are available through UDF's or can build easily yourself with the provided internal functions.
Jos