Each isolated shell application to be deployed must have a valid shell load key (SLK). The SLK is uniquely related to the shell application and cannot be used to launch any other shell application. SLKs are obtained from the Microsoft Visual Studio Industry Partner (VSIP) Portal.
The portal allows you to group SLKs and package load keys (PLKs) by product name and version. This grouping is a convenience for managing your packages and shell applications, and does not constrain how you create a setup file for an isolated shell application.
注意
Be careful when entering information to obtain your SLK. Incorrect information is the primary reason for SLK load failure. The strings you use to create the SLK must match the name value pairs in the shell project's .pkgdef file.
注意
If you are creating a new version of an existing shell application, assign a new CLSID to the new version of the application, and use this new CLSID when creating the new SLK.
To obtain an SLK from the VSIP portal
Go to the Visual Studio Industry Partner Portal.
Sign in with your Windows Live ID. If you are not yet registered to use the site, you can register from the sign-in page. If you do not have a Windows Live ID, you can obtain one during the registration process.
After you sign in to the Visual Studio Industry Partner Portal, the Partner Home page is displayed.
Under Quick Tasks, click Request a Shell Load Key (SLK). The Products page is then displayed.
To select the product for which you need the SLK, follow the instructions on the page. If you have not yet registered the product, you can do so from this page.
注意
The company name that appears next to the product name is the company name you used when creating your VSIP membership. It must match the value of the CompanyName in the .pkgdef file for the project that implements your isolated shell application.
注意
The product name is the only product information that is used as part of generating the SLK. However, the rest of the product information is used if you decided to submit the product to the online product catalog. The product name must match the value of the AppName in the .pkgdef file for the project that implements your isolated shell application.
After you select a product, the Product Information page is displayed.
Click Request New SLK.
The Shell Load Keys - New Item page is displayed.
Read the instructions on the page, and fill in the requested fields. Be careful not to add any leading or trailing spaces.
Field name |
Value |
Required |
|---|---|---|
Shell Guid |
This is the value of the CLSID of your application in the shell's .pkgdef file, for example:
Note:
Use the numeric value to fill in the field, including braces. For example:
|
Yes |
Shell Version. |
Type in a shell application version, for example, 1.0. You can use any string. This is the string you use for the value of the ProductVersion in the .pkgdef file for the project that implements your isolated shell application. |
Yes |
Description |
This field is for your use, and does not affect how the SLK is generated. |
No |
Click OK. The Product Information page is displayed again for your project, with a portion of your new SLK displayed under Shell Load Key (SLK).
Note: