File in $PLUGINSDIR can't be opened: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
m (Wikipedia python library)
 
m (Updated author and download links, and changed format of some pages.)
Line 8: Line 8:
: You should place the file(s) in a permanent directory, like the $TEMP directory or the $INSTDIR directory.
: You should place the file(s) in a permanent directory, like the $TEMP directory or the $INSTDIR directory.


Page author: virtlink
Page author: [[User:virtlink|virtlink]]

Revision as of 12:35, 23 April 2005

Issue
A file (for example, a text file containing release notes) which is extracted to the $PLUGINSDIR can sometimes not be opened in another program (i.e. notepad.exe) at the end of the installation.
Cause
The installer immideately removes the $PLUGINSDIR directory and it's contents after the installer quits. This causes any file which resides in the $PLUGINSDIR directory to be deleted when the installer quits, while the program tries to reach it.
Solution
You should place the file(s) in a permanent directory, like the $TEMP directory or the $INSTDIR directory.

Page author: virtlink