I want to add my program to autostart. And see 2 ways to do it:
- Add registry key to HKCU\Software\Microsoft\Windows\CurrentVersion\Run
- Add program to Startup.
Which way is more appropriate and careful with WiX?
I want to add my program to autostart. And see 2 ways to do it:
Which way is more appropriate and careful with WiX?
I would absolutely recommend adding to Startup. Windows Installer is capable of handling different environments, different operating systems, etc. Even if it turns out that both solutions are 100% equivalent today, if something changes in the future, Windows Installer will very likely be upgraded to handle the new distinction. The registry will not.