locked
Building Windows Store Non Interactive service application

    Question

  • Hi,

    I have an application which runs as a service on all flavors of Windows (2003/8 server/Xp/7/Vista).  This is Content Distribution App in Receiver Role. So it does not have any GUI or User interactivity.

    We have used Windows Visual Studio 2003/2010 for compiling application for x86 using Win32 Windows API. We have also run the App without compiling on Windows 8 Desktop x86. So no issues.

    I have downloaded Visual Studio express 2012 for Windows 8 as we intend to run this application on Windows RT (ARM) based Tablets

    We understand that we can no longer use Win32 API and need re-work and use Windows RunTime API for C++ but other questions are :

    1. What template we should use in Visual 2012 Express

    (Metro Style with XAML with UI does not match)

    2. Can we run our App as service on Windows RT tablets ?

    3. Any example to share would be helpful.

    Appreciate your help.

    Thursday, October 25, 2012 11:52 PM

Answers

  • It needs to be initiated by the user. Once that has happened it can start a background task which will persist through reboot.

    Take a look at the Introduction to Background Tasks whitepaper to see if a background task will suit your needs.

    --Rob

    • Marked as answer by Jesse Jiang Thursday, November 08, 2012 8:50 AM
    Wednesday, October 31, 2012 9:16 PM
    Owner

All replies

  • Hi Nilesh,

    Windows Store apps are inherently graphical. They do not run as services. 

    You will need to redesign your app as a Windows Store app to run it on Windows RT. 

    --Rob

    Friday, October 26, 2012 12:06 AM
    Owner
  • But How is it possible ? What if one has a group of apps interacting with each other. One App is a background App which brings content to the PC or content is pulled from the server and then provides the content to other App which has a GUI. So there should be a way to port the service app. I agree the GUI app will have to be re-written with Metro-style App.

    Nilesh.

    Friday, October 26, 2012 7:06 PM
  • best thing you have are backgroundtasks.
    but the package still need to contain a app with UI
    Friday, October 26, 2012 10:22 PM
  • Can we have our App started automatically on reboot or does it need to be initiated by user ?

    Saturday, October 27, 2012 12:20 AM
  • It needs to be initiated by the user. Once that has happened it can start a background task which will persist through reboot.

    Take a look at the Introduction to Background Tasks whitepaper to see if a background task will suit your needs.

    --Rob

    • Marked as answer by Jesse Jiang Thursday, November 08, 2012 8:50 AM
    Wednesday, October 31, 2012 9:16 PM
    Owner