Skip to content
⌘ NSIS Forum Archive

$INSTDIR in nsExec?

3 posts

M_E#

$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?
jpderuiter#
You can pass it as a parameter:
ITPro Today, Network Computing and IoT World Today have combined with TechTarget.com. The page you are looking for may no longer exist.