How to check if a file has the win2003 “blocked” option on it
-
02-07-2019 - |
Question
How do I check from within my NSIS installer if my installer has the blocked option in preferences on it.
Even if you know of a way to check this without NSIS, please let me know so I can script it myself.
See this question to find out more info about this blocked option.
Solution
Using Hitscan's related answer here...
You can check if an EXE has this property simply by checking for the existance of the alternate data stream (ADS):
file.exe:Zone.Identifier
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow