https://bugs.winehq.org/show_bug.cgi?id=44630
Bug ID: 44630 Summary: SafeNet Sentinel driver not installing properly Product: Wine Version: 3.2 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: mcondarelli@soft-in.com Distribution: ---
I'm trying to use a win development environment (GHS Multi) under Linux. Installation is ok and program starts, but I am unable to setup the license server (SafeNet Sentinel).
Automatic installation of dongle driver gives a cryptic "File not found" error.
I relaunched with "WINEDEBUG=+all", but that resulted in a 7G+ log file I have no idea how to analyze.
I need some help, please. I am available to perform any test needed.
Host is an up-to-date Debian9 x86_64 installation. I installed Wine from WineHQ via "deb https://dl.winehq.org/wine-builds/debian/ stretch main" and "apt install winehq-devel".
https://bugs.winehq.org/show_bug.cgi?id=44630
--- Comment #1 from Mauro Condarelli mcondarelli@soft-in.com --- Created attachment 60644 --> https://bugs.winehq.org/attachment.cgi?id=60644 log of (failed) Installation
This is default log of command: WINEPREFIX=~/.wine /usr/bin/wine Sentinel\ Protection\ Installer\ 7.6.3.exe
I (currently) have no idea which debug options might be useful I will try with full logging enabled.
https://bugs.winehq.org/show_bug.cgi?id=44630
--- Comment #2 from Mauro Condarelli mcondarelli@soft-in.com --- Created attachment 60645 --> https://bugs.winehq.org/attachment.cgi?id=60645 Partial log containing the failing section.
Apparently installation fails because
421247.959:002f:0088:trace:file:wine_nt_to_unix_file_name L"\ghs\multi_714\safenet\windows\SentinelDriverInstallSupport.exe" not found in /home/mcon/.wine/dosdevices/c:/ghs/multi_714/safenet/windows
Which is correct because file it's not there; installation already accessed that same file multiple times in a different location:
420822.892:002f:0030:trace:msidb:MSI_RecordSetStringW 0x3bd598 3 L"C:\Program Files (x86)\Common Files\SafeNet Sentinel\Sentinel System Driver\SentinelDriverInstallSupport.exe"
I will attach a relevant(??) portion of log (full log is over 500M, so I will refrain from uploading the behemoth unless explicitly requested.)
https://bugs.winehq.org/show_bug.cgi?id=44630
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, hardware, | |Installer CC| |focht@gmx.net URL| |https://supportportal.gemal | |to.com/csm/?id=kb_article&s | |ys_id=f4f769ae37950f44cc472 | |61953990e44
--- Comment #3 from Anastasius Focht focht@gmx.net --- Hello folks,
installer doesn't report error for me.
It claims "success" in clean 64-bit WINEPREFIX ('Windows 7' setting), although it doesn't mean that everything was installed. In fact there are several Wine insufficiencies that prevent proper SafeNet Sentinel HardwareKey USB driver installation.
--- snip --- $ ls -1sh drive_c/Program\ Files\ (x86)/Common\ Files/SafeNet\ Sentinel/Sentinel\ System\ Driver/ total 1.2M 508K DIFxAPI.dll 64K DrvInstLauncher.exe 4.0K DrvInstLauncher.exe.manifest 44K sentinel.chm 76K SentinelDriverInstallSupport.exe 348K SetupSysDriver.exe 4.0K SetupSysDriver.exe.manifest 48K snti386.dll 12K sntusb64.cat 4.0K SNTUSB64.INF 72K sntusb64.sys 4.0K sysdriver.guid --- snip ---
SNTUSB64.INF:
--- snip --- ; SafeNet Sentinel SuperPro/UltraPro/HardwareKey USB driver INF file ; ; Copyright (C) 2012 SafeNet, Inc., All rights reserved.
[Version] Signature="$CHICAGO$" Class=USB ClassGuid={36fc9e60-c465-11cf-8056-444553540000} CatalogFile=sntusb64.cat provider=%SafeNet% DriverVer=07/24/2017, 7.6.0.0
[Manufacturer] %SafeNet%=SafeNet,NTamd64
[SafeNet.NTamd64] %USB\VID_04B9&PID_0300.DeviceDesc%=SNTUSB64, USB\VID_04B9&PID_0300 %USB\VID_04B9&PID_0301.DeviceDesc%=SNTUSB64, USB\VID_04B9&PID_0301 %USB\VID_04B9&PID_0302.DeviceDesc%=SNTUSB64, USB\VID_04B9&PID_0302 %USB\VID_04B9&PID_0303.DeviceDesc%=SNTUSB64, USB\VID_04B9&PID_0303 %USB\VID_04B9&PID_0304.DeviceDesc%=SNTUSB64, USB\VID_04B9&PID_0304 %USB\VID_04B9&PID_8000.DeviceDesc%=SNTUSB64, USB\VID_04B9&PID_8000 %USB\VID_04B9&PID_8001.DeviceDesc%=SNTUSB64, USB\VID_04B9&PID_8001 %USB\VID_04B9&PID_8002.DeviceDesc%=SNTUSB64, USB\VID_04B9&PID_8002 %USB\VID_04B9&PID_8003.DeviceDesc%=SNTUSB64, USB\VID_04B9&PID_8003 %USB\VID_04B9&PID_8004.DeviceDesc%=SNTUSB64, USB\VID_04B9&PID_8004 %USB\VID_04B9&PID_8005.DeviceDesc%=SNTUSB64, USB\VID_04B9&PID_8005
[SourceDisksNames] 1=%DiskName%,,,
[SourceDisksFiles] SNTUSB64.SYS=1,,
[ControlFlags] ; All PnP devices should be excluded from manual AddDevice Applet list ExcludeFromSelect = USB\VID_04B9&PID_0300
[DestinationDirs] DefaultDestDir = 12 SNTUSB64.SysCopy = 10,System32\Drivers
[SNTUSB64.NTAMD64] CopyFiles=SNTUSB64.SysCopy
[SNTUSB64.SysCopy] SNTUSB64.SYS
[SNTUSB64.NTAMD64.Services] Addservice = SNTUSB64, 0x00000002, SNTUSB64.AddService
[SNTUSB64.AddService] DisplayName = %SNTUSB64.SvcDesc% ServiceType = 1 ; SERVICE_KERNEL_DRIVER StartType = 3 ; SERVICE_DEMAND_START ErrorControl = 1 ; SERVICE_ERROR_NORMAL ServiceBinary = %12%\SNTUSB64.SYS AddReg = SNTNLUSB.AddReg.NTAMD64 LoadOrderGroup = Base
[SNTNLUSB.AddReg.NTAMD64] HKR,"Setup","UsbSupport",0x10001,1 HKR,"Current","VersionString",,"SSD7.6.0"
[Strings] SafeNet="SafeNet, Inc." DisplayClassName="Software Security Token" USB\VID_04B9&PID_0300.DeviceDesc="SafeNet USB SuperPro/UltraPro" USB\VID_04B9&PID_0301.DeviceDesc="SafeNet USB Security Token" USB\VID_04B9&PID_0302.DeviceDesc="SafeNet USB Security Token" USB\VID_04B9&PID_0303.DeviceDesc="SafeNet USB Security Token" USB\VID_04B9&PID_0304.DeviceDesc="SafeNet USB Security Token" USB\VID_04B9&PID_8000.DeviceDesc="SafeNet Sentinel Hardware Key" USB\VID_04B9&PID_8001.DeviceDesc="SafeNet Sentinel Hardware Key RTC" USB\VID_04B9&PID_8002.DeviceDesc="SafeNet Sentinel Hardware Key Mega-Memory" USB\VID_04B9&PID_8003.DeviceDesc="SafeNet Sentinel Hardware Key Mega-Memory RTC" USB\VID_04B9&PID_8004.DeviceDesc="SafeNet Sentinel Dual Hardware Key" USB\VID_04B9&PID_8005.DeviceDesc="SafeNet Sentinel Dual Hardware Key RTC"
SNTUSB64.SvcDesc="SafeNet USB SuperPro/UltraPro/HardwareKey" DiskName="Sentinel System Driver Installation Disk"
--- snip ---
This is not going to work. Vanilla Wine can't handle Hasp/Sentinel/Hardlock USB dongles, this has already been known/documented for many years.
There was a project several years ago with patches from Alexander Morozov (Etersoft) that used libusb to get some dongle types recognized. These were way too hacky and never made it into upstream.
Regards
https://bugs.winehq.org/show_bug.cgi?id=44630
--- Comment #4 from Anastasius Focht focht@gmx.net --- Hello again,
my test environment:
* clean 64-bit WINEPREFIX, default 'Windows 7' setting.
$ sha1sum Sentinel_Protection_Installer_7.6.9.zip 9f365a42278aa476d6951f872d84fade93239493 Sentinel_Protection_Installer_7.6.9.zip
$ du -sh Sentinel_Protection_Installer_7.6.9.zip 5.7M Sentinel_Protection_Installer_7.6.9.zip
$ wine --version wine-3.3
Regards