vidur
Posts: 43
Joined: Thu Jul 31, 2014 4:21 am

Custom Action under user

Hi,

I have an installer that is launched as "SYSTEM" process at times. I need to launch one of my applications as a user process. Is there any way i can launch an exe as a user in Custom action.

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

Re: Custom Action under user

Hello,

I assume you want to prevent the application from elevating to administrator level at the end of the installation process, right?
Please note that you cannot do that if the "Run as administrator” option from the “Install Parameters” page is enabled or the installer is launched right from the beginning using the "Run as administrator" context menu option.

Please let us know if I misunderstood your scenario.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
vidur
Posts: 43
Joined: Thu Jul 31, 2014 4:21 am

Re: Custom Action under user

Hi,
Thanks for your reply:
I assume you want to prevent the application from elevating to administrator level at the end of the installation process, right?
- Not exactly. You see our installation is done using a system server so it is always run under "SYSTEM" user .
In this case i need to run a custom action under the current user. Is there a way i can run an exe under a user using custom action?
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: Custom Action under user

Hello,

I'm afraid that you cannot start a non elevated task from an elevated one.
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

Return to “Building Installers”