As the WinRT world is an evolution of COM, the registration is similar but uses only the HKCU registry keys. This means that you don't need administrative privileges to install an application.
Let's take a look to the most interesting registry keys involved during registration process:
The HKCU\Software\Classes\ActivatableClasses\Package key contains the list of package registered in the system.
Each subkey is named with the 'Full Package Name' that can be set from Visual Studio 11 opening the manifest file
Under the ActivatableClassId key we can see the name of the class whose role is to "acivate" the application. We can consider this as an object oriented entry point.
As the picture shows, App.wwa is the default name that can be set only by opening the manifest as XML while "name" attribute of "identity" tag is the "Package name" that we visually changed with the Visual Studio editor.
In the registry we find the following values:
Under the key Server there is the same "App.wwa" specified above, where we can find the full path to the exe of the process that will host our application.
From the research I did, it looks like you can create an application or a contract provider as a dll in-process. In this case there is not a "main" and therefore the entry-point would be crucial.
The registration process is not interesting during the application development phase, but it can be foundamental for diagnostic reasons and to understand the impact of the various manifest values.
In the next post I will examine the essential steps in activating an application.
Privacy | Legal Copyright © Raffaele Rialdi 2009, Senior Software Developer, Consultant, p.iva IT01741850992, hosted by Vevy Europe Advanced Technologies Division. Site created by Raffaele Rialdi, 2009 - 2015 Hosted by: © 2008-2015 Vevy Europe S.p.A. - via Semeria, 16A - 16131 Genova - Italia - P.IVA 00269300109