Windows >
Software Development for Windows Client Forums
>
Application Compatibility for Windows Development
>
Possible Disable Program Compatibility Assistant (PCA) in Windows Vista/7 via software ?
Possible Disable Program Compatibility Assistant (PCA) in Windows Vista/7 via software ?
- hello ,
for my work i create a driver for usb pheripheral
when i try to install at the end of the process appear the dialog of Program Compatibility Assistant (PCA) ..
it 's possible to disable this via sofware ?
thanks- Moved byKira QianMSFTThursday, October 29, 2009 2:43 AM (From:ClickOnce and Setup & Deployment Projects)
Answers
- Hello Ale,How did you install the driver, using Windows Installer or Setup API? As your question is related to drivers, you may also post on driver newsgroup.Program Compatibility Assistant will monitor the Programs and Features control panel (previously known as Add/Remove Programs), when an installer is run. If an entry is not created or removed from the Programs and Features control panel, the PCA treats the process as a failed setup and displays a dialog after the setup process exits that asks if the user wants to attempt to re-install using recommended settings.In order to prevent the Program Compatibility Assistant from appearing, we must include an embedded manifest that specifies a requested execution level for your setup executable.More informationThanks,Rong-Chun Zhang
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.- Marked As Answer byRong-Chun ZhangMSFT, ModeratorWednesday, November 11, 2009 12:13 PM
All Replies
- no solution ?
- Hello Ale,How did you install the driver, using Windows Installer or Setup API? As your question is related to drivers, you may also post on driver newsgroup.Program Compatibility Assistant will monitor the Programs and Features control panel (previously known as Add/Remove Programs), when an installer is run. If an entry is not created or removed from the Programs and Features control panel, the PCA treats the process as a failed setup and displays a dialog after the setup process exits that asks if the user wants to attempt to re-install using recommended settings.In order to prevent the Program Compatibility Assistant from appearing, we must include an embedded manifest that specifies a requested execution level for your setup executable.More informationThanks,Rong-Chun Zhang
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.- Marked As Answer byRong-Chun ZhangMSFT, ModeratorWednesday, November 11, 2009 12:13 PM
- hello ,
i read the article
on http://blogs.msdn.com/astebner/archive/2007/05/17/2705372.aspx
i thinks the problem is that i use DpInst (http://msdn.microsoft.com/en-us/library/ms790806.aspx) to install my driver
it's possible that DpInst not manage manifest ?
thanks,
ale - uppp
- Hello Ale,
You can use the mt.exe to get and modify the manifest for dpinst.exe.
http://msdn.microsoft.com/en-us/library/aa375649%28VS.85%29.aspx
As dpinst.exe belongs to WDK, it's recommended that you post the question on driver newsgroup.http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?dg=microsoft.public.development.device.drivers&lang=en&cr=US
Thanks,
Rong-Chun Zhang
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.


