'C# Application (MSIX installation): Startup Task before User Login?
i have a question regarding auto-start an application:
I have a C# WPF Application, packaged as an MSIX installation. And i successfully setup a StartUp Task via entry in the Manifest. That works fine - after user logs in, the app is started automatically.
But as an additional feature we would need to be able to auto-run the app BEFORE user logs in. After Windows startup, before user login.
Is there a way to do so? I didn't find a solution until now...
Creating a scheduled task for example i found to be not possible, because i can only run a regular .exe file, but no installed application.
Thank you for help!
Best regards Emanuel
Solution 1:[1]
An easy way for a application to start before the user logs in is to have a Windows Service for it.
If your application does not need any user interaction (and I am assuming it does not because you need it launched before the user logs in) that would be a viable option.
If your application does need user interaction in the Windows Login screen, you will need to do a google search on SysNotify but it is not for the faint hearted :)
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Mekroebo |
