mcseforsale
Posts: 57
Joined: Wed Mar 27, 2013 10:53 pm

Custom action run as logged-in user?

I have an admin-only package project that requires a utility to be run in a custom action as the logged-in user. Is there a way to do this? We've tried to set it as Run under LocalSystem account with full privileges (no impersonation) and it is not working properly.

Thanks!
AJ
Sorin
Posts: 663
Joined: Mon May 08, 2017 1:03 pm

Re: Custom action run as logged-in user?

Hello,

In order to launch the utility under the logged-in user account, you could try to disable the "Run under LocalSystem account with full privileges (no impersonation)" option.

If this isn't helpful could you please give us more details regarding your scenaio : under which user is the package launched and under which user do you need to run the utility?

Best regards,
Sorin
Sorin Stefan - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
mcseforsale
Posts: 57
Joined: Wed Mar 27, 2013 10:53 pm

Re: Custom action run as logged-in user?

We require the installation to run as administrator, however, our utility attempts to write to HKCU, which is failing since the custom action is being run as administrator. If the custom action runs as the logged-in user, instead of administrator, that fixes our problem.

Thanks!
AJ
Sorin
Posts: 663
Joined: Mon May 08, 2017 1:03 pm

Re: Custom action run as logged-in user?

Hello

Could you please send us the .AIP (project) to support at advancedinstaller dot com so we can have a better view of your scenario?

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

Return to “Common Problems”