Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > Launching an application from a setup.exe program in InstallShield (elevated mode)

Reply
Thread Tools Display Modes

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

 
 
Sarah M. Weinberger
Guest
Posts: n/a

 
      12-28-2007
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


 
Reply With Quote
 
 
 
 
Sarah M. Weinberger
Guest
Posts: n/a

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

Sarah


 
Reply With Quote
 
Jimmy Brush
Guest
Posts: n/a

 
      12-29-2007
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" <> wrote in message
news:...
> Sorry, I should have posted this to the VB group, which I just did. Sorry
> about that.
>
> Sarah
>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need ot run chkdsk, Vista says I need elevated mode Lee Beck Windows Vista General Discussion 3 08-14-2010 04:14 PM
Installshield (R) setup launcher closing down Taffy Windows Vista Installation 0 03-25-2008 04:01 PM
elevated mode Julsie Windows Vista General Discussion 6 02-23-2008 02:13 PM
Re: start an application in elevated mode after logon AJR Windows Vista Installation 6 03-11-2007 03:21 PM
Setup with Installshield Wolfgang F. Roggen Windows Vista General Discussion 3 10-11-2006 10:49 AM



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 47 48 49 50 51 52 53 54 55 56 57 58 59