Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/webpack/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Installation 在计算机开机时运行该程序_Installation - Fatal编程技术网

Installation 在计算机开机时运行该程序

Installation 在计算机开机时运行该程序,installation,Installation,我想让我的程序在每次计算机启动时自动运行。 我怎样才能做到这一点?我正在通过wix创建安装程序,我有wpf应用程序。 有人能建议一种方法吗?有很多方法,有些方法比其他方法更复杂: 启动文件夹快捷方式 计划任务启动 服务 外壳扩展 后两者相当复杂,shell扩展有点疯狂,因为如果出现bug,它可能会使整个桌面崩溃。还有其他方法可以在启动时启动应用程序,但我现在想不起来了 最简单的方法可能是在系统范围的启动文件夹中创建快捷方式。windows installer属性为StartupFolder。然后

我想让我的程序在每次计算机启动时自动运行。 我怎样才能做到这一点?我正在通过wix创建安装程序,我有wpf应用程序。
有人能建议一种方法吗?

有很多方法,有些方法比其他方法更复杂:

  • 启动文件夹快捷方式
  • 计划任务启动
  • 服务
  • 外壳扩展
  • 后两者相当复杂,shell扩展有点疯狂,因为如果出现bug,它可能会使整个桌面崩溃。还有其他方法可以在启动时启动应用程序,但我现在想不起来了


    最简单的方法可能是在系统范围的启动文件夹中创建快捷方式。windows installer属性为StartupFolder。然后通过设置ALLUSERS=1来安装“每台机器”。

    对不起,我找不到您。您的意思是通过windows服务运行应用程序?