How to make a program run at startup (as admin) with WiX on Windows 10

  administrator, startup, windows, wix

Can someone tell me how to properly install this program to run with admin privileges at startup on Windows 10 using WiX?

All the help I’ve seen via Google has been old ones saying to use the Startup folder. Now, although the Startup folder still seems to work, I don’t think it’s the preferred way to do it anymore.

I also need think the need to run as admin adds a wrinkle in the process.

Source: Windows Questions