Skip to content
⌘ NSIS Forum Archive

Where does a single file setup.exe get extracted to?

4 posts

slloyd#

Where does a single file setup.exe get extracted to?

Where does a single file setup.exe get extracted to? I am trying to run another install included in the setup.exe prior to installing the files but it $EXEDIR does not find it. Do the files get extracted to some temp dir before installing?
Red Wine#
$EXEDIR is the path where installer currently running.
You should extract the included another installer into $PLUGINSDIR and call it from there, e.g.
Function .onInit
InitPluginsDir
File "/oname=$PLUGINSDIR\another_installer.exe" local_file_name.ext
ExecWait "$PLUGINSDIR\another_installer.exe"
.........
.........
FunctionEnd