Starting a process as a user account
开发者_如何学PythonCurrently I am working on an windows installer which has a custom action built in to run an installed exe immediately after installation.
My problem is that using System.Diagnostics.Process the application launches under the SYSTEM user when I would like the application to launch under the same user that is running the installer.
Is this possible?
You may use one of the overloads of the Start method which takes username
and password
.
精彩评论