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

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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



.



Relevant Pages

  • Re: Launching an application from a setup.exe program in InstallShield (elevated mode)
    ... It's been my experience that if the installer is run with administrator privileges, ... and after installation if a user goes to start the application, ... that runs in elevated mode by default. ... launch my application from within the installation utility. ...
    (microsoft.public.vb.general.discussion)
  • Re: ie patches - deploying
    ... > ie patches in an enterprise. ... These are the command line switches for IE updates, ... /r:n - Never restarts the computer after installation. ... where dahotfix is, in this case, the name of the encapsulated setup program. ...
    (microsoft.public.security)
  • Re: SP3 Invalid instance name
    ... > MSDE SP2. ... > to run the setup program to apply SP3) ... > setup program to generate the verbose installation log file. ...
    (microsoft.public.sqlserver.security)
  • Re: copying files to disk and transferring
    ... > downloaded to the xp and load them onto to laptop to do basic stuff. ... > laptop is four years old, and has windows me. ... fledged installation. ... If the setup program does not contain multiple file sets, ...
    (microsoft.public.windowsxp.newusers)
  • RE: Error 0xC103798A & ...for upgrade to sbs2003
    ... Exit the Setup program. ... "Cancel" button, to continue the installation. ... restart your server in Safe Mode. ...
    (microsoft.public.windows.server.sbs)