S
Sarah M. Weinberger
Hi All,
I just have a quick follow-up question. I added a manifest to my application
and after installation if a user (or me) goes to start the application, as
by design Microsoft Windows Vista prompts the user for permission to run the
application in elevated mode. That is fine. I have a installation utility
(InstallShield) that runs in elevated mode by default. I have an option to
launch my application from within the installation utility. The setup
program uses a ShellExecute API if I remember correctly. The actual API is
not really relevent as much as the setup program starts the application
rather than the user clicking on the icon located on the desktop. The
application starts, but is not prompted to run in elevated mode. Is that
because the setup program is already elevated so the User Account Control
does not ask for permission to launch other applications from within a
process that already has elevated mode or is the application somehow running
in regular user mode? I think the former that any application running with
administrative privileges can lanuch another process with adminitrative
privileges without UAC throwing up a verification screen. Is that true?
Thanks in advance,
Sarah
I just have a quick follow-up question. I added a manifest to my application
and after installation if a user (or me) goes to start the application, as
by design Microsoft Windows Vista prompts the user for permission to run the
application in elevated mode. That is fine. I have a installation utility
(InstallShield) that runs in elevated mode by default. I have an option to
launch my application from within the installation utility. The setup
program uses a ShellExecute API if I remember correctly. The actual API is
not really relevent as much as the setup program starts the application
rather than the user clicking on the icon located on the desktop. The
application starts, but is not prompted to run in elevated mode. Is that
because the setup program is already elevated so the User Account Control
does not ask for permission to launch other applications from within a
process that already has elevated mode or is the application somehow running
in regular user mode? I think the former that any application running with
administrative privileges can lanuch another process with adminitrative
privileges without UAC throwing up a verification screen. Is that true?
Thanks in advance,
Sarah