shetty_rohan
Posts: 363
Joined: Fri Dec 07, 2012 5:28 am
Location: Bangalore, India
Contact: Website

Excluding "Run as administrator" for the ExitDialog

Hi,

I have a setup(per machine) program
- I have enabled "Run as administrator" in "Install Parameters"->"Install Options"
- I also launch a program(e.g DesktopControl.exe) at the end of installation(i.e Dialogs->ExitDialog->Launch)

Is it possible to launch the program(e.g. DesktopControl.exe) with the normal user privilege? Rest of the setup should make use of the elevated(admin) permission.

Regards,
Rohan
Dan
Posts: 4513
Joined: Wed Apr 24, 2013 3:51 pm

Re: Excluding "Run as administrator" for the ExitDialog

Hello Rohan,

I'm afraid that you cannot start a non elevated task from an elevated one. So, when the Run as admin option is enabled in the Install Parameters page the installed application will be launched with elevated right at the end of the installation process, so you cannot launch it in context of the log on user (e.g. guest).

You can also take a look on the How to start process after install, as ordinary user? forum thread which debates a similar subject.

If you have other questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
shetty_rohan
Posts: 363
Joined: Fri Dec 07, 2012 5:28 am
Location: Bangalore, India
Contact: Website

Re: Excluding "Run as administrator" for the ExitDialog

Thanks Dan
Dan
Posts: 4513
Joined: Wed Apr 24, 2013 3:51 pm

Re: Excluding "Run as administrator" for the ExitDialog

You're always welcome Rohan,

If you have any questions we'll be glad to answer them.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”