Vista: Program Compatibility Assistant error

Article:TECH33503  |  Created: 2007-08-15  |  Updated: 2010-01-26  |  Article URL http://www.symantec.com/docs/TECH33503
Article Type
Technical Solution



Issue



This program may not have been installed correctly error is displayed by the Program Compatibility Assistant (PCA) after the application completes the installation.  The application works correctly.


Environment



Vista installations

Windows 7 (One customer has reported)

Cause



This error only occurs the first time the installation is installed and appears to be related to the registration of installed files.

Solution



This was obtained from the following link: http://blogs.msdn.com/astebner/archive/2007/05/17/2705372.aspx. It appears that the manifest will keep this error from occuring. 

How can I opt out of the Program Compatibility Assistant for my setup?

In order to prevent the Program Compatibility Assistant from appearing, you must include an embedded manifest that specifies a requested execution level for your setup executable.  If you wrap the setup executable in a self-extracting package, you must also include an embedded manifest in the self-extracting package too.  Once you do this, Windows Vista will treat your setup as Windows Vista-aware, and it will no longer show the PCA dialog when setup exits after a failure or cancellation.

Related Links
http://blogs.msdn.com/astebner/archive/2007/05/17/2705372.aspx


Legacy ID



37488


Article URL http://www.symantec.com/docs/TECH33503


Terms of use for this information are found in Legal Notices