(Temporarily Internal) Installing the latest HASP driver (Windows)
Anonym
Topic:
An incorrectly installed HASP device driver can produce license error messages. The HASP device driver is a piece a software that communicates between IDL/ENVI and the hardware key attached to the parellel port or USB port. If an IDL-based product produces an HASP licensing error message, the HASP driver may need to be re-installed or updated.
(Note: HASP licensing is not available for IDL after IDL v5.5. HASP licensing continues to be available for ENVI.)Discussion:
IMPORTANT NOTES
- Windows users MUST be logged in with administrative privileges to complete the HASP device driver update procedure.
- Also note that the steps below involving the "hinstall" command can appear to hang your system. However, this is not usually the case. The command may take several minutes to complete, and it is important to allow each command to run to completion. You will be prompted when the command is done.
- Please be aware that there may be multiple files unpacked from the download package, for example,:
'hinstall.exe' and 'haspds_windows.dll'
When installing be sure to extract all zipped files to your target directory.
|
Installing the HASP device driver:
- Download the latest "HASP Device Driver Command Line Installer package" (HASP4_driver_cmdline.zip) from the Aladdin website.
- After you download this installer file from the Aladdin website, decompress/unpackage the installer files with a decompression utility (such as WinZip or PKUnzip) and save the decompressed files to a convenient location. The typical RSI installation directory is (for IDL 6.2) C:\RSI\IDL62\bin\bin.x86\.
- From the Windows Start Menu, click on Start->Run.
- In the "Open" field of the "Run" dialog, type the explicit path to the 'hinstall.exe' file and add the /kp switch. The '/kp' switch will stop processes that are currently accessing the current hasp driver device. For example, if the file was saved in the typical IDL 6.2 installation directory, type:
C:\RSI\IDL62\bin\bin.x86\hinstall.exe /kp
- Again, in the "Open" field of another "Run" dialog, type the explicit path to the 'hinstall.exe file', but use the /r switch. This will remove the existing version of the HASP device driver. For example, if the file was saved in C:\RSI, type:
C:\RSI\IDL62\bin\bin.x86\hinstall.exe /r
- A confirmation dialog should appear saying that the HASP device driver was successfully removed. (It may also indicate that the machine needs to be rebooted. The machine does not need to be rebooted at this point.)
- Open the Start->Run dialog again and issue the "hinstall" command, this time with the /i switch, to install the new HASP driver. For example:
C:\RSI\IDL62\bin\bin.x86\hinstall.exe /i
- Another confirmation dialog will appear reporting that the HASP device driver was successfully installed. On some systems, you will be prompted to reboot your machine. If your installation uses an RSI product parallel port hardware key (HASP), the HASP should be attached to the parallel port before the machine is rebooted.
- After rebooting (if necessary), confirm then that a recent version of the HASP driver (4.96 or greater) is installed on the machine by entering in the Start->Run dialog the command:
C:\RSI\IDL62\bin\bin.x86\hinstall.exe /info
- If necessary, re-enter your licensing information into the RSI licensing utility.
Finally, launch your ENVI (or IDL) session. If the application still indicates that the license information is incorrect, please contact RSI technical support (support@ittvis.com) or your regional RSI office or distributor.Solution:
[Edit this field in the IDL-based Tech Tip Editor, v62]