Commit 454b47ba authored by Stephan Szabo's avatar Stephan Szabo

VS: Fix MANIFESTUAC link flag map to .vcxproj elements

Original header commit v3.10.0-rc1~97^2

Add special parsing of the flags given in `/MANIFESTUAC:"..."` in order
to map them correctly to `.vcxproj` elements.

Keep the old incorrect flag table entries for `uiAccess` and `level`
flags for compatibility even though they do not really exist.

Fixes: #16563
parent 57a78b55
......@@ -531,22 +531,15 @@
"value": "true",
"flags": []
},
{
"name": "EnableUAC",
"switch": "MANIFESTUAC:NO",
"comment": "Enable User Account Control (UAC)",
"value": "false",
"flags": []
},
{
"name": "EnableUAC",
"switch": "MANIFESTUAC:",
"comment": "Enable User Account Control (UAC)",
"value": "true",
"comment": "",
"value": "",
"flags": [
"UserValue",
"UserIgnored",
"Continue"
"UserRequired",
"SpaceAppendable"
]
},
{
......@@ -559,16 +552,6 @@
"UserRequired"
]
},
{
"name": "UACUIAccess",
"switch": "MANIFESTUAC:",
"comment": "UAC Bypass UI Protection",
"value": "true",
"flags": [
"UserValue",
"UserRequired"
]
},
{
"name": "UACUIAccess",
"switch": "uiAccess='false'",
......
......@@ -594,22 +594,15 @@
"value": "true",
"flags": []
},
{
"name": "EnableUAC",
"switch": "MANIFESTUAC:NO",
"comment": "Enable User Account Control (UAC)",
"value": "false",
"flags": []
},
{
"name": "EnableUAC",
"switch": "MANIFESTUAC:",
"comment": "Enable User Account Control (UAC)",
"value": "true",
"comment": "",
"value": "",
"flags": [
"UserValue",
"UserIgnored",
"Continue"
"UserRequired",
"SpaceAppendable"
]
},
{
......@@ -622,16 +615,6 @@
"UserRequired"
]
},
{
"name": "UACUIAccess",
"switch": "MANIFESTUAC:",
"comment": "UAC Bypass UI Protection",
"value": "true",
"flags": [
"UserValue",
"UserRequired"
]
},
{
"name": "UACUIAccess",
"switch": "uiAccess='false'",
......
......@@ -594,22 +594,15 @@
"value": "true",
"flags": []
},
{
"name": "EnableUAC",
"switch": "MANIFESTUAC:NO",
"comment": "Enable User Account Control (UAC)",
"value": "false",
"flags": []
},
{
"name": "EnableUAC",
"switch": "MANIFESTUAC:",
"comment": "Enable User Account Control (UAC)",
"value": "true",
"comment": "",
"value": "",
"flags": [
"UserValue",
"UserIgnored",
"Continue"
"UserRequired",
"SpaceAppendable"
]
},
{
......@@ -622,16 +615,6 @@
"UserRequired"
]
},
{
"name": "UACUIAccess",
"switch": "MANIFESTUAC:",
"comment": "UAC Bypass UI Protection",
"value": "true",
"flags": [
"UserValue",
"UserRequired"
]
},
{
"name": "UACUIAccess",
"switch": "uiAccess='false'",
......
......@@ -637,22 +637,15 @@
"value": "true",
"flags": []
},
{
"name": "EnableUAC",
"switch": "MANIFESTUAC:NO",
"comment": "Enable User Account Control (UAC)",
"value": "false",
"flags": []
},
{
"name": "EnableUAC",
"switch": "MANIFESTUAC:",
"comment": "Enable User Account Control (UAC)",
"value": "true",
"comment": "",
"value": "",
"flags": [
"UserValue",
"UserIgnored",
"Continue"
"UserRequired",
"SpaceAppendable"
]
},
{
......@@ -665,16 +658,6 @@
"UserRequired"
]
},
{
"name": "UACUIAccess",
"switch": "MANIFESTUAC:",
"comment": "UAC Bypass UI Protection",
"value": "true",
"flags": [
"UserValue",
"UserRequired"
]
},
{
"name": "UACUIAccess",
"switch": "uiAccess='false'",
......
......@@ -644,22 +644,15 @@
"value": "true",
"flags": []
},
{
"name": "EnableUAC",
"switch": "MANIFESTUAC:NO",
"comment": "Enable User Account Control (UAC)",
"value": "false",
"flags": []
},
{
"name": "EnableUAC",
"switch": "MANIFESTUAC:",
"comment": "Enable User Account Control (UAC)",
"value": "true",
"comment": "",
"value": "",
"flags": [
"UserValue",
"UserIgnored",
"Continue"
"UserRequired",
"SpaceAppendable"
]
},
{
......@@ -672,16 +665,6 @@
"UserRequired"
]
},
{
"name": "UACUIAccess",
"switch": "MANIFESTUAC:",
"comment": "UAC Bypass UI Protection",
"value": "true",
"flags": [
"UserValue",
"UserRequired"
]
},
{
"name": "UACUIAccess",
"switch": "uiAccess='false'",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment