Added the ManifestLongPathAware attribute

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7111 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
anders_k 2019-08-16 19:07:02 +00:00
parent f9fac78173
commit c0f3179285
11 changed files with 56 additions and 6 deletions

View file

@ -2347,6 +2347,17 @@ int CEXEBuild::doCommand(int which_token, LineParser &line)
manifest_dpiawareness = line.gettoken_str(1);
return PS_OK;
case TOK_MANIFEST_LPAWARE:
switch(line.gettoken_enum(1,_T("none\0notset\0true\0false\0")))
{
case 0: // A lot of attributes use "none" so we support that along with the documented value
case 1: manifest_lpaware = manifest::lpaware_notset; break;
case 2: manifest_lpaware = manifest::lpaware_true; break;
case 3: manifest_lpaware = manifest::lpaware_false; break;
default: PRINTHELP();
}
return PS_OK;
case TOK_MANIFEST_SUPPORTEDOS:
{
manifest_sosl.deleteall();
@ -2374,6 +2385,7 @@ int CEXEBuild::doCommand(int which_token, LineParser &line)
default: PRINTHELP();
}
return PS_OK;
case TOK_MANIFEST_GDISCALING:
switch(line.gettoken_enum(1,_T("notset\0false\0true")))
{