Hi,

The error is actually that orange fails to identify the MS Cabinet files
as such when they are in the .rsrc section. I have committed the patch
below upstream. It will cause the following files to be extracted by
orange from mbutton.exe:

installer.StrongARM.cab
rsrc-00000064-00000004-00000000-000004e4
rsrc-00000064-00000005-00000000-000004e4

Sorry for the useless filenames... I'm accepting patches that given an
MS Cabinet file reliably extracts the application name from the "MSCE"
descriptor available as the first file entry in the installer cabinet
files. The format is documented at
http://www.cabextract.org.uk/wince_cab_format/

Cheers,

David



Modified: trunk/orange/lib/squeeze.c
===================================================================
--- trunk/orange/lib/squeeze.c  2008-05-30 10:37:28 UTC (rev 3470)
+++ trunk/orange/lib/squeeze.c  2008-06-02 19:34:22 UTC (rev 3471)
@@ -211,7 +211,7 @@
 #if VERBOSE_MAGIC
   synce_trace("%s: %s", filename, description);
 #endif
-  if (strstr(description, "Microsoft Cabinet file"))
+  if (strstr(description, "Microsoft Cabinet"))
   {
     CabInfo cab_info;
     if (orange_get_installable_cab_info(filename, &cab_info))


-- 




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to