Microsoft KB Archive/245239

= PRB: Unsigned CABs Are Not Installed Into the Java Package =

Article ID: 245239

Article Last Modified on 6/14/2006

-

APPLIES TO


 * Microsoft Software Development Kit 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.



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


 * 1) Locate the TreeDemo sample, and click the Run Sample button.

