VS中有"安装项目".安装过程中,我启动另一个过程
System.Diagnostics.Process process = new System.Diagnostics.Process();
//fill StartInfo and run call Start()
process.Start();
Run Code Online (Sandbox Code Playgroud)
如果我在Windows 7下运行安装程序并安装"Everyone",则在SYSTEM下启动进程.如果我安装"Just for me",请在当前用户下启动流程.如何始终在当前用户下启动流程?
归档时间: |
|
查看次数: |
14847 次 |
最近记录: |