locked
How to detect if an application already exists?

    Question

  • For example, program A runtime to detect whether B has been installed

    Tuesday, September 25, 2012 9:10 AM

Answers

All replies

  • One way to know it through registry

    HKEY_CURRENT_USER\Software\Classes\ActivatableClasses\Package

    each metro app will have entry here.Each metro app will have Key with be same name as package family name in package.manifest file of your your metro app.

    Tuesday, September 25, 2012 2:35 PM
  • There is no way to do this from within a Windows Store app. From a desktop app you can use the PackageManager API or PowerShell's appx installation cmdlets.

    --Rob

    Tuesday, September 25, 2012 3:22 PM
    Owner
  • Metro app can use registry ?

    how to use ?

    how to read " HKEY_CURRENT_USER\Software\Classes\ActivatableClasses\Package"


    让信任简单起来

    Tuesday, April 9, 2013 11:38 AM