https://bugs.winehq.org/show_bug.cgi?id=50398
Bug ID: 50398 Summary: Microsoft Office XP 2002 installer shows "Error 25504. Failed to set Feature xyz to the install state of Feature xyz for mode 2." message boxes since Wine 2.12 Product: Wine Version: 2.12 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: msi Assignee: wine-bugs@winehq.org Reporter: focht@gmx.net Distribution: ---
Hello folks,
while checking bug 5163 ("Microsoft Office XP 2002 installer reports error 25003 (installation source corrupted), custom action 'CADpc' returns 1603") I've noticed a bunch of message boxes during installation which didn't appear with earlier Wine releases.
They can be dismissed so the installer proceeds further. Alternatively the installer can be run in "no UI" mode (pass '/q' or '/qn').
Wine 2.11 (ok):
--- snip --- $ WINEDEBUG=+msgbox wine ./SETUP.EXE ... err:msi:ITERATE_Actions Execution halted, action L"CADpc" returned 1603 err:msi:ITERATE_Actions Execution halted, action L"ExecuteAction" returned 1603 --- snip ---
Wine 2.12:
--- snip --- $ WINEDEBUG=+msgbox wine ./SETUP.EXE ... trace:msgbox:MSGBOX_OnInit L"1: 2: SpeechHidden 3: SpeechFiles 4: " trace:msgbox:MSGBOX_OnInit L"1: 2: SpeechHidden 3: ExcelTTS 4: " trace:msgbox:MSGBOX_OnInit L"1: 2: TranslationHidden 3: TranslationFiles_3082 4: " trace:msgbox:MSGBOX_OnInit L"1: 2: TranslationHidden 3: TranslationFiles_1036 4: " trace:msgbox:MSGBOX_OnInit L"1: 2: OutlookCDO 3: OutlookAddressBookControl 4: " trace:msgbox:MSGBOX_OnInit L"1: " err:msi:ITERATE_Actions Execution halted, action L"CADpc" returned 1603 err:msi:ITERATE_Actions Execution halted, action L"ExecuteAction" returned 1603 --- snip ---
Wine 2.13:
--- snip --- $ WINEDEBUG=+msgbox wine ./SETUP.EXE ... trace:msgbox:MSGBOX_OnInit L"The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 25504. " trace:msgbox:MSGBOX_OnInit L"The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 25504. " trace:msgbox:MSGBOX_OnInit L"The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 25504. " trace:msgbox:MSGBOX_OnInit L"The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 25504. " trace:msgbox:MSGBOX_OnInit L"The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 25504. " trace:msgbox:MSGBOX_OnInit L"The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 25003. " err:msi:ITERATE_Actions Execution halted, action L"CADpc" returned 1603 err:msi:ITERATE_Actions Execution halted, action L"ExecuteAction" returned 1603 --- snip ---
Wine 2.15 to Wine 6.0-rc3:
--- snip --- $ WINEDEBUG=+msgbox wine ./SETUP.EXE ... trace:msgbox:MSGBOX_OnInit L"Error 25504. Failed to set Feature SpeechHidden to the install state of Feature SpeechFiles for mode 2." trace:msgbox:MSGBOX_OnInit L"Error 25504. Failed to set Feature SpeechHidden to the install state of Feature ExcelTTS for mode 2." trace:msgbox:MSGBOX_OnInit L"Error 25504. Failed to set Feature TranslationHidden to the install state of Feature TranslationFiles_3082 for mode 2." trace:msgbox:MSGBOX_OnInit L"Error 25504. Failed to set Feature TranslationHidden to the install state of Feature TranslationFiles_1036 for mode 2." trace:msgbox:MSGBOX_OnInit L"Error 25504. Failed to set Feature OutlookCDO to the install state of Feature OutlookAddressBookControl for mode 0." trace:msgbox:MSGBOX_OnInit L"Error 25003. Microsoft Office setup cannot continue because the installation source has been corrupted" err:msi:ITERATE_Actions Execution halted, action L"CADpc" returned 1603 err:msi:ITERATE_Actions Execution halted, action L"ExecuteAction" returned 1603 --- snip ---
--- snip --- $ WINEDEBUG=+seh,+relay,+msi wine ./SETUP.EXE >>log.txt 2>&1 ... 018c:trace:msi:MsiQueryFeatureStateW L"{90110409-6000-11D3-8CFE-0050048383C9}" L"SpeechFiles" ... 018c:trace:msi:MSI_SetFeatureStates examining feature L"SpeechFiles" (level 1 installed 2 request 1 action 1) ... 0328:Call msi.MsiGetFeatureStateA(00000001,014dfc48 "SpeechFiles",014dfc14,014dfc18) ret=35f25cb9 ... 0328:Ret msi.MsiGetFeatureStateA() retval=00000000 ret=35f25cb9 0328:Call msi.MsiGetFeatureStateA(00000001,014dfc70 "SpeechHidden",014dfc1c,014dfc10) ret=35f25cd6 ... 0328:Ret msi.MsiGetFeatureStateA() retval=00000000 ret=35f25cd6 ... 0328:Call msi.MsiRecordSetStringA(00000006,00000000,35f41f78 "FeatureDependency: Follow: 'SpeechHidden' current state: 2, action state: 2, using state 2") ret=35f348fa ... 0328:Call msi.MsiRecordSetStringA(00000006,00000000,35f41f78 "FeatureDependency: Lead: 'SpeechFiles' current state: 2, action state: 1, using state 1") ret=35f348fa ... 0328:Call msi.MsiSetFeatureStateA(00000001,014dfc70 "SpeechHidden",00000001) ret=35f25d55 ... 0328:Ret msi.MsiSetFeatureStateA() retval=0000065b ret=35f25d55 ... 0328:Call msi.MsiRecordSetStringA(00000006,00000000,35f41f78 "FeatureDependency: Feature 'SpeechHidden' changed state to 1") ret=35f348fa ... 0328:Call msi.MsiRecordSetInteger(00000006,00000001,000063a0) ret=35f2605d 0328:Ret msi.MsiRecordSetInteger() retval=00000000 ret=35f2605d 0328:Call msi.MsiRecordSetStringA(00000006,00000002,014dfc70 "SpeechHidden") ret=35f26069 ... 0328:Ret msi.MsiRecordSetStringA() retval=00000000 ret=35f26069 0328:Call msi.MsiRecordSetStringA(00000006,00000003,014dfc48 "SpeechFiles") ret=35f26075 ... 0328:Ret msi.MsiRecordSetStringA() retval=00000000 ret=35f26075 0328:Call msi.MsiRecordSetInteger(00000006,00000004,00000002) ret=35f2607e 0328:Ret msi.MsiRecordSetInteger() retval=00000000 ret=35f2607e 0328:Call msi.MsiProcessMessage(00000001,01000000,00000006) ret=35f26088 ... 032c:trace:msi:MSI_DatabaseOpenViewW L"SELECT `Message` FROM `Error` WHERE `Error` = 25504" 033FFB44 ... 032c:Call user32.MessageBoxW(00000000,01aeb350 L"Error 25504. Failed to set Feature SpeechHidden to the install state of Feature SpeechFiles for mode 2.",10096f4e L"Windows Installer",00000030) ret=10052d3a --- snip ---
Installer log:
--- snip --- ... DetectDarwin10: Detected Windows Installer version 1.1 or better; manipulating feature defaults. ... Action start 10:46:16: FeatureDependency. FeatureDependency: Reset: Feature 'SpeechHidden' changed state to 2 FeatureDependency: Reset: Feature 'TranslationHidden' changed state to 2 FeatureDependency: Reset: Feature 'HandWritingHidden' changed state to 2 FeatureDependency: Follow: 'OUTLOOKNonBootFiles' current state: -1, action state: -1, using state -1 FeatureDependency: Lead: 'OUTLOOKFiles' current state: -1, action state: -1, using state -1 FeatureDependency: Feature 'OUTLOOKNonBootFiles' did not change state, still using -1 FeatureDependency: Follow: 'ProductNonBootFiles' current state: -1, action state: -1, using state -1 FeatureDependency: Lead: 'ProductFiles' current state: -1, action state: -1, using state -1 FeatureDependency: Feature 'ProductNonBootFiles' did not change state, still using -1 FeatureDependency: Follow: 'SpeechHidden' current state: -1, action state: 2, using state 2 FeatureDependency: Lead: 'SpeechFiles' current state: -1, action state: -1, using state -1 FeatureDependency: Feature 'SpeechHidden' did not change state, still using 2 FeatureDependency: Follow: 'SpeechHidden' current state: -1, action state: 2, using state 2 FeatureDependency: Lead: 'ExcelTTS' current state: -1, action state: -1, using state -1 FeatureDependency: Feature 'SpeechHidden' did not change state, still using 2 ... Action ended 10:46:16: FeatureDependency. Return value 1. ... Action start 10:46:34: MigrateFeatureStates. MigrateFeatureStates Info 2726. An internal error has occurred. (MigrateFeatureStates ) Action ended 10:46:35: MigrateFeatureStates. Return value 0. ... Action start 10:47:13: FeatureDependency. FeatureDependency: Reset: Feature 'SpeechHidden' changed state to 2 FeatureDependency: Reset: Feature 'TranslationHidden' changed state to 2 FeatureDependency: Reset: Feature 'HandWritingHidden' changed state to 2 FeatureDependency: Follow: 'OUTLOOKNonBootFiles' current state: 2, action state: 3, using state 3 FeatureDependency: Lead: 'OUTLOOKFiles' current state: 2, action state: 3, using state 3 FeatureDependency: Feature 'OUTLOOKNonBootFiles' did not change state, still using 3 FeatureDependency: Follow: 'ProductNonBootFiles' current state: 2, action state: 3, using state 3 FeatureDependency: Lead: 'ProductFiles' current state: 2, action state: 3, using state 3 FeatureDependency: Feature 'ProductNonBootFiles' did not change state, still using 3 FeatureDependency: Follow: 'SpeechHidden' current state: 2, action state: 2, using state 2 FeatureDependency: Lead: 'SpeechFiles' current state: 2, action state: 1, using state 1 FeatureDependency: Feature 'SpeechHidden' changed state to 1 ... --- snip ---
Regression testing lead to:
https://source.winehq.org/git/wine.git/commitdiff/48237e249b76f5ad883ec073e3... ("msi: Add a basic internal UI implementation.")
author Zebediah Figura z.figura12@gmail.com Thu, 6 Jul 2017 04:31:52 +0000 (23:31 -0500)
$ wine --version wine-6.0-rc3-34-g9d7a710fc0d
Regards