Closed Bug 476770 Opened 16 years ago Closed 16 years ago

WinCE CAB Creation NEEDS /compress flag

Categories

(Firefox for Android Graveyard :: General, defect)

ARM
Windows Mobile 6 Professional
defect
Not set
normal

Tracking

(fennec1.0a1-wm+)

VERIFIED FIXED
Tracking Status
fennec 1.0a1-wm+ ---

People

(Reporter: wolfe, Assigned: blassey)

References

Details

(Keywords: mobile)

Attachments

(1 file)

Right now, the CABWIZ.EXE call to create a Windows Mobile Installer CAB does not pass in the /compress flag, resulting in a ~22MB CAB instead of a ~8MB CAB using compression. Unfortunately, CABWIZ.EXE will not recognize "-compress" as a valid argument, and the bash shell corrupts any attempt to send a second argument of "/compress" into the CABWIZ.EXE application.
Flags: blocking-fennec1.0?
Flags: blocking-fennec1.0? → blocking-fennec1.0+
Can you use the cabwiz.ddf file and change the default to: .Set Compress=ON
That file lives next to cabwiz.exe, apparently, so you'd have to edit the copy in the SDK. A possible solution here is to change the script that's calling makecab from a bash script to a Python script. The Python we ship with MozillaBuild is a native Win32 program, so it doesn't do path translation like the msys utils do, so you can pass /compress to makecab without it being turned into a path.
I tried editing the system qwide cabwiz.ddf next to cabwiz.exe and it had no effect.
tracking-fennec: --- → 1.0a1-wm+
Assignee: wolfe → bugmail
Attachment #361958 - Flags: review?(ted.mielczarek)
Status: NEW → ASSIGNED
Comment on attachment 361958 [details] [diff] [review] calls python from the bash script This is truly awful. We need to rewrite this script.
Attachment #361958 - Flags: review?(ted.mielczarek) → review+
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
verified FIXED via code inspection and the sheer size of the .cab file via mxr and build: Mozilla/5.0 (Windows; U; WindowsCE 5.2; en-US; rv:1.9.3a1pre) Gecko/20090818 Fennec/1.0a3pre
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: