NewsArchive
09-11-2012, 01:45 AM
Hello,
I have a service manager app that is used to manage the 13 services that my
main app uses. The service manager app, via Capesoft's Self-Service, is used
to install the Windows service for the 13 service apps. Because the service
manager app is installing services it is required by Windows 7 to be run as
an administrator or Windows will not let it install the services.
I have set the embedded manifest to run the service manager app execution
level as "require Administrator". This works fine and the end user does not
have to fiddle with compatibility settings. But, every time the service
manager app is run, UAC kicks in and asks the user for permission to run the
app - I'm sure this is because it is being run as an administrator. This
service manager app is also started via the startup menu so if the computer
is rebooted, UAC kicks in again and ask for run permission. If the computer
does an unattended reboot this causes problems, obviously.
In the service manager app global properties where the manifest is set there
is a "Application requires UIAccess" checkbox - it appears that this
checkbox, when checked, will cause the UAC not to kick in for the app, but
this does not work for me.
Boils down to this - is there any way to avoid UAC asking for permission for
a "run as administrator" app, without turning off UAC?
C8.0 9034
regards,
Chuck
I have a service manager app that is used to manage the 13 services that my
main app uses. The service manager app, via Capesoft's Self-Service, is used
to install the Windows service for the 13 service apps. Because the service
manager app is installing services it is required by Windows 7 to be run as
an administrator or Windows will not let it install the services.
I have set the embedded manifest to run the service manager app execution
level as "require Administrator". This works fine and the end user does not
have to fiddle with compatibility settings. But, every time the service
manager app is run, UAC kicks in and asks the user for permission to run the
app - I'm sure this is because it is being run as an administrator. This
service manager app is also started via the startup menu so if the computer
is rebooted, UAC kicks in again and ask for run permission. If the computer
does an unattended reboot this causes problems, obviously.
In the service manager app global properties where the manifest is set there
is a "Application requires UIAccess" checkbox - it appears that this
checkbox, when checked, will cause the UAC not to kick in for the app, but
this does not work for me.
Boils down to this - is there any way to avoid UAC asking for permission for
a "run as administrator" app, without turning off UAC?
C8.0 9034
regards,
Chuck