Launching an application from a setup.exe program in InstallShield (elevated mode)

  • Thread starter Sarah M. Weinberger
  • Start date
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
 
S

Sarah M. Weinberger

Sorry, I should have posted this to the VB group, which I just did. Sorry
about that.

Sarah
 
J

Jimmy Brush

Hello,

You are correct, an application that is already elevated launches ALL other
applications elevated, without prompting.


--
- JB
Microsoft MVP Windows Shell/User


"Sarah M. Weinberger" <mweinberger@hotmail.com> wrote in message
news:OQ2qIfYSIHA.5104@TK2MSFTNGP05.phx.gbl...
> Sorry, I should have posted this to the VB group, which I just did. Sorry
> about that.
>
> Sarah
>
 
Back
Top Bottom