Want to deploy & remove Metro Packages from Win32. Can PackageManager API be used from Win32? RRS feed

  • Question

  • I need to deploy & remove Metro Packages from Win32. Can PackageManager API be used from Win32?
    Tuesday, December 13, 2011 12:48 PM


All replies

  • Yes, take a look at this:


    It should be possible to call these API from desktop apps.

    Raman Sharma | Program Manager, Visual C++ | @rasharm_msft

    (if my post has answered your question, please consider using the 'mark as answer' feature in the forums to help others)
    • Marked as answer by Jie Bao Tuesday, December 27, 2011 7:22 AM
    Tuesday, December 13, 2011 8:39 PM
  • Raman,

    I'd like to ask for a clarification on this point, as there seems to be much confusion around this topic.

    There are clearly documented ways to use the deployment APIs to deploy Metro style applications (from the definition of the class, to the "How to use the Deployment API" section of help which defines how to add/remove/update/inventory/query). 

    In each case, the documentation says that these APIs aren't available for use within Metro style applications, and the implication is that developers are free to use them in the Desktop space.

    Will Microsoft allow developers to use these APIs to create desktop applications to deploy Metro style applications which do not pass the Windows Store (Application Certificate) requirements?

    Thanks in advance!


    Thursday, February 23, 2012 8:56 PM
  • What is MSFT's intended usage for PackageManager?  Is
    PackageManager API the mechanism for institutional customers and IT departments
    to deploy private apps? What restrictions (if any) exist around the use of this API?
    Monday, March 12, 2012 2:00 AM
  • PackageManager does not allow deploying apps which cannot otherwise be used on the system. It should be usable by IT departments to deploy private apps that are enabled on the system, but it isn't itself sufficient to enable such apps.

    For discussion on Enterprise deployment of private apps please post in TechNet's Windows 8 IT Pro category. See How to Add and Remove Apps for information on line-of-business Metro style apps.


    Tuesday, March 13, 2012 9:53 PM