This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: PCA Problem on Windows 7
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 12, 2009
08:54 AM
PCA Problem on Windows 7
I wrote a InstallShield Script project by installshield version 2010.
Run on Windows 7 RC, when I press [cancel] button during installation/uninstallation and finally press [finish] button,
there was a Program Compatibility Assistant (PCA) dialog displayed.
The picture is attached.
How can I resolved this problem on installshield 2010.
Thank you.
Run on Windows 7 RC, when I press [cancel] button during installation/uninstallation and finally press [finish] button,
there was a Program Compatibility Assistant (PCA) dialog displayed.
The picture is attached.
How can I resolved this problem on installshield 2010.
Thank you.
(10) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 13, 2009
12:37 PM
According to "Application Manifest" in "Windows 7 and Windows Server 2008 R2 Application Quality Cookbook" (http://msdn.microsoft.com/en-us/library/dd371711(VS.85).aspx), describing "Compatibility" section as "Windows 7 Compatible" in the application manifest excludes the application from PCA.
But "setup.exe" of InstallShield 2010 has no "Compatibility" section in its application manifest!
But "setup.exe" of InstallShield 2010 has no "Compatibility" section in its application manifest!
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 14, 2009
10:09 AM
We are aware of this issue; this behavior was added "last minute" to Windows 7.
Here's a good description of this: http://blogs.msdn.com/cjacks/archive/2009/06/18/pca-changes-for-windows-7-how-to-tell-us-you-are-not-an-installer-take-2-because-we-changed-the-rules-on-you.aspx
For now, you can manually change the manifest used for setup.exe so at build time that manifest is included with your installation and that PCA dialog is suppressed when a user cancels.
Here's a good description of this: http://blogs.msdn.com/cjacks/archive/2009/06/18/pca-changes-for-windows-7-how-to-tell-us-you-are-not-an-installer-take-2-because-we-changed-the-rules-on-you.aspx
For now, you can manually change the manifest used for setup.exe so at build time that manifest is included with your installation and that PCA dialog is suppressed when a user cancels.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 19, 2009
12:39 AM
Thanks Marwan.
By the way, "Windows 7 and Windows Server 2008 R2 Application Quality Cookbook" (http://msdn.microsoft.com/en-us/library/dd371711(VS.85).aspx) says
the following Windows components other than PCA provide divergent behavior based on the Compatibility section in Windows 7.
- RPC Default Thread Pool
- DirectDraw Lock
- DirectDraw Bit Block Transfer (Blt) to Primary without Clipping Window
- GetOverlappedResult API
Does "setup.exe" whose manifest is manually changed Compatibility section to "Windows 7 Compatible" works without problem on Windows 7?
And Acresso Software guarantee the behavior of "setup.exe" whose manifest is manually changed Compatibility section to "Windows 7 Compatible"?
By the way, "Windows 7 and Windows Server 2008 R2 Application Quality Cookbook" (http://msdn.microsoft.com/en-us/library/dd371711(VS.85).aspx) says
the following Windows components other than PCA provide divergent behavior based on the Compatibility section in Windows 7.
- RPC Default Thread Pool
- DirectDraw Lock
- DirectDraw Bit Block Transfer (Blt) to Primary without Clipping Window
- GetOverlappedResult API
Does "setup.exe" whose manifest is manually changed Compatibility section to "Windows 7 Compatible" works without problem on Windows 7?
And Acresso Software guarantee the behavior of "setup.exe" whose manifest is manually changed Compatibility section to "Windows 7 Compatible"?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 20, 2009
01:27 PM
Yes changing the manifest manually so it is included in all the setups you build will not show this dialog when a user cancels the setup on Windows 7.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 22, 2009
06:03 AM
I am facing this ssue in Windows 7 Operating System, I struck this problem and thanks to sackbauer and marwan.
please confirm Which manifest file want to change for PCA Compatability.
please confirm Which manifest file want to change for PCA Compatability.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 22, 2009
09:05 AM
Just add this section after the trustinfo section:
The setup manifest files are in the InstallShield\Support folder (SetupEXE.xxxx.manifest).
The setup manifest files are in the InstallShield\Support folder (SetupEXE.xxxx.manifest).
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 27, 2009
09:19 AM
KB article Q205850 describes the problem that is explained in this thread. The article also has updated manifest files that you can use in the Support subfolder of the InstallShield Program Files folder.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 19, 2010
01:31 PM
How do these manifest files work?
Do I change just one of them and then it works for every single build? If I add the operating system ids above in post #7 to the correct file, will it do it? There are multiple manifest files in the support directory. Which one do I change?
How do I integrate this?
My aim is to not get the same message described in the thread while using windows 7 and 2008.
I have the new installshield service pack.
Do I change just one of them and then it works for every single build? If I add the operating system ids above in post #7 to the correct file, will it do it? There are multiple manifest files in the support directory. Which one do I change?
How do I integrate this?
My aim is to not get the same message described in the thread while using windows 7 and 2008.
I have the new installshield service pack.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 19, 2010
01:54 PM
I think I am figuring out some of the answers to my own questions. I believe installshield supplies you with templates but you have to actually add the file to each installation and edit it yourself.
If I am incorrect, please correct me.
If I am incorrect, please correct me.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 19, 2010
02:05 PM
If you have InstallShield 2010 Service Pack 1, your installation should be fine. You shouldn't have to modify the template manifests manually for Setup.exe, as described earlier in this thread. All you would need to do is rebuild the release.
Here's the release note description of the SP1 change in this functionality:
Here's the release note description of the SP1 change in this functionality:
If you configure your InstallShield project to create a setup launcher for your installation, the manifest that InstallShield creates for the setup launcher now includes a compatibility section. Previously, without this compatibility section, a Program Compatibility Assistant (PCA) dialog box may have appeared at the end of an installation on Windows 7 and Windows Server 2008 R2 systems. The PCA dialog box indicated that the program might not have installed correctly. This dialog box was displayed if the installation did not create the application uninstallation key. This may happen if the end user cancels the installation or the installation fails to complete successfully.