PDA

View Full Version : Confused about UAC manifest in SB7



NewsArchive
07-21-2009, 01:44 AM
Friedrich did answer me on this once but I am still confused. Can someone
else please clarify .....

My apps go to to anyone out there. They may be XP, Vista or even Windows 7
users.

The Compatibility Information drop down box could be Vista or Windows 7. To
me I should choose Windows 7. But Friedrich seemed to imply I should not
perhaps. I may well have misunderstood.

Help says that selecting Windows 7 gives the application Windows 7
"behaviour". I am not quite sure what that actually means?

If I select a Windows 7 manifest, will a Vista (or even XP) user be
compromised in any way?

My original comment to Friedrich was that surely the manifest should be the
very highest compatibility available and is why I assumed I should choose
Windows 7.

Not sure if it matters but I am now developing on either Vista OR Windows 7
depending on what machine I am working on any day. Also the vast majority of
downloads would NOT be to a Windows 7 machine but if they are I would like
them to appear fully Windows 7 compliant.

Any clarification would be greatfully received.

TIA

John Fligg

NewsArchive
07-21-2009, 01:44 AM
Silly man!
How could you POSSIBLY be confused???

FWIW, my own confusion "manifested" towards the bottom of this blog page:
http://blogs.msdn.com/cjacks/archive/2009/03/27/manifesting-for-compatibility-on-windows-7.aspx
You might find that informative, along with the MSDN page the guy pointed me
at.

Remember that in some cases, ignorance is bliss.
XP has no clue about the execution level section of the manifest, and thus
ignores it.
Vista has no clue about the compatibility section of the manifest, and thus
ignores it.

BTW, you have the compatibility level selection option when you use SB to
embed a manifest into the files you're distributing within the installer.
But the installer itself also has a manifest. With the installer manifest,
you can select execution level (defaults to requireAdministrator), but not
the compatibility level.

Friedrich wrote me a couple of months back:

"The compatibility switch is only for the "#embed UAC manifest..."
directive.
The installer is always running in "Win7 mode"."

HTH

Jane

NewsArchive
07-21-2009, 01:45 AM
Well Jane - I feel REALLY silly. Now it all makes sense! Where was the
problem.

So now I have awoken from the dream -

The summary of the blog is that Vista will simply ignore the section, and
all this is doing is saying we have tested in W7.

Is that about it? I suspect there is a bit more like that silly message
about having not installed correctly etc.

In other words - a complete and utter waste of time! At the moment that is.

The only thing that makes sense is what Friedrich told you. That the
installer is ALWAYS W7 compatible which is really all I want.

Thanks

John

NewsArchive
07-21-2009, 01:46 AM
Well, the "not installed correctly" message involves the Program
Compatibility Assistant, described here:
http://windowshelp.microsoft.com/Windows/en-US/82c0440d-553e-47e9-b4bd-6c2d10df4de71033.mspx

If you read the MSDN article that blog guy linked me to
(http://msdn.microsoft.com/en-us/library/dd371711(VS.85).aspx ), you saw
this paragraph that addresses the PCA:

Windows 7: Applications with Compatibility section will not get the PCA
mitigation.
Windows Vista (default): Applications that fail to install properly or crash
during runtime under some specific circumstances will get the PCA
mitigation. For more details, see the reference section.

Jane Fleming