View Single Post
Old 22nd April 2016, 18:32   #7
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,275
This is a stupid restriction, malware could write all over %AppData% or %LocalAppdata% as well if they wanted to.

You can change the NSIS plugin directory in NSIS v3+ with this:
PHP Code:
Function .onInit
UnsafeStrCpy $pluginsdir 
"$localappdata\myappsetuptemp"
CreateDirectory $pluginsdir
FunctionEnd 

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote