View Single Post
Old 6th April 2016, 06:31   #1
Hugh
Junior Member
 
Join Date: Apr 2016
Posts: 11
Configuring $PLUGINSDIR and/or $TEMP

In an effort to combat malware, a customer has chosen to restrict read/write/execute access to their regular temp directory, and instead wishes to supply a custom temp directory for the installer to use. While this is fairly easy for the installer to do, it's another story when it comes to plug-ins. We are using MUI and System.dll, the former of which also relies on nsDialogs.dll. They all extract to $PLUGINSDIR (possibly before our script starts), which will fail in this scenario.

We are currently using NSIS 2.46.5, and are willing to upgrade if any of the newer builds feature configurable temp directories, though this functionality does not appear to be available yet. Earlier hacks such as using chngvrbl.dll do not appear to work. Any suggestions would be appreciated, thanks.
Hugh is offline   Reply With Quote