locked
Launch app at Windows start?

    Question

  • Hello,

    Using WinJS, is this possible to register an app to start at launch of Windows?

    Thanks!

    Thursday, September 13, 2012 7:30 PM

Answers

  • Hi,

    because of the sandbox principle, which Windows 8 Store Apps follow, it shouldn't be possible. From the certification requirements - http://msdn.microsoft.com/en-us/library/windows/desktop/hh749939.aspx -  an app should avoid to launch on startup (see point 10.2).


    Best Regards. When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer. This helps us build a healthy and positive community.

    • Proposed as answer by Dave SmitsMVP Thursday, September 13, 2012 8:32 PM
    • Marked as answer by Dino He Monday, September 24, 2012 4:30 AM
    Thursday, September 13, 2012 8:22 PM
  • No, this is not supported for Windows Store apps, only for desktop apps. Installing of Store apps doesn't provide for creating any of the registry entries or such that would cause this to happen.

    That said, if you want to set this up manually, the app would first need to implement activation through a URI scheme. See http://msdn.microsoft.com/en-us/library/windows/apps/hh452686.aspx. Once the app is installed, if you launch a URI with that scheme from anywhere else in Windows (Store and desktop apps alike, even the Run command), it should launch your app. With this, you should be able to create a shortcut that you can run on startup.

    But again, this is not something you can set up as part of the acquisition process, nor can you have another app do it as the Store policy doesn't allow for dependency on other apps.

    • Proposed as answer by Dino He Monday, September 17, 2012 2:03 AM
    • Marked as answer by Dino He Monday, September 24, 2012 4:30 AM
    Thursday, September 13, 2012 11:26 PM

All replies

  • Hi,

    because of the sandbox principle, which Windows 8 Store Apps follow, it shouldn't be possible. From the certification requirements - http://msdn.microsoft.com/en-us/library/windows/desktop/hh749939.aspx -  an app should avoid to launch on startup (see point 10.2).


    Best Regards. When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer. This helps us build a healthy and positive community.

    • Proposed as answer by Dave SmitsMVP Thursday, September 13, 2012 8:32 PM
    • Marked as answer by Dino He Monday, September 24, 2012 4:30 AM
    Thursday, September 13, 2012 8:22 PM
  • No, this is not supported for Windows Store apps, only for desktop apps. Installing of Store apps doesn't provide for creating any of the registry entries or such that would cause this to happen.

    That said, if you want to set this up manually, the app would first need to implement activation through a URI scheme. See http://msdn.microsoft.com/en-us/library/windows/apps/hh452686.aspx. Once the app is installed, if you launch a URI with that scheme from anywhere else in Windows (Store and desktop apps alike, even the Run command), it should launch your app. With this, you should be able to create a shortcut that you can run on startup.

    But again, this is not something you can set up as part of the acquisition process, nor can you have another app do it as the Store policy doesn't allow for dependency on other apps.

    • Proposed as answer by Dino He Monday, September 17, 2012 2:03 AM
    • Marked as answer by Dino He Monday, September 24, 2012 4:30 AM
    Thursday, September 13, 2012 11:26 PM
  • Has your question been answered? If so, please mark the appropriate post as answer so other community members with a similar question can find help faster.

    Best Regards. When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer. This helps us build a healthy and positive community.

    @Horizon_Net | Blog

    • Proposed as answer by Spam filter Monday, November 11, 2013 11:44 AM
    Thursday, September 20, 2012 12:33 PM