Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista General

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

Reply
 
Old 12-28-2007   #1 (permalink)
Sarah M. Weinberger


 
 

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

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



My System SpecsSystem Spec
Old 12-28-2007   #2 (permalink)
Sarah M. Weinberger


 
 

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

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

Sarah


My System SpecsSystem Spec
Old 12-28-2007   #3 (permalink)
Jimmy Brush


 
 

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

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@xxxxxx> wrote in message
news:OQ2qIfYSIHA.5104@xxxxxx
Quote:

> Sorry, I should have posted this to the VB group, which I just did. Sorry
> about that.
>
> Sarah
>
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
installshield (r) setup launcher Vista installation & setup
RE: Launching specific program with elevated rights from standard user Vista security
Installshield (R) setup launcher closing down Vista installation & setup
start an application in elevated mode after logon Vista installation & setup
Setup with Installshield Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46