Uninstaller data offset is saved as EW_WRITEUNINSTALLER's parameters. A step forward to multiple uninstallers and smaller exehead.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3192 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
75299797fd
commit
0ef7fcd98b
4 changed files with 22 additions and 14 deletions
|
@ -2579,8 +2579,6 @@ int CEXEBuild::doCommand(int which_token, LineParser &line)
|
|||
uninstaller_writes_used++;
|
||||
ent.which=EW_WRITEUNINSTALLER;
|
||||
ent.offsets[0]=add_string(line.gettoken_str(1));
|
||||
ent.offsets[1]=0; // uninstall section 0
|
||||
ent.offsets[2]=0;
|
||||
if (!ent.offsets[0]) PRINTHELP()
|
||||
SCRIPT_MSG("WriteUninstaller: \"%s\"\n",line.gettoken_str(1));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue