https://bugs.winehq.org/show_bug.cgi?id=49491
Bug ID: 49491 Summary: Acronis Disk Director 12 does not create %PROGRAMFILES(x86)% corresponding folder Product: Wine-staging Version: 5.11 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: b1779506@trbvn.com CC: leslie_alistair@hotmail.com, z.figura12@gmail.com Distribution: ---
It creates the file: ~/.wine/drive_c/users/gamin/Desktop/Acronis Disk Director 12.desktop
But the folder specified inside the .desktop file does not exist: Path=/home/gamin/.wine/dosdevices/c:/Program Files (x86)/Acronis/DiskDirector/
URL: http://download.acronis.com/ADD12_trial_en-US.exe
wine --version wine-5.11 (Staging)
Log:
00d8:err:winediag:xrandr12_init_modes Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead. 00d8:fixme:ntdll:NtLockFile I/O completion on lock not implemented yet 00d8:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION 00ec:err:winediag:xrandr12_init_modes Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead. 0108:fixme:ntdll:NtLockFile I/O completion on lock not implemented yet 00c4:err:clipboard:convert_selection Timed out waiting for SelectionNotify event 00c4:err:clipboard:convert_selection Timed out waiting for SelectionNotify event 0108:fixme:msi:MsiGetLastErrorRecord 0108:fixme:msi:MsiGetLastErrorRecord 0108:fixme:msi:MsiGetLastErrorRecord 0108:fixme:msi:MsiGetLastErrorRecord 0180:fixme:msi:MsiGetLastErrorRecord 0180:fixme:msi:MsiGetLastErrorRecord 0180:fixme:msi:MsiGetLastErrorRecord 0180:fixme:msi:MsiGetLastErrorRecord 01a8:err:winediag:xrandr12_init_modes Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead. 01bc:fixme:nls:get_dummy_preferred_ui_language (0x4 0x105f3bc (nil) 0x105f3c0) returning a dummy value (current locale) 01bc:fixme:nls:get_dummy_preferred_ui_language (0x4 0x105f3bc 0xe2df78 0x105f3c0) returning a dummy value (current locale) 00d8:fixme:msi:ITERATE_CreateShortcuts poorly handled shortcut format, advertised shortcut 00d8:fixme:msi:ITERATE_CreateShortcuts poorly handled shortcut format, advertised shortcut 00d8:fixme:msi:ITERATE_CreateShortcuts poorly handled shortcut format, advertised shortcut 0200:err:winediag:xrandr12_init_modes Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead. 022c:fixme:service:create_serviceW Don't know how to add a password 0208:err:winediag:xrandr12_init_modes Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead. 0210:err:winediag:xrandr12_init_modes Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead. 0244:fixme:wintrust:CryptCATAdminAddCatalog NULL basename not handled 00d8:err:msi:execute_script Execution of script 0 halted; action L"[C:\users\dalvik\Temp\tmpf124.tmp<=>S-1-5-21-0-0-0-1000<=>{FE6AA38C-8A06-41FB-B94C-5431743BB0BF}]_USRCUSTACT_MsiFltSrvInstall64_fltsrv_component" returned 1603 00d8:err:msi:ITERATE_Actions Execution halted, action L"InstallFinalize" returned 1603 00d8:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 5) 00d8:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 5) 00d8:err:msi:ITERATE_Actions Execution halted, action L"ExecuteAction" returned 1603 025c:fixme:nls:get_dummy_preferred_ui_language (0x4 0x105f3bc (nil) 0x105f3c0) returning a dummy value (current locale) 025c:fixme:nls:get_dummy_preferred_ui_language (0x4 0x105f3bc 0xe336c8 0x105f3c0) returning a dummy value (current locale) 00c0:fixme:advapi:ReportEventA (0xcafe4242,0x0004,0x0000,0x00000064,(nil),0x0001,0x00000000,0xa9f8b0,(nil)): stub 00c0:fixme:advapi:ReportEventW (0xcafe4242,0x0004,0x0000,0x00000064,(nil),0x0001,0x00000000,0x6f2060,(nil)): stub 00c0:fixme:advapi:DeregisterEventSource (0xcafe4242) stub
https://bugs.winehq.org/show_bug.cgi?id=49491
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Summary|Acronis Disk Director 12 |Multiple application driver |does not create |installers fail due to |%PROGRAMFILES(x86)% |'wintrust.CryptCATAdminAddC |corresponding folder |atalog' not handling NULL | |basename (Acronis Disk | |Director 12, Sentinel HASP | |Runtime 7.x) Product|Wine-staging |Wine Ever confirmed|0 |1 CC| |focht@gmx.net Keywords| |download, Installer Component|-unknown |wintrust URL| |https://web.archive.org/web | |/20201128101607/https://www | |.hremresearch.com/Eng/downl | |oad/Sentinel_LDK_Run-time_s | |etup_7.92.zip
--- Comment #1 from Anastasius Focht focht@gmx.net --- Hello folks,
confirming. I've encountered this issue as well with Sentinel HASP v7.92 runtime/drivers install.
Moving to Wine product as this is not specific to Wine-Staging. Also refining the summary since the missing directory is not the root cause but the result of MSI rollback.
--- snip --- $ WINEDEBUG=+seh,+loaddll,+relay,+msi,+wintrust wine ./HASPUserSetup.exe
log.txt 2>&1
... 00fc:trace:msi:MsiInstallProductW L"C:\users\focht\Temp\{92005866-9A35-4F23-BF02-60C177964E80}\HASP_Setup.msi" L" SETUPEXEDIR=Z:\home\focht\Downloads\Sentinel_LDK_Run-time_setup SETUPEXENAME=HASPUserSetup.exe" ... 00fc:trace:msi:HANDLE_CustomType17 L"haspds_msi.dll.6CF3F7DF_6AED_451D_BF8F_AD216156BF2B" L"HaspdsMsiInst" ... 0138:Call KERNEL32.CreateDirectoryW(00094554 L"C:\windows\system32\catroot\{f750e6c3-38ee-11d1-85e5-00c04fc295ee}",00000000) ret=00d28d8d ... 0138:Ret KERNEL32.CreateDirectoryW() retval=00000001 ret=00d28d8d 0138:Ret wintrust.CryptCATAdminAcquireContext() retval=00000001 ret=10011fe3 0138:Call KERNEL32.GetSystemDirectoryA(0021ec50,00000104) ret=10012034 0138:Ret KERNEL32.GetSystemDirectoryA() retval=00000013 ret=10012034 ... 0138:Call wintrust.CryptCATAdminAddCatalog(00094550,0021ed60 L"C:\windows\system32\setup\aladdin\hasphl\hardlock.cat",00000000,00000000) ret=10012110 ... 0138:trace:wintrust:CryptCATAdminAddCatalog Call ntdll.memchr(0031d950,00000064,00000007) ret=003050b1 0138:Ret ntdll.memchr() retval=0031d950 ret=003050b1 0138:fixme:wintrust:CryptCATAdminAddCatalog NULL basename not handled 0138:Ret wintrust.CryptCATAdminAddCatalog() retval=00000000 ret=10012110 0138:Call KERNEL32.GetLastError() ret=1000659b 0138:Ret KERNEL32.GetLastError() retval=00000057 ret=1000659b ... 0138:Call msvcrt.vsprintf(00094794,10098b20 "Failed to install %s signature",0021eb70) ret=10001c4a ... 0120:Call user32.MessageBoxA(0005006e,015ce928 "Failed to install hardlock.cat signature\nThis is an internal error. For assistance, contact your administrator or the software manufacturer. Chybn\xfd parametr.\r\n\nStatus Code: 34 5 3113 87",015e92d8 "Sentinel HASP Run-time installation",00000040) ret=015e13c7 --- snip ---
Driver installer log file 'c:\windows\aksdrvsetup.log':
--- snip --- [28/11/2020-12:14:5]Running on Win 7 X64 ../hhlinst.c,3957, [28/11/2020-12:14:5]haspdinst 1 ver 7.92//7.92 started ../hhlinst.c,1591, [28/11/2020-12:14:5]DLL InstallPath = C:\Program Files (x86)\Common Files\Aladdin Shared\HASP\haspds_windows.dll ../hhlinst.c,1631, [28/11/2020-12:14:5]Called hhls_ExtractFiles AKSUPACK_EXTRACTED Params: hasp_windows.dll C:\users\focht\Temp\hasp_windows.dll 1 22865900 ../hhlinst.c,3625, [28/11/2020-12:14:5]Called hhls_ExtractFiles AKSUPACK_EXTRACTED Params: haspdinst_x64.exe C:\users\focht\Temp\haspdinst_x64.exe 1 22865900 ../hhlinst.c,3625, [28/11/2020-12:14:5]Called hhls_ExtractFiles AKSUPACK_EXTRACTED Params: hhl01.cab C:\users\focht\Temp\hhl01.cab 1 22865900 ../hhlinst.c,3625, [28/11/2020-12:14:5]Unpackdone ../hhlinst.c,1677, [28/11/2020-12:14:5]Running on WOW64 ../hhlinst.c,1681, [28/11/2020-12:14:6]Running on Win 7 X64 ../hhlinst.c,3957, [28/11/2020-12:14:6]haspdinst 1 ver 7.92//7.92 started ../hhlinst.c,1591, [28/11/2020-12:14:6]DLL InstallPath = C:\users\focht\Temp\haspds_windows_x64.dll ../hhlinst.c,1631, [28/11/2020-12:14:6]Called hhls_ExtractFiles AKSUPACK_EXTRACTED Params: hhl01.cab C:\users\focht\Temp\hhl01.cab 1 2225800 ../hhlinst.c,3625, [28/11/2020-12:14:6]Unpackdone ../hhlinst.c,1677, [28/11/2020-12:14:6]FileInCabinet 0pdc.txt ../hhlinst.c,3047, [28/11/2020-12:14:6]Extracted C:\users\focht\Temp\0pdc.txt ../hhlinst.c,3014, [28/11/2020-12:14:6]FileInCabinet aksclass.sys ../hhlinst.c,3047, [28/11/2020-12:14:6]FileInCabinet aksdf.sys ../hhlinst.c,3047, [28/11/2020-12:14:6]FileInCabinet aksfridge.sys ../hhlinst.c,3047, [28/11/2020-12:14:6]FileInCabinet akshasp.cat ../hhlinst.c,3047, [28/11/2020-12:14:6]FileInCabinet akshasp.inf ../hhlinst.c,3047, [28/11/2020-12:14:6]FileInCabinet akshasp.sys ../hhlinst.c,3047, [28/11/2020-12:14:6]FileInCabinet akshhl.cat ../hhlinst.c,3047, [28/11/2020-12:14:6]FileInCabinet akshhl.inf ../hhlinst.c,3047, [28/11/2020-12:14:6]FileInCabinet akshhl.sys ../hhlinst.c,3047, [28/11/2020-12:14:6]FileInCabinet akshhl32.dll ../hhlinst.c,3047, [28/11/2020-12:14:6]FileInCabinet akshhl33.dll ../hhlinst.c,3047, [28/11/2020-12:14:6]FileInCabinet akshsp53.dll ../hhlinst.c,3047, [28/11/2020-12:14:6]FileInCabinet akspccard.cat ../hhlinst.c,3047, [28/11/2020-12:14:6]FileInCabinet akspccard.inf ../hhlinst.c,3047, [28/11/2020-12:14:6]FileInCabinet akspccard.sys ../hhlinst.c,3047, [28/11/2020-12:14:6]FileInCabinet aksusb.cat ../hhlinst.c,3047, [28/11/2020-12:14:6]FileInCabinet aksusb.inf ../hhlinst.c,3047, [28/11/2020-12:14:6]FileInCabinet aksusb.sys ../hhlinst.c,3047, [28/11/2020-12:14:6]FileInCabinet aksusb5.dll ../hhlinst.c,3047, [28/11/2020-12:14:6]FileInCabinet de.13.0.alp ../hhlinst.c,3047, [28/11/2020-12:14:6]FileInCabinet es.13.0.alp ../hhlinst.c,3047, [28/11/2020-12:14:6]FileInCabinet fr.13.0.alp ../hhlinst.c,3047, [28/11/2020-12:14:6]FileInCabinet hardlock.cat ../hhlinst.c,3047, [28/11/2020-12:14:6]FileInCabinet hardlock.inf ../hhlinst.c,3047, [28/11/2020-12:14:6]FileInCabinet hardlock.sys ../hhlinst.c,3047, ... [28/11/2020-12:14:7]check action type ../hhlinst.c,2064, [28/11/2020-12:14:7]Failed to install hardlock.cat signature ../instdrv.c,3113, [28/11/2020-12:14:7]Windows error 87 ../instdrv.c,3113, [28/11/2020-12:14:7]do not write instcount err 1 34 ../hhlinst.c,2406, [28/11/2020-12:14:7]end actual install ../hhlinst.c,2482, [28/11/2020-12:14:7]Install returned 1 34 ../hhlinst.c,1782, --- snip ---
Wine source:
https://source.winehq.org/git/wine.git/blob/cbca9f847f60773b4e7e5408f6a079f4...
--- snip --- 159 /*********************************************************************** 160 * CryptCATAdminAddCatalog (WINTRUST.@) 161 */ 162 HCATINFO WINAPI CryptCATAdminAddCatalog(HCATADMIN catAdmin, PWSTR catalogFile, 163 PWSTR selectBaseName, DWORD flags) 164 { 165 static const WCHAR slashW[] = {'\',0}; 166 struct catadmin *ca = catAdmin; 167 struct catinfo *ci; 168 WCHAR *target; 169 DWORD len; 170 171 TRACE("%p %s %s %d\n", catAdmin, debugstr_w(catalogFile), 172 debugstr_w(selectBaseName), flags); 173 174 if (!selectBaseName) 175 { 176 FIXME("NULL basename not handled\n"); 177 SetLastError(ERROR_INVALID_PARAMETER); 178 return NULL; 179 } ... --- snip ---
Microsoft docs:
https://docs.microsoft.com/en-us/windows/win32/api/mscat/nf-mscat-cryptcatad...
--- quote --- pwszSelectBaseName
A pointer to a null-terminated string for the name of the catalog when it is stored. If the parameter is NULL, then a unique name will be generated for the catalog. --- quote ---
$ sha1sum Sentinel_LDK_Run-time_setup_7.92.zip 385da24130ec8bf30112bff212b261632083885b Sentinel_LDK_Run-time_setup_7.92.zip
$ du -sh Sentinel_LDK_Run-time_setup_7.92.zip 18M Sentinel_LDK_Run-time_setup_7.92.zip
$ wine --version wine-5.22-195-gcbca9f847f6
Regards
https://bugs.winehq.org/show_bug.cgi?id=49491
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Multiple application driver |Multiple application driver |installers fail due to |installers fail due to |'wintrust.CryptCATAdminAddC |'wintrust.CryptCATAdminAddC |atalog' not handling NULL |atalog' not handling NULL |basename (Acronis Disk |basename (Acronis Disk |Director 12, Sentinel HASP |Director 12, Sentinel HASP |Runtime 7.x) |Runtime 7.92)
--- Comment #2 from Anastasius Focht focht@gmx.net --- Hello folks,
it seems every release of Sentinel HASP Runtime 7.x exhibits different problems.
Sentinel runtime v7.81 doesn't run into this specific installer problem. Instead it runs into bug 50201, hence making the version reference more exact.
http://www.dynagram.com/WebSite/utilities.asp?solution=dynastrip
https://web.archive.org/web/20201128120202/http://www.dynagram.com/x_fichier...
Regards
https://bugs.winehq.org/show_bug.cgi?id=49491
Alex Henrie alexhenrie24@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |alexhenrie24@gmail.com
--- Comment #3 from Alex Henrie alexhenrie24@gmail.com --- SmarterTrack 7.09 also needs this. During setup, an error dialog appears which says:
Sentinel Run-time Environment Installer v. 8.11
Failed to install hardlock.cat signature This is an internal error. For assistance, contact your administrator or the software manufacturer. Chybný parametr
Status Code: 34 5 3142 87
Google Translate says that "Chybný parametr" is Czech for "Bad parameter". And Wine prints the same message "fixme:wintrust:CryptCATAdminAddCatalog NULL basename not handled" to the console. Setup then aborts without installing anything at all.
With WINEDEBUG=+msi, I found that the error message comes from the bundled executable haspdinst.exe. When haspdinst.exe is run without any arguments, it reports itself to be "Sentinel Run-time Environment Installer v. 8.11"
Download: https://digitalyachtamerica.com/download/smartertrackfullsetup_latest-zip/
$ sha256sum SmarterTrackSetup.msi d12b441ac0a251a59064376de35dc8e8fbf7dbffddd2e714404b52f84f8ecfd8