https://bugs.winehq.org/show_bug.cgi?id=56319
Bug ID: 56319 Summary: Parallel Port Tester won't start (fails to locate driver "System32\Drivers\inpoutx64.sys", but changing to absolute path works) Product: Wine Version: 9.2 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: alexhenrie24@gmail.com Distribution: ---
Steps to reproduce:
1. Run `wine ParallelPortTesterSetup-1.0.0.2.exe`
2. Run `wine 'C:\Program Files (x86)\Parallel Port Tester\ParallelPortTester.exe'`
During installation, the following message appears in the terminal:
0174:err:ntoskrnl:ZwLoadDriver failed to create driver L"\Registry\Machine\System\CurrentControlSet\Services\inpoutx64": c0000142
And an error dialog pops up that says "Failed to install InpOut32 driver." After closing the pop-up, the installation appears to finish successfully.
When running the application, a similar message appears in the terminal:
0054:err:ntoskrnl:ZwLoadDriver failed to create driver L"\Registry\Machine\System\CurrentControlSet\Services\inpoutx64": c0000142
And an error dialog pops up that says "Inpout32.dll was found, but the driver is not installed." Then the application closes.
The registry value HKLM\System\CurrentControlSet\Services\inpoutx64\ImagePath is "System32\Drivers\inpoutx64.sys" on both Windows and Wine. If I change it to "C:\Windows\System32\Drivers\inpoutx64.sys" on Wine, the application starts without error. So this seems to be a problem with locating the driver, not a problem with the driver itself.
$ sha256sum ParallelPortTesterSetup-1.0.0.2.exe 9e9b399dd92ac48433af2061eb8491d1d68a6134eaeab2efcdcd36361e723d09