[Bug 5163] Microsoft Office XP 2002 installer reports error 25003 (installation source corrupted), custom action 'CADpc' returns 1603

WineHQ Bugzilla wine-bugs at winehq.org
Fri Dec 25 11:34:13 CST 2020


https://bugs.winehq.org/show_bug.cgi?id=5163

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Office XP 2002 crashes on   |Microsoft Office XP 2002
                   |installation                |installer reports error
                   |                            |25003 (installation source
                   |                            |corrupted), custom action
                   |                            |'CADpc' returns 1603
                 CC|                            |focht at gmx.net

--- Comment #100 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

--- quote ---
Does the bug still occur with wine-5.12?
--- quote ---

Sure. My analysis from 2008 still applies.

The unicode collation element table was updated/regenerated in 2010:

https://source.winehq.org/git/wine.git/commitdiff/388779e320b9dda0e9a3094459da6f4162976778
("libwine: Update the character tables to Unicode 5.2.")

and introduced to kernelbase in 2019

https://source.winehq.org/git/wine.git/commitdiff/94a3add0ea7889dbd26a4ded60ace1c40b02ed89
("kernel32: Move LCMapString functions to kernelbase.")

https://www.unicode.org/Public/UCA/5.2.0/allkeys.txt

--- snip ---
# unidata-5.2.0.txt
# Date: 2009-09-22, 16:23:42 PDT [KW]
#
# This file defines the Default Unicode Collation Element Table
#   (DUCET) for the Unicode Collation Algorithm
#
# Copyright (c) 2001-2009 Unicode, Inc.
# For terms of use, see http://www.unicode.org/terms_of_use.html
#
# See UTS #10, Unicode Collation Algorithm, for more information.
#
# Diagnostic weight ranges
# Primary weight range:   0200..3ACA (14539)
# Secondary weight range: 0020..0192 (371)
# Variant secondaries:    0159..015E (6)
# Digit secondaries:      015F..0192 (52)
# Tertiary weight range:  0002..001F (30)
#
@version 5.2.0
...
002E  ; [*0281.0020.0002.002E] # FULL STOP
...
005F  ; [*021D.0020.0002.005F] # LOW LINE
...
--- snip ---

Hence you need an adjustment for my hack (kernelbase only):

https://source.winehq.org/git/wine.git/blob/9d7a710fc0d1a0ecea17a68675d3899aff63ae0c:/dlls/kernelbase/collation.c#l153

--- snip ---
diff --git a/dlls/kernelbase/collation.c b/dlls/kernelbase/collation.c
index 22c35a4c21e..7bc724f0175 100644
--- a/dlls/kernelbase/collation.c
+++ b/dlls/kernelbase/collation.c
@@ -150,7 +150,7 @@ const unsigned int DECLSPEC_HIDDEN collation_table[11044] =
     0x0a290141, 0x0a3d0151, 0x0a490151, 0x0a650151, 0x0a910151, 0x0a990151,
0x0ab90151, 0x0ad30161,
     0x0ae70141, 0x0af70141, 0x0b030161, 0x0b2b0151, 0x0b330151, 0x0b4b0161,
0x0b670141, 0x0b730141,
     0x0b7f0141, 0x0ba70151, 0x0bbf0151, 0x0bd70141, 0x0bef0151, 0x0bfb0141,
0x0c030151, 0x0c070141,
-    0x0c130141, 0x027c0111, 0x02a60111, 0x027d0111, 0x020f0111, 0x021b0111,
0x020c0111, 0x0a150111,
+    0x0c130141, 0x027c0111, 0x02a60111, 0x027d0111, 0x020f0111, 0x02560111,
0x020c0111, 0x0a150111,
     0x0a290111, 0x0a3d0111, 0x0a490111, 0x0a650111, 0x0a910111, 0x0a990111,
0x0ab90111, 0x0ad30111,
     0x0ae70111, 0x0af70111, 0x0b030111, 0x0b2b0111, 0x0b330111, 0x0b4b0111,
0x0b670111, 0x0b730111,
     0x0b7f0111, 0x0ba70111, 0x0bbf0111, 0x0bd70111, 0x0bef0111, 0x0bfb0111,
0x0c030111, 0x0c070111,
--- snip ---

$ wine --version
wine-6.0-rc3-34-g9d7a710fc0d

Regards

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list