Advanced Installer Community - Search

Search found 2 matches

Go to advanced search

by OliverH
Wed Mar 30, 2022 3:21 pm
Forum: Common Problems
Topic: Access logged-in user when executing Install dialog with elevated rights
Replies: 3
Views: 2371
 
Jump to post

Re: Access logged-in user when executing Install dialog with elevated rights

Hello Catalin,

thank you for your quick reply :)

Unfortunately, LogonUser also resolves to "Administrator".

With regards to the powershell-script, I found out that query must run with 64-bit powershell, so that works now.


I was just wondering whether there's a build-in solution to the problem ...
by OliverH
Wed Mar 30, 2022 2:40 pm
Forum: Common Problems
Topic: Access logged-in user when executing Install dialog with elevated rights
Replies: 3
Views: 2371
 
Jump to post

Access logged-in user when executing Install dialog with elevated rights

Hi!
We have the following - hopefully common - scenario:


Our AI-installation menu requires elevated rights, therefore accounts who want to install but dont have rights need to start the installation menu using another user (lets call that one "admin")
We need the username of the logged-in user ...

Go to advanced search