locked
Relationship between UAC and Program Compatibility Assistant RRS feed

  • Question

  • Hi,

    We have an application, and after we install it, we try to do repair it through the program/feature list,  a dialog box will be popped up after the installation is finished, and it says "This programmight not have uninstalled correctly".   This seems to only happen when UAC is disabled and PCA is running.   If I enable UAC, everything is fine.  

    We have added manifest to setup.exe so that PCA should know that it is not an old version application.  The manifest looks like

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
     <ms_asmv2:trustInfo xmlns:ms_asmv2="urn:schemas-microsoft-com:asm.v2">
      <ms_asmv2:security>
       <ms_asmv2:requestedPrivileges>
        <ms_asmv2:requestedExecutionLevel level="requireAdministrator" uiAccess="false"/>
       </ms_asmv2:requestedPrivileges>
      </ms_asmv2:security>
     </ms_asmv2:trustInfo>
     <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>
    </assembly>

    Could anybody give me any information how UAC and PCA are related?   Do we always need to also turn off PCA when UAC is turned off?     Or any other info that would help me get rid of the dialog when UAC is diabled?

     

    Thanks,

    jyu2010

    Tuesday, August 31, 2010 4:29 PM