Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Clipper Visual-Objects > Re: Admin ****e...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 7 of 13 Topic 11328 of 11703
Post > Topic >>

Re: Admin ****eld-logo on VO apps in Vista

by Mathias <mathias.hakansson@[EMAIL PROTECTED] > Apr 22, 2008 at 12:45 PM

If the application does not have a manifest Vista tries to analyze the
file to see if it needs admin rights to run. Your Inno installation is
probably recognized by a bit pattern. The manifest can tell vista =F3ne
of the following things;

* Require administrator priviledges to run. If these rights are not
given the application is not started at all. A ****eld is automatically
added to the application/shortcut icon.
* Run as Invoker. Normal user rights. You can't write anything in c:
\program files or c:\windows and a couple of more folders.
* Run with the best priviligies possible (Same as the user). Don't
remember the manifest for this (I'm at home now). I'll post another
message tomorrow...

Mathias

On 21 Apr, 16:30, John Martens <adsl672...@[EMAIL PROTECTED]
> wrote:
> Matias,
>
> In none of my apps I use a manifest file so I do not see (yet) what
> causes two apps to behave different concerning the icon.
>
> John
>
> Mathias schreef:
>
>
>
> > Use this manifest instead of the standard. You specify which manifest
> > in a resource statement like
> > resource CREATEPROCESS_MANIFEST_RESOURCE_ID RC_RT_MANIFEST %appwizdir%
> > \requireAdministrator.man
>
> > If an administrator runs this program he has to allow it to run in a
> > separate dialog. If a normal user runs it he has to specify an
> > administrator account and password to run it.
>
> > <?xml version=3D"1.0" encoding=3D"UTF-8" standalone=3D"yes"?>
> > <assembly xmlns=3D"urn:schemas-microsoft-com:asm.v1"
> > manifestVersion=3D"1.0">
> > =A0 =A0<assemblyIdentity
> > =A0 =A0 =A0 version=3D"1.0.0.0"
> > =A0 =A0 =A0 processorArchitecture=3D"X86"
> > =A0 =A0 =A0 name=3D"VO.Application"
> > =A0 =A0 =A0 type=3D"win32"
> > =A0 =A0/>
> > =A0 =A0<description>Visual Objects Application.</description>
> > =A0 =A0<dependency>
> > =A0 =A0 =A0 =A0<dependentAssembly>
> > =A0 =A0 =A0 =A0 =A0 =A0<assemblyIdentity
> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0type=3D"win32"
> > =A0 =A0 =A0 =A0 =A0 =A0 =A0
=A0name=3D"Microsoft.Windows.Common-Controls=
"
> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0version=3D"6.0.0.0"
> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0processorArchitecture=3D"X86"
> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0publicKeyToken=3D"6595b64144ccf1df"
> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0language=3D"*"
> > =A0 =A0 =A0 =A0 =A0 =A0/>
> > =A0 =A0 =A0 =A0</dependentAssembly>
> > =A0 =A0</dependency>
> > =A0 =A0<!-- Identify the application security requirements. -->
> > =A0 =A0<trustInfo xmlns=3D"urn:schemas-microsoft-com:asm.v2">
> > =A0 =A0 =A0 <security>
> > =A0 =A0 =A0 =A0 =A0<requestedPrivileges>
> > =A0 =A0 =A0 =A0 =A0 =A0<requestedExecutionLevel
> > =A0 =A0 =A0 =A0 =A0 =A0 =A0level=3D"requireAdministrator"
> > =A0 =A0 =A0 =A0 =A0 =A0 =A0uiAccess=3D"false"/>
> > =A0 =A0 =A0 =A0 =A0</requestedPrivileges>
> > =A0 =A0 =A0 =A0</security>
> > =A0 =A0</trustInfo>
> > </assembly>
>
> > Mathias
>
> > On 21 Apr, 08:22, John Martens <adsl672...@[EMAIL PROTECTED]
> wrote:
> >> One app of mine has the logo-icon that I want with a ****eld attached
to=

> >> it. This ****eld makes the need for Admin rights to run it.
>
> >> It is an update app but there is not always the need for Admin
rights.
> >> Other VO apps do not have this. Even my Inno setup EXE doesn;t have
thi=
s.
>
> >> What's causing the ****eld to appear ?
>
> >> John- D=F6lj citerad text -
>
> - Visa citerad text -
 




 13 Posts in Topic:
Admin shield-logo on VO apps in Vista
John Martens <adsl6721  2008-04-21 08:22:32 
Re: Admin shield-logo on VO apps in Vista
"Stephen Quinn"  2008-04-21 06:53:57 
Re: Admin shield-logo on VO apps in Vista
"Dirk Herijgers"  2008-04-21 07:30:33 
Re: Admin shield-logo on VO apps in Vista
John Martens <adsl6721  2008-04-21 16:28:25 
Re: Admin shield-logo on VO apps in Vista
Mathias <mathias.hakan  2008-04-21 05:07:19 
Re: Admin shield-logo on VO apps in Vista
John Martens <adsl6721  2008-04-21 16:30:17 
Re: Admin shield-logo on VO apps in Vista
Mathias <mathias.hakan  2008-04-22 12:45:10 
Re: Admin shield-logo on VO apps in Vista
"JR-INFO" <j  2008-04-22 20:40:15 
Re: Admin shield-logo on VO apps in Vista
"Stephen Quinn"  2008-04-23 00:54:10 
Re: Admin shield-logo on VO apps in Vista
"Paul Piko" <  2008-04-23 11:29:43 
Re: Admin shield-logo on VO apps in Vista
Mathias <mathias.hakan  2008-04-23 00:11:34 
Re: Admin shield-logo on VO apps in Vista
John Martens <adsl6721  2008-04-23 17:15:42 
Re: Admin shield-logo on VO apps in Vista
John Martens <adsl6721  2008-04-24 08:06:59 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Oct 11 21:22:16 CDT 2008.