Archive: $INSTDIR in nsExec?


$INSTDIR in nsExec?
Hi there,

at the end of an install-process I'm creating via NSIS I tell it to open a bat file with nsExec:
nsExec::Exec '"$INSTDIR\initialize.bat"'

But in that bat-file I need the INSTDIR to have the correct path to a file. Is there any way to pass this through?


You can pass it as a parameter:
http://www.windowsitpro.com/article/...tch-file-.aspx


It's that easy.... ;) Thanks!