try abc

try abc

  • NA
  • 199
  • 409.9k

disable program compatibility assistant windows 7 from Application

Apr 1 2010 1:56 AM

Hello All, 

I have developed one C#.NET Windows Application. Whenever I run the Setup.exe program I get this message after the exe has run.  Even when I run the exe (as administrator) I still get this same message.  Those only seems to popup when using Windows 7.

For that I added Following code in app. manifest file 

 <compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
    <application>
      <!--The ID below indicates application support for Windows Vista -->
      <supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/>
      <!--The ID below indicates application support for Windows 7 -->
      <supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>
    </application>
  </compatibility>


but still Program compatibility assistant Window pop up.. 

can anyone knows how to Solve this..?