Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista security

Vista - Two manifests snd UAC : why o asks for elevation but does not allo

Reply
 
Old 05-30-2007   #1 (permalink)
chasgl


 
 

Two manifests snd UAC : why o asks for elevation but does not allo

We are converting a set of applications to run under Vista.

One application is a C++ application and I added an extra manifest file to
be included in the embedded mainfest. I specified requireAdministrator. When
I run that program pretty much what I expected to happen happens. I get a
prompt about "An unidentified program wants access to your computer" with the
choice to cancel or allow and the rest of the screen grayed out. I choose
allow and the program runs.

But another application is a VB6 application. I'm not sure how to make an
embedded manifest so I edited the manifest file to require
requireAdministrator. But for this application instead of the above prompt I
get a box listiing the full program path twice and the words "The requested
operation requires elevation" If I run the program by choosing Run as
adminstrator the same above prompt happens and when I choose Allow the
program runs.

I am doing all of this from an account with administrator privilidges. Why
is the behavior so different? Is there any way to make both applications act
like the first one?
Thanks,
Chas


My System SpecsSystem Spec
Old 05-31-2007   #2 (permalink)
Jimmy Brush


 
 

Re: Two manifests snd UAC : why o asks for elevation but does not allo

Can you post a link to / attach a screenshot of the difference?

- JB

On Wed, 30 May 2007 16:40:28 -0700, chasgl
<chasgl@discussions.microsoft.com> wrote:

>We are converting a set of applications to run under Vista.
>
>One application is a C++ application and I added an extra manifest file to
>be included in the embedded mainfest. I specified requireAdministrator. When
>I run that program pretty much what I expected to happen happens. I get a
>prompt about "An unidentified program wants access to your computer" with the
>choice to cancel or allow and the rest of the screen grayed out. I choose
>allow and the program runs.
>
>But another application is a VB6 application. I'm not sure how to make an
>embedded manifest so I edited the manifest file to require
>requireAdministrator. But for this application instead of the above prompt I
>get a box listiing the full program path twice and the words "The requested
>operation requires elevation" If I run the program by choosing Run as
>adminstrator the same above prompt happens and when I choose Allow the
>program runs.
>
>I am doing all of this from an account with administrator privilidges. Why
>is the behavior so different? Is there any way to make both applications act
>like the first one?
>Thanks,
>Chas

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
System policy prevents loading manifests and installing .NET SDK 2.0 with Vista .NET General
Can't Install Due to Elevation (Requires Elevation) Vista installation & setup
windows mobile - setup mobile partnership window checkbox not allo Vista installation & setup
asks for key again Vista General
Manifests not working for control panel applets Vista security


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46