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
|