1

I want to add my program to autostart. And see 2 ways to do it:

  1. Add registry key to HKCU\Software\Microsoft\Windows\CurrentVersion\Run
  2. Add program to Startup.

Which way is more appropriate and careful with WiX?

4

1 回答 1

0

我绝对建议添加到 Startup. Windows Installer 能够处理不同的环境、不同的操作系统等。即使事实证明这两种解决方案在今天是 100% 等效的,如果将来发生变化,Windows Installer 很可能会升级以处理新的区别。注册表不会。

于 2013-06-21T15:23:19.323 回答