當我運行我的應用程序「一個驅動程序安裝程序和卸載程序應用程序」,我得到一個「程序兼容性助手」窗口,一旦我的EXE成功結束。在瀏覽SO鏈接並搜索後,我無法找到解決方案,以避免在vista 32中的「程序兼容性助手」窗口。我使用下面的清單來避免PCA,它按預期工作(我沒有在Windows 7中獲得任何PCA窗口),但除了Windows Vista 32?我應該怎麼做才能做到這一點?程序兼容性助手清單不工作在Vista32
使用下面的清單爲我安裝應用程序後,我在Windows 7不 越來越PCA窗口,但它出現在Windows Vista上 32位。如何避免vista32中的PCA窗口?
一些相關的問題是:
- how-do-i-prevent-programmatically-the-program-compatibility-assistant-in-vista
- reasons-for-getting-the-program-compatibility-assistant-dialog
這是我使用的清單:
<?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="http://www.w3.org/2001/XMLSchema-instance">
<assemblyIdentity version="1.0.0.0" name="Unins.exe"/>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
<requestedExecutionLevel level="highestAvailable" uiAccess="false" />
</requestedPrivileges>
</security>
</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>
</asmv1:assembly>
下面是PCA的窗口,我的快照G等...
更新:根源我的PCA窗口是「My Installer沒有創造一個條目添加或刪除程序」。我讓我的應用程序在「添加或刪除程序」中輸入條目,但沒有獲得任何PCA窗口。但我不想在添加或刪除程序中輸入條目。
更新25-09-12:我有一個可執行說
A.exe
,其中發現 架構的操作系統,並依靠其要求要麼A64.exe or A86.exe
架構。在這種情況下,我是否想要爲所有 exe文件(A.exe,A64.exe,A86.exe)提供清單?現在我只顯示A.exe。
@Deanna我編輯過。爲了簡化上面提到的清單爲我的應用程序不會顯示在Windows 7中的PCA窗口,但它出現在Vista32位? – 2vision2
@Deanna任何想法或仍然想改善我的問題? – 2vision2
我目前沒有答案。 – Deanna