https://bugs.winehq.org/show_bug.cgi?id=43478
Bug ID: 43478 Summary: fail with install MIT Kerberos for Windows 4.1 Product: Wine Version: unspecified Hardware: x86 URL: http://web.mit.edu/kerberos/www/dist/index.html#kfw-4. 1 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: msi Assignee: wine-bugs@winehq.org Reporter: lav@etersoft.ru Distribution: ---
After $ wget http://web.mit.edu/kerberos/www/dist/kfw/4.1/kfw-4.1-i386.msi $ wine start kfw-4.1-i386.msi I got fixme:msi:msi_unimplemented_action_stub RMCCPSearch: ignored 1 rows from L"CCPSearch" err:msi:custom_get_thread_return Invalid Return Code 2 err:msi:ITERATE_Actions Execution halted, action L"InstallNetProvider" returned 1603 err:msi:ITERATE_Actions Execution halted, action L"ExecuteAction" returned 1603 and revert installed file.
https://bugs.winehq.org/show_bug.cgi?id=43478
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox_xerox2000@yahoo.co.uk
--- Comment #1 from Louis Lenders xerox_xerox2000@yahoo.co.uk --- Created attachment 58860 --> https://bugs.winehq.org/attachment.cgi?id=58860 regkey
Looks like it chokes in a missing registrykey***
Could you try if the folloeing works:
-> save the attachment from this comment; -> regedit networkprovider.reg -> run the installer again
***: 0037:Call advapi32.RegOpenKeyExA(80000002,10008534 "SYSTEM\CurrentControlSet\Control\NetworkProvider\Order",00000000,0002001f,0085e80c) ret=10002398 0037:Ret advapi32.RegOpenKeyExA() retval=00000002 ret=10002398 0037:Call msi.MsiCreateRecord(00000003) ret=1000100b 0037:trace:msidb:MsiCreateRecord 3 0037:trace:msidb:MSI_CreateRecord 3 0037:Call ntdll.RtlAllocateHeap(00110000,00000008,00000044) ret=7ecb2494 0037:Ret ntdll.RtlAllocateHeap() retval=00905ea8 ret=7ecb2494 0037:trace:msi:alloc_msihandle 0x905ea8 -> 3 0037:Ret msi.MsiCreateRecord() retval=00000003 ret=1000100b 0037:Call msi.MsiRecordClearData(00000003) ret=10001017 0037:trace:msidb:MsiRecordClearData 3 0037:Ret msi.MsiRecordClearData() retval=00000000 ret=10001017 0037:Call msi.MsiRecordSetInteger(00000003,00000001,00000fa7) ret=10001026 0037:trace:msidb:MsiRecordSetInteger 3 1 4007 0037:trace:msidb:MSI_RecordSetInteger 0x905ea8 1 4007 0037:Ret msi.MsiRecordSetInteger() retval=00000000 ret=10001026 0037:Call msi.MsiRecordSetInteger(00000003,00000002,00000002) ret=10001035 0037:trace:msidb:MsiRecordSetInteger 3 2 2 0037:trace:msidb:MSI_RecordSetInteger 0x905ea8 2 2 0037:Ret msi.MsiRecordSetInteger() retval=00000000 ret=10001035 0037:Call msi.MsiProcessMessage(00000002,01000000,00000003) ret=10001047 0037:trace:msidb:MSI_RecordGetInteger 0x905ea8 1 0037:trace:msidb:MSI_RecordIsNull 0x905ea8 0 0037:Call user32.LoadStringW(7ec60000,0000041d,0085de5c,00000400) ret=7ecd1182 0037:Ret user32.LoadStringW() retval=000000b5 ret=7ecd1182 0037:trace:msidb:MSI_RecordSetStringW 0x905ea8 0 L"The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is [1]. {{The arguments are: [2], [3], [4]}}" 0037:Call ntdll.RtlAllocateHeap(00110000,00000000,0000016c) ret=7ecd6c5f 0037:Ret ntdll.RtlAllocateHeap() retval=00905f90 ret=7ecd6c5f 0037:trace:msi:MSI_ProcessMessageVerbatim 1000000 0037:trace:msidb:dump_record [L"The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is [1]. {{The arguments are: [2], [3], [4]}}", 4007, 2, (null)] 0037:trace:msi:MSI_FormatRecordW 0x163fb0 0x905ea8 (nil) 0x85d50c
https://bugs.winehq.org/show_bug.cgi?id=43478
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, Installer Status|UNCONFIRMED |NEW Component|msi |-unknown Ever confirmed|0 |1
--- Comment #2 from Louis Lenders xerox_xerox2000@yahoo.co.uk --- confirming+added some info
https://bugs.winehq.org/show_bug.cgi?id=43478
--- Comment #3 from Vitaly Lipatov lav@etersoft.ru --- (In reply to Louis Lenders from comment #1)
Created attachment 58860 [details] regkey
Looks like it chokes in a missing registrykey***
Could you try if the folloeing works:
-> save the attachment from this comment; -> regedit networkprovider.reg -> run the installer again
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\NetworkProvider\Order] "ProviderOrder"="RDPNP,LanmanWorkstation,webclient"
Yes, that registry key from the attachment resolve the problem.
https://bugs.winehq.org/show_bug.cgi?id=43478
--- Comment #4 from Louis Lenders xerox_xerox2000@yahoo.co.uk --- Created attachment 58892 --> https://bugs.winehq.org/attachment.cgi?id=58892 add registrykey to wine.inf
Here`s a patch that adds the key to wine.inf, but I`m not sure if the patch is 100% correct or if this is the right way to fix it. If someone more experienced could have a look and review it that`d be nice
https://bugs.winehq.org/show_bug.cgi?id=43478
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|fail with install MIT |MIT Kerberos for Windows |Kerberos for Windows 4.1 |4.1 installer fails to | |install Kerberos network | |provider (missing | |'HKLM\SYSTEM\CurrentContr | |olSet\Control\NetworkProv | |ider\Order\ProviderOrder' | |key) Version|unspecified |2.13 URL|http://web.mit.edu/kerberos |https://web.archive.org/web |/www/dist/index.html#kfw-4. |/20170324004558/http://web. |1 |mit.edu/kerberos/www/dist/k | |fw/4.1/kfw-4.1-i386.msi CC| |focht@gmx.net
--- Comment #5 from Anastasius Focht focht@gmx.net --- Hello folks,
confirming, still preset.
Adding stable download link via Internet Archive:
https://web.archive.org/web/20170324004558/http://web.mit.edu/kerberos/www/d...
--- snip --- $ WINEDEBUG=+seh,+relay,+msi wine msiexec -i kfw-4.1-i386.msi >>log.txt 2>&1 ... 015c:Ret KERNEL32.LoadLibraryW() retval=01670000 ret=100210f6 015c:Call KERNEL32.GetProcAddress(01670000,0017fe78 "InstallNetProvider") ret=1002110a 015c:Ret KERNEL32.GetProcAddress() retval=016724c0 ret=1002110a ... 015c:Call advapi32.RegOpenKeyExA(80000002,01678534 "SYSTEM\CurrentControlSet\Control\NetworkProvider\Order",00000000,0002001f,0154fc94) ret=01672398 ... 015c:Ret advapi32.RegOpenKeyExA() retval=00000002 ret=01672398 ... 012c:Call user32.MessageBoxW(00000000,01b00a50 L"Failed to install Kerberos network provider. Status 2",10097fb4 L"Windows Installer",00000030) ret=10052e1a --- snip ---
It only needs the 'ProviderOrder' key present to succeed, no actual values.
After installation:
--- snip --- $ wine reg query "HKLM\SYSTEM\CurrentControlSet\Control\NetworkProvider\Order\"
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\NetworkProvider\Order\ ProviderOrder REG_SZ ,MIT Kerberos --- snip ---
Even though the installation succeeds, it won't do anything useful at this point (mpr loading the provider dll). No idea what OP tries to achieve here.
$ sha1sum kfw-4.1-i386.msi 111c63893a9d9f3818d7521b17776476b18375ae kfw-4.1-i386.msi
$ du -sh kfw-4.1-i386.msi 5.7M kfw-4.1-i386.msi
$ wine --version wine-6.3-168-g31af1aeb789
Regards