When attempting to install a Windows Driver (hasp95.exe) for my application, I get the following error;

Failed to write the HASP value in the Dos Devices key in the Database Registry.
Failed to open the registry.
0x200200a 0x10001


Wine handles the rest of the installation fine, and the application works up to the point when it looks for the parallel port hasp device.

Is there not a way that the registry could be manually written with the appropriate values?