- Fixed all known problems with temporary files and directoroes
- Command line switches work again (/NCRC and /S) - GetTempFileName now takes another argument as base directory (default is $TEMP) - Message boxes work from .onGUIEnd - Some more optimizations git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2739 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
21d0160dba
commit
caa31c9cd5
11 changed files with 245 additions and 265 deletions
|
@ -3914,6 +3914,10 @@ int CEXEBuild::doCommand(int which_token, LineParser &line)
|
|||
case TOK_GETTEMPFILENAME:
|
||||
ent.which=EW_GETTEMPFILENAME;
|
||||
ent.offsets[0]=GetUserVarIndex(line, 1);
|
||||
if (line.getnumtokens() == 3)
|
||||
ent.offsets[1]=add_string(line.gettoken_str(2));
|
||||
else
|
||||
ent.offsets[1]=add_string("$TEMP");
|
||||
if (ent.offsets[0]<0) PRINTHELP()
|
||||
SCRIPT_MSG("GetTempFileName -> %s\n",line.gettoken_str(1));
|
||||
return add_entry(&ent);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue