简体   繁体   中英

Windows .exe needs to run in “XP Compatibility Mode” on some PCs

I have an application which is built using Qt framework, compiled using qmake in mingw environment, and then packaged for Windows using Inno Installer.

We have a number of reports of the installed .exe requiring "XP Compatibility Mode" or "Administrator privileges" to run on newer versions of Windows.

Unfortunately we can't recreate this, despite testing on a number of 32-bit and 64-bit platforms, but the number of reports we have suggest the problem is valid.

What could be causing this? The app is quite simple and should not require any administrator privileges to run.

How can I debug the issue, and build a fully distributable .exe?

"What could be causing this?"

With no further clues, the answer is equally unhelful: Trying to access resources that require administrator privs.

How can I debug the issue

You need to be able to reproduce it to debug it.

Try to get more information from your clients, but you can also check out the application verifier for the brute-force approach.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM