mbond wrote:If you use Delphi on the back-end, then it's real easy to do. Just add "{$SETPEOPTFLAGS $140}" to the top of your DPR file. .NET does this automatically. Not sure about other languages, but all modern ones should support it with just a setting change.
Depending on the Delphi version some or all flags are active by default for new projects.
32 bit version DEP DPI Awareness ASLR
Delphi XE3 Disabled Unaware -
Delphi XE8 Disabled Unaware -
Delphi 10.2 Disabled Per-Monitor Aware -
Delphi 10.3 Disabled Per-Monitor Aware -
Delphi 10.4 Disabled Per-Monitor Aware -
Delphi 11.1 Enabled Per-Monitor Aware ASLR (also provides checkboxes in the Options dialog)
IA X15 Disabled Unaware - (miaa.exe)
- InstallAware unaware.png (96.06 KiB) Viewed 28615 times
For 64 bit exes DEP is available by default at least since Delphi XE3.
The miaa.exe is build with Delphi or C++Builder, but due to the lack of any security settings and since its detail information still show version 1.0.0.0, it seems to me that its a pretty old version of Delphi or C++Builder and InstallAware doesn't care much about security and correct versioning of their own program(s).