Clear application compatibility mode setting programmatically or in installer RRS feed

  • Question

  • I have an application which initially ran on Windows 7 in compatibility mode as a short term stop gap. This was set manually be a small set of users.

    Now, with a new release, we will not need compatibility mode. I would like to clear the compatibility mode settings automatically to save users this step. Ideally, I would like to do that in my installer (InstallSheild 11.5) or programmatically through an approved API.

    I know that there is a registry setting in older versions (HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers), but would prefer to avoid a registry hack, if possible.

    Is there a clean way to do that, it would be preferable.

    • Moved by Shalini SMicrosoft Support Tuesday, January 19, 2010 6:00 PM Moved to a more appropriate community for assistance (From:Programs)
    Monday, January 18, 2010 7:33 PM