OFFXPDEV: CLB File Extension Is Not Registered When Deployed with the Code Librarian Viewer (289890)



The information in this article applies to:

  • Microsoft Office XP Developer

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:
  1. Click the Codelib icon at the bottom of the tree, and then click Properties.
  2. Click to select the Specify custom command line check box.
  3. Change the Wizard-generated command line to explicitly run CodeLibViewer.exe, as follows:

    "$(AppPath)\codelibviewer.exe" "$(AppPath)\mydatabase.clb"

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.

Modification Type:MajorLast Reviewed:6/25/2001
Keywords:kbbug KB289890