http://bugs.winehq.org/show_bug.cgi?id=33896
Bug #: 33896 Summary: Can't install CryptoPro CSP with Rutoken support Product: Wine Version: unspecified Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: mikhail.v.gavrilov@gmail.com Classification: Unclassified
Can't install CryptoPro CSP with Rutoken support
http://bugs.winehq.org/show_bug.cgi?id=33896
Mikhail mikhail.v.gavrilov@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |1.6-rc2
http://bugs.winehq.org/show_bug.cgi?id=33896
--- Comment #1 from Mikhail mikhail.v.gavrilov@gmail.com 2013-06-26 16:32:40 CDT --- [mikhail@www-mgavrilov-ru ~]$ wine Downloads/CPCSP36RT.Rus.v.1.05.03.0052.exe fixme:storage:create_storagefile Storage share mode not implemented. fixme:apphelp:ApphelpCheckInstallShieldPackage stub: 0x32b150 L"C:\users\mikhail\Temp\{A05D9245-324B-4A64-A8E3-491122A58EFD}\CPCSP36RT.Rus.msi" fixme:ole:RemUnknown_QueryInterface No interface for iid {00000019-0000-0000-c000-000000000046} fixme:ole:RemUnknown_QueryInterface No interface for iid {00000019-0000-0000-c000-000000000046} err:ole:ClientRpcChannelBuffer_SendReceive called from wrong apartment, should have been 0x80000002b fixme:storage:create_storagefile Storage share mode not implemented. err:msi:ITERATE_Actions Execution halted, action L"Start_SCardSvr_Service" returned 1603 err:msi:ITERATE_Actions Execution halted, action L"ExecuteAction" returned 1603 err:ole:dispatch_rpc no apartment found for ipid {ffffffff-ffff-ffff-2900-000008000000} err:rpc:I_RpcReceive we got fault packet with status 0x80010108 err:ole:dispatch_rpc no apartment found for ipid {ffffffff-ffff-ffff-2900-000008000000} err:rpc:I_RpcReceive we got fault packet with status 0x80010108 err:ole:dispatch_rpc no apartment found for ipid {ffffffff-ffff-ffff-2900-000008000000} err:rpc:I_RpcReceive we got fault packet with status 0x80010108 err:ole:dispatch_rpc no apartment found for ipid {ffffffff-ffff-ffff-2900-000008000000} err:rpc:I_RpcReceive we got fault packet with status 0x80010108 err:ole:dispatch_rpc no apartment found for ipid {ffffffff-ffff-ffff-2900-000008000000} err:rpc:I_RpcReceive we got fault packet with status 0x80010108
[mikhail@www-mgavrilov-ru ~]$
http://bugs.winehq.org/show_bug.cgi?id=33896
Mikhail mikhail.v.gavrilov@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://docs.google.com/fil | |e/d/0B0nwzlfiB4aQZ256bDI0cH | |U0OW8/edit?usp=sharing
http://bugs.winehq.org/show_bug.cgi?id=33896
--- Comment #2 from Mikhail mikhail.v.gavrilov@gmail.com 2013-06-26 16:35:52 CDT --- Created attachment 44993 --> http://bugs.winehq.org/attachment.cgi?id=44993 screenshot
http://bugs.winehq.org/show_bug.cgi?id=33896
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |Installer URL|https://docs.google.com/fil | |e/d/0B0nwzlfiB4aQZ256bDI0cH | |U0OW8/edit?usp=sharing |
--- Comment #3 from Austin English austinenglish@gmail.com 2013-06-26 17:12:21 CDT --- Is there a public demo/download available?
Please _attach_ a log with WINEDEBUG=msi,service,relay,tid
http://bugs.winehq.org/show_bug.cgi?id=33896
--- Comment #4 from Mikhail mikhail.v.gavrilov@gmail.com 2013-06-26 17:46:57 CDT --- Wine log https://docs.google.com/file/d/0B0nwzlfiB4aQMU1BcHR6TWx3YW8/edit?usp=sharing
I can't attach it here because it have 3Mb in compressed size.
http://bugs.winehq.org/show_bug.cgi?id=33896
--- Comment #5 from Mikhail mikhail.v.gavrilov@gmail.com 2013-07-06 23:49:28 CDT --- (In reply to comment #3)
Is there a public demo/download available?
No
Because I upload this to Google Drive https://docs.google.com/file/d/0B0nwzlfiB4aQZ256bDI0cHU0OW8/edit?usp=sharing
https://bugs.winehq.org/show_bug.cgi?id=33896
--- Comment #6 from Austin English austinenglish@gmail.com --- This is your friendly reminder that there has been no bug activity for over a year. Is this still an issue in current (1.7.37 or newer) wine? If so, please attach the terminal output in 1.7.37 (see http://wiki.winehq.org/FAQ#get_log).
https://bugs.winehq.org/show_bug.cgi?id=33896
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #7 from super_man@post.com --- I am not even trying to guess why it doesnt work, but it doesn with wine 1.7.53. You can see the installer gui but it fails at somepoint very early.
https://bugs.winehq.org/show_bug.cgi?id=33896
--- Comment #8 from super_man@post.com --- It could be that it doesnt like the 1st line here.
fixme:winscard:SCardEstablishContext (2,(nil),(nil),0xb3e6d4) stub
err:msi:ITERATE_Actions Execution halted, action L"Register_Rutoken_Smart_Card_Win32" returned 1603 err:msi:ITERATE_Actions Execution halted, action L"ExecuteAction" returned 1603
wine-staging 1.9.13
https://bugs.winehq.org/show_bug.cgi?id=33896
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Can't install CryptoPro CSP |Can't install CryptoPro CSP |with Rutoken support |with Rutoken support | |(requires smart card API) Component|-unknown |winscard
https://bugs.winehq.org/show_bug.cgi?id=33896
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Can't install CryptoPro CSP |CryptoPro CSP 3.6 with |with Rutoken support |Rutoken support installer |(requires smart card API) |needs Smart Cards for | |Windows Service 'SCardSvr' Ever confirmed|0 |1 Status|UNCONFIRMED |NEW Keywords| |download CC| |focht@gmx.net
--- Comment #9 from Anastasius Focht focht@gmx.net --- Hello folks,
confirming. It's actually the missing Smart Cards for Windows Service causing the Rutoken drivers sub-installer to fail.
--- snip --- $ WINEDEBUG=+seh,+relay,+msi,+winscard wine ./CPCSP36RT.Rus.v.1.05.03.0052.exe
log3.txt 2>&1
... 0051:trace:msi:ACTION_CustomAction Handling custom action L"Start_SCardSvr_Service" (c01 L"NewBinary22" L"RTDRVSUP_Start_SCardSvr_Service") ... 0051:trace:msi:HANDLE_CustomType1 Calling function L"RTDRVSUP_Start_SCardSvr_Service" from L"C:\users\focht\Temp\msi34e1.tmp" ... 0062:Ret KERNEL32.LoadLibraryW() retval=180000000 ret=7fbc6dbeacc4 0062:Call KERNEL32.GetProcAddress(180000000,00085bb0 "RTDRVSUP_Start_SCardSvr_Service") ret=7fbc6dbeadac 0062:Ret KERNEL32.GetProcAddress() retval=18001b2a0 ret=7fbc6dbeadac 0062:trace:msi:alloc_msi_remote_handle 1 -> 1 0062:trace:msi:__wine_msi_call_dll_function calling "RTDRVSUP_Start_SCardSvr_Service" ... 0062:Call advapi32.OpenServiceW(000889e0,180023690 L"SCardSvr",00000017) ret=180006fd1 ... 0062:Ret advapi32.OpenServiceW() retval=00000000 ret=180006fd1 0062:Call KERNEL32.GetLastError() ret=180007008 0062:Ret KERNEL32.GetLastError() retval=00000424 ret=180007008 ... 0059:Call user32.MessageBoxW(00000000,009a86c0 L"Error. Function caller: RTSC_Start_Service. Called function: OpenService. Error code: 1060 : Service does not exist.\r\n",7e9ad140 L"Windows Installer",00000030) ret=7e949b88 ... 0051:err:msi:execute_script Execution of script 0 halted; action L"Start_SCardSvr_Service" returned 1603 --- snip ---
Microsoft docs:
https://docs.microsoft.com/en-us/windows/security/identity-protection/smart-...
--- quote --- ...
The Smart Cards for Windows service runs in the context of a local service, and it is implemented as a shared service of the services host (svchost) process.
... By default, the service is configured for manual mode. Creators of smart card reader drivers must configure their INFs so that they start the service automatically and winscard.dll files call a predefined entry point to start the service during installation. The entry point is defined as part of the SmartCardReader class, and it is not called directly. If a device advertises itself as part of this class, the entry point is automatically invoked to start the service when the device is inserted. Using this method ensures that the service is enabled when it is needed, but it is also disabled for users who do not use smart cards.
When the service is started, it performs several functions:
* It registers itself for service notifications. * It registers itself for Plug and Play (PnP) notifications related to device removal and additions. * It initializes its data cache and a global event that signals that the service has started. --- quote ---
$ sha1sum CPCSP36RT.Rus.v.1.05.03.0052.exe 07a924739ea2822d218a44c0f1026afea7511b70 CPCSP36RT.Rus.v.1.05.03.0052.exe
$ du -sh CPCSP36RT.Rus.v.1.05.03.0052.exe 20M CPCSP36RT.Rus.v.1.05.03.0052.exe
$ wine --version wine-3.16-149-gb1a3b9e5ce
Regards