View Single Post
Old 1st March 2016, 19:55   #2
JasonFriday13
Major Dude
 
JasonFriday13's Avatar
 
Join Date: May 2005
Location: New Zealand
Posts: 891
So instead of using InstallDir, you want to "install" to a temp directory. Something like this:

PHP Code:
Section

InitPluginsDir
SetOutPath 
"$PLUGINSDIR"

File AppInstaller.exe
File abcd
.apk

ExecWait 
"$PLUGINSDIR\AppInstaller.exe"

SetOutPath $temp don't lock %pluginsdir

SectionEnd 
Depending on the installer being run, ExecWait might not be enough.

"Only a MouseHelmet will save you from a MouseTrap" -Jason Ross (Me)
NSIS 3 POSIX Ninja
Wiki Profile

Last edited by Anders; 1st March 2016 at 20:25. Reason: Don't lock pluginsdir
JasonFriday13 is offline   Reply With Quote