ms-iot / samples

Windows 10 IoT Core Samples
MIT License
1.2k stars 1.33k forks source link

How to launch a background app from another app or batch file #509

Open mtheolog opened 7 years ago

mtheolog commented 7 years ago

I have developed two background apps using the windows IoT core template. I need to launch them at the start up of my device but I found out that windows 10 iOt core os can support only one uwp app and only one background app as start up app. Thus I wonder how to launch the background app from another background app, uwp app or batch file. Any ideas?

bfjelds commented 7 years ago

Windows 10 IoT Core supports one UWP startup app and any number of background startup apps. Are you seeing an error when attempting to set multiple background startup apps?

zhuridartem commented 7 years ago

If you haven't already, please run "iotstartup add headless " for registering and triggering a start of the additional continuous background task (CBT) app. Multiple CBTs launch is supported.

mtheolog commented 7 years ago

What I am facing this moment is that i would like to launch the background apps through another app (uwp or background app) that it will act as a startup app. In other words i would prefer to have one startup app that launches all my background apps with a specific order.