digocesar
Posts: 38
Joined: Thu Dec 03, 2015 12:26 pm

Run program without elevation

My installer is configured to run with administrative privileges.
I have a Custom Action of type "Launch Installed File" to run a file at installation finalization.
But this program is running with administrative privileges as well.
How can I run it as a normal user rights?
Sorin
Posts: 663
Joined: Mon May 08, 2017 1:03 pm

Re: Run program without elevation

Hello,

Please note that a process inherits the privilages from the parent process. A solution for this could be not using "Run as Administrator" option from "Install Parameters" avoiding elevation of the whole installation process. Is there any reason why you have the "Run as admin" option enabled?

For most scenarios you could instead use elevation only for the custom actions that require it.

In order get a better view of your scenario please send us the .AIP (project) to support at advancedinstaller dot com so we can investigate it.

Best regards,
Sorin
Sorin Stefan - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
digocesar
Posts: 38
Joined: Thu Dec 03, 2015 12:26 pm

Re: Run program without elevation

Hi.
This suggestion solved my problem.
Thanks.
Sorin
Posts: 663
Joined: Mon May 08, 2017 1:03 pm

Re: Run program without elevation

Hello,

You are welcome!

Just let me know if you have any other questions.

Best regards,
Sorin
Sorin Stefan - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”