PRB: Unsigned CABs Are Not Installed Into the Java Package (245239)



The information in this article applies to:

  • Microsoft SDK for Java 3.2

This article was previously published under Q245239

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 Microsoft Knowledge Base article:

168941 INFO: Frequently Asked Questions About 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

236980 PRB: Installed CAB Doesn't Appear in Downloaded Program Files

For support information about Visual J++ and the SDK for Java, visit the following Microsoft Web site:

Modification Type:MajorLast Reviewed:6/14/2006
Keywords:kbprb KB245239