Set ARM Compatibility when installing an exe?

23 views
Skip to first unread message

Edward Mendelson

unread,
Jul 2, 2024, 9:39:00 AM (3 days ago) Jul 2
to innosetup
I have an installer that installs the vDos.exe DOS emulator. It works perfectly on Intel systems, but, on ARM systems, needs to have the Compatibility Settings set to Strict Emulation. I can do this manually from the Properties dialog for individual files - but is there a way to do this via Inno Setup when installing? I can't find anything in the forum or docs that can help, but maybe I haven't looked deeply enough.

Edward Mendelson

unread,
Jul 2, 2024, 8:09:53 PM (3 days ago) Jul 2
to innosetup
I think the answer to my own question is to write this to the registry if installing in an ARM system:

[HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers]
"C:\\Path\\to\\vdos.exe"="~ ARM64VERYSTRICTEXECUTION"

Reply all
Reply to author
Forward
0 new messages