Microsoft KB Archive/289890

= OFFXPDEV: CLB File Extension Is Not Registered When Deployed with the Code Librarian Viewer =

Article ID: 289890

Article Last Modified on 2/12/2007

-

APPLIES TO


 * Microsoft Office XP Developer Edition

-



This article was previously published under Q289890



SYMPTOMS
When you install a package with the Code Librarian Viewer and a Code Librarian database file, the CLB extension information is not added to the registry to associate the file with the Viewer. This results in the Programs menu shortcut for the package not having an associated file type.



RESOLUTION
On the Define Start Menu Shortcuts page of the Packaging Wizard, change the command line of the shortcut to explicitly run CodeLibViewer.exe. For an example of how to do so, follow these steps:  Click the Codelib icon at the bottom of the tree, and then click Properties. Click to select the Specify custom command line check box. Change the Wizard-generated command line to explicitly run CodeLibViewer.exe, as follows:

&quot;$(AppPath)\codelibviewer.exe&quot; &quot;$(AppPath)\mydatabase.clb&quot;





STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.



MORE INFORMATION
On systems with Office XP Developer installed, the CLB file type is associated with the Code Librarian Viewer.

Steps to Reproduce the Behavior

 * 1) Start the Packaging Wizard, select CodeLib.clb as the main file, and then click Next.
 * 2) Click Add File on the Dependencies page, and then add CodeLibViewer.exe as well as all of its dependencies.
 * 3) Keep clicking Next, and accept all the defaults, until you reach the last page of the wizard. On the last page of the wizard, click Finish to create the package.
 * 4) Run Setup of the package on a computer that does not have Microsoft Office XP Developer installed.

Note that the Start menu shortcut to CodeLib.clb has no file association.

Additional query words: pra

Keywords: kbbug kbnofix KB289890

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.