PRB: Unsigned CABs Are Not Installed Into the Java Package

ID: Q245239


The information in this article applies to:
  • Microsoft SDK for Java, version 3.2


SYMPTOMS

The Microsoft SDK for Java 3.2 includes a sample called Treedemo that details how to install an unsigned applet into the Java Package Manager (JPM). With Internet Explorer 5.0 the demo fails to load the applet.


CAUSE

It has been confirmed that a bug in earlier browsers allowed this to work and the bug has been fixed in Internet Explorer 5.0.


RESOLUTION

The solution to this problem is twofold:

  1. Sign the .cab file.


  2. Use the old cab base tags instead of the uses tags. This allows the applet to be downloaded to run, but it is not installed into the JPM (good for small applets).


Unsigned .cab files are not to be installed in the package manager due to security constraints.

NOTE: For .cab file signing issues please refer to the following knowledge base article:

Q168941 INFO: Frequently Asked Questions for CAB Files


STATUS

This behavior is by design.


MORE INFORMATION

Steps to Reproduce Behavior

  1. Install the Microsoft SDK for Java 3.2.


  2. Open the package manager samples.
    Example: \Program Files\Microsoft SDK for Java 3.2\Samples\Packaging\pkgmgmt\package_manager.htm


  3. Locate the TreeDemo sample, and click the Run Sample button.



REFERENCES

Q236980 PRB: Installed CAB Doesn't Appear in Downloaded Program Files
For the latest Knowledge Base articles and other support information on Visual J++ and the SDK for Java, please see the following pages on the Microsoft Technical Support site:
http://support.microsoft.com/support/visualj/

http://support.microsoft.com/support/java/

Additional query words:

Keywords : kbGrpJava kbDSupport kbSDKJava320
Version : WINDOWS:3.2
Platform : WINDOWS
Issue type : kbprb


Last Reviewed: January 10, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.