Starting a process as a user account
Currently 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?
您可以使用Start方法的重载之一,该方法使用username
和password
。
上一篇: Process.Start()不会在同一用户下产生新的进程
下一篇: 以用户帐户开始流程