I have a question regarding how to run an application as the currently logged in user. Specifically I'm thinking of the case where an msi is distributed and installed remotely, e.g. using Group Policy or some other mechanism. In the normal case when the installation is done by the logged in user it is fairly straight forward to start an application as that user at the end of the installation. But how does that work when the msi is pushed/distributed and installed over the network? Is it still possible to start the application as the user that is currently logged in to the computer?
I'm not sure I'm posing the question correctly, since I have a pretty vague idea of how remote distribution and installation of an msi is done. I'm thinking that maybe the installation is done by a "distribution user", and if so, is it still possible to start an application as the real user who is currently logged in?
The reason I want this behavior is because our application is a proxy that runs in the background, but it must run as the logged in user. Normally it would be started automatically when a user logs in, or directly after the installation. But if the msi is installed remotely I still want it to be started as the logged in user, otherwise the user must start it manually or logout and login again (something the user wouldn't be aware of).
Regards,
Magnus
FOLLOW US
Get the latest news in Application Packaging