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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top