fixed plug-ins directory initialization for extremely restricted guest users with no directory listing access to the temporary directory
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3909 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
18a03a5eb5
commit
a7e4a69bb4
3 changed files with 9 additions and 2 deletions
|
@ -3216,8 +3216,8 @@ again:
|
|||
// GetTempFileName $0
|
||||
ret=add_entry_direct(EW_GETTEMPFILENAME, var_zero, add_string("$TEMP"));
|
||||
if (ret != PS_OK) return ret;
|
||||
// Delete $0 - the temp file created
|
||||
ret=add_entry_direct(EW_DELETEFILE, zero_offset);
|
||||
// Delete $0 [simple, nothing that could clash with special temp permissions]
|
||||
ret=add_entry_direct(EW_DELETEFILE, zero_offset, DEL_SIMPLE);
|
||||
if (ret != PS_OK) return ret;
|
||||
// CraeteDirectory $0 - a dir instead of that temp file
|
||||
ret=add_entry_direct(EW_CREATEDIR, zero_offset);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue