Appcompat flags are being set for installations EXE
We have a custom MSI installer that we use to install an older internally developed application. The application was originally deployed to around 100 workstations with no issues as a build time install.
Now every time we attempt to upgrade the application randomly on around 10%-15% of installations the system is setting the appcompat flag so that the exe must run in admin mode for the user.
I've found some info here - https://msdn.microsoft.com/en-us/library/windows/desktop/hh994464(v=vs.85).aspx
But is there anyway of telling exactly what is causing this? Logfiles? I can't see anything in the msi log that is generated on the machines at install. Also our testing didn't show this behaviour which was done while logged in user running the upgrade via SCCM. Nothing I can see in the syslogs or applogs either.