Closed
Bug 476770
Opened 16 years ago
Closed 16 years ago
WinCE CAB Creation NEEDS /compress flag
Categories
(Firefox for Android Graveyard :: General, defect)
Firefox for Android Graveyard
General
ARM
Windows Mobile 6 Professional
Tracking
(fennec1.0a1-wm+)
VERIFIED
FIXED
| Tracking | Status | |
|---|---|---|
| fennec | 1.0a1-wm+ | --- |
People
(Reporter: wolfe, Assigned: blassey)
References
Details
(Keywords: mobile)
Attachments
(1 file)
|
1.59 KB,
patch
|
ted
:
review+
|
Details | Diff | Splinter Review |
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?
Updated•16 years ago
|
Flags: blocking-fennec1.0? → blocking-fennec1.0+
Comment 1•16 years ago
|
||
Can you use the cabwiz.ddf file and change the default to:
.Set Compress=ON
Comment 2•16 years ago
|
||
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.
| Assignee | ||
Comment 3•16 years ago
|
||
I tried editing the system qwide cabwiz.ddf next to cabwiz.exe and it had no effect.
Updated•16 years ago
|
tracking-fennec: --- → 1.0a1-wm+
| Assignee | ||
Comment 4•16 years ago
|
||
Assignee: wolfe → bugmail
Attachment #361958 -
Flags: review?(ted.mielczarek)
| Assignee | ||
Updated•16 years ago
|
Status: NEW → ASSIGNED
Comment 5•16 years ago
|
||
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+
| Assignee | ||
Comment 6•16 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Comment 7•16 years ago
|
||
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.
Description
•