2016-01-24, 21:05
Like you described the latest stable NSIS fails. I think this is due to the bat, which calls NSIS kind mangles the paths. The following works for me, but is kind an ugly hack:
Just for reference, %~dp0 returns the directory the script is located (not the path from which the script is called) and %CD% is the current working directory.
Code:
SET mypath=%~dp0
SET EMM_FILENAME=Ember Media Manager.exe
SET EMM_APPNAME=Ember Media Manager BETA
cd ..
SET EMM_ROOT=%CD%
cd %mypath%
Just for reference, %~dp0 returns the directory the script is located (not the path from which the script is called) and %CD% is the current working directory.