locked
Custom Logic during Metro Style Apps deployment RRS feed

  • Question

  • Since Metro style app can only be deployed through Windows Store, I assume there is no custom logic can be implemented during the deployment. Currently I have an installer for my desktop app that will do some detection during installation. Eg. it checks that if the system is Dell system, it will install the appropriate setting files (ini file or xml file) into the system, if the system is Acer system, it will install another set of setting files. How can I achieve this with Metro style App deployment?

    Thank you.

    Tuesday, December 13, 2011 9:59 AM

Answers

  • Hi Angela,

     

    Thank you for your question!  While this kind of deployment is often useful for Desktop mode applications, there is no need to perform this same kind of custom logic during installation of a Metro Style application.  Microsoft is working with manufacturers to ensure that Metro Style applications install and behave in a consistent and predictable way on all like platforms.  The primary platform dependent consideration is screen resolution since that will vary widely between small tablet devices and large desktop PC displays. 

     

    You will need to design your app so that it is installed the same on all devices, and then write device specific preferences after first run of the app.  If you have questions about the best way to do this for your specific situation, I recommend opening a new thread in one of the technical focused forums (such as one of the “Developing Metro style apps for…” forums), there are developer support engineers there that can assist you in the best way to design your app.

     

    JavaScript / HTML5 : http://social.msdn.microsoft.com/Forums/en-us/winappswithhtml5/threads

    C# / VB : http://social.msdn.microsoft.com/Forums/en-us/winappswithcsharp/threads

    C++ :  http://social.msdn.microsoft.com/Forums/en-us/winappswithnativecode/threads

     

    Thanks!!

    Tuesday, December 13, 2011 10:57 PM
    Moderator

All replies

  • Hi Angela,

     

    Thank you for your question!  While this kind of deployment is often useful for Desktop mode applications, there is no need to perform this same kind of custom logic during installation of a Metro Style application.  Microsoft is working with manufacturers to ensure that Metro Style applications install and behave in a consistent and predictable way on all like platforms.  The primary platform dependent consideration is screen resolution since that will vary widely between small tablet devices and large desktop PC displays. 

     

    You will need to design your app so that it is installed the same on all devices, and then write device specific preferences after first run of the app.  If you have questions about the best way to do this for your specific situation, I recommend opening a new thread in one of the technical focused forums (such as one of the “Developing Metro style apps for…” forums), there are developer support engineers there that can assist you in the best way to design your app.

     

    JavaScript / HTML5 : http://social.msdn.microsoft.com/Forums/en-us/winappswithhtml5/threads

    C# / VB : http://social.msdn.microsoft.com/Forums/en-us/winappswithcsharp/threads

    C++ :  http://social.msdn.microsoft.com/Forums/en-us/winappswithnativecode/threads

     

    Thanks!!

    Tuesday, December 13, 2011 10:57 PM
    Moderator
  • Hi Dawn,

    Thanks for the reply. There are much more platform dependent settings other than screen resolution. OEM wants each of their systems to be fine tuned to achieve the best performance, it means each system can have their own default settings, eg. volume, effects, colors etc etc. Previously we will run the detection during deployment and only install the necessary setting files on the system, so that when the App launches, it will just auto load the appropriate settings for that system. It is not quite possible to build in all those logic into the Metro app because a Metro app may not have the necessary access to all the system information such as BIOS info etc. Secondly, the Metro App will become a giant size version because of all the detection code. And for every new system that OEM comes out, we would need to update the Metro App binary in order to include the new settings, which is not very practical.

    Thank you.

    Wednesday, December 14, 2011 5:33 AM
  • Hi Angela,

    Thank you for the additional details.  I recommend opening a new thread with your specific question in the Developing Metro Style Apps... forum.  There you will have developer support engineers that can assist you in the best way to design your app.

    Thank you!!

    Dawn

    Friday, December 16, 2011 2:27 PM
    Moderator
  • Hi Dawn

    As part of curiosity i want to make Metro style apps.would u like to help for that. If possible than would like to give u r mail id for help.....

     

    Thank 

    Saturday, December 24, 2011 12:14 PM