JDK-6713962 : sp####.MST files should be compressed
  • Type: Bug
  • Component: install
  • Sub-Component: install
  • Affected Version: 6u10,6u12
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: generic,windows
  • CPU: generic
  • Submitted: 2008-06-12
  • Updated: 2010-09-17
  • Resolved: 2008-07-14
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
6u10 b27Fixed 7Fixed
Related Reports
Relates :  
The size of the English sponsor transform is now 1.3MB!!!  This is a result of us adding sponsors support for OpenOffice, Yahoo and 3Rings. This file is downloaded regardless of whether they actually choose to install one of our sponsor products.  Prior to this effort it was only 167KB. 

We should compress this file with lzma compression, and we can get it back down to 179 KB.

SUGGESTED FIX Define and use extra 7-Zip LZMA file compression for all windows installers that download MSIs and MSTs - online, online kernel, and offline sponsors. Moved LZMA compression support routines from wrapper_online/jre/jinstall.cpp to wrapper/common/WrapperUtils.cpp. No change needed to offline, no sponsor. The MSI and language transforms are included in the offline download. wrapper/wrapper.jre only uses EXTRA_COMP_LIB if SPONSOR and EXTRA_COMP_LIB_NAME. Need wrapper/common/WrapperUtils.cpp to use resource.h for executable being built. wrapper_online/jre/jinstall.cpp: added UncompressDownloadedFile() and CheckAndUncompressDownloadedFiles() wrapper.jre: separated multi-use szTransforms into szLocalDir and szTransformPath Changed GetOptionsFromXmlIfOnline() to call ExtraUnCompression() after downloading sponsor transform webrev: http://sa.sfbay.sun.com/projects/deployment_data/6u10/6713962.0

EVALUATION We already use lzma to compress the kernel.msi file. We should use that same approach to compress the transforms files.