copying the installer into $INSTDIR
i've written an NSIS script that can be used to update my application as well as install it. i'd like to allow users to choose their install location (like a normal installer) and then i copy the current running installer into the $INSTDIR.
is there something like $INSTDIR for the installer exe itself that will include the path?
for example... user downloaded my installer to D:\installers\myinstaller.exe
they stated they want the program installed to e:\programs\myapplication
i would like to copy d:\installers\myinstaller.exe to e:\programs\myapplication
i tried tooking in the wiki however i seem to not be that great at searching in it. any help is greatly appreciated.