Author: Lawrence Albert Pardo-Ilao - Naga City, Philippines

Unlock For Us

[C# and VB.Net] Program Compatibility Assistant Message in Windows 7 (and Vista)


While creating a setup program and testing for the new version of WinBubbles for both Windows 7 32 and x64 bit version, I encountered this message.

This program might not have installed correctly

If this program didn’t install correctly, try reinstalling using settings that are compatible with this version of Windows.

Program Compatibility Assistant detects known compatibility issues in older programs and new applications in which the manifest file is not updated.

How to edit the manifest file of your programs written in and C# along with UAC

<?xml version="1.0" encoding="utf-8"?>
<asmv1:assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1" xmlns:asmv1="urn:schemas-microsoft-com:asm.v1" xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:xsi="">
  <assemblyIdentity version="" name=""/>
  <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
      <requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
<requestedExecutionLevel  level="requireAdministrator" uiAccess="false" />

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

<!—The ID indicates the support for the OS>


There’s another simplest way to ignore or prevent the message. Change your Product name without using any word related to installation of softwares.

  • Setup
  • Install
  • Installer
  • Installation
  • uninstall

Hope this helps!



© UnlockForUs 2007-2022 | Blogger|| License Agreement