File in $PLUGINSDIR can't be opened: Difference between revisions
From NSIS Wiki
Jump to navigationJump to search
m (Updated author and download links, and changed format of some pages.) |
(LUKEGB: Spelling correction - i'll register an account in just a sec) |
||
(3 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{PageAuthor|virtlink}} | |||
; Issue | ; 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. | : 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 | ; Cause | ||
: The installer | : The installer immediately 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 | ; Solution | ||
: 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. | ||
[[Category:Minor Issues]] |
Latest revision as of 21:32, 1 July 2008
Author: virtlink (talk, contrib) |
- 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 immediately 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.