# HASP4 Driver Command-line Installer: Readme

The list below includes new HASP Device Driver features, improvements, issues addressed, and other relevant information.

Note:

- The installer detects the version of the operating system at run-time, before installing the relevant drivers.

### Upgrade Note

When upgrading the driver, ensure that no running service is using the driver. Although the installation program terminates applications that are accessing the driver, it does not terminate running services. For example, if the HASP License Manager is running as a service, you must stop the service before upgrading the driver.

## Installing HASP4 Drivers

To use HASP4 under Windows x64 and x86, you must first install the support drivers.
`HINSTALL.EXE` is a command-line utility that can be used to install and uninstall HASP4 drivers. The installation utility only updates the driver files if they contain an older driver version. To install HASP4 drivers using `HINSTALL.EXE`, `haspds_windows.dll` and `hdinst_windows.dll` must be available in the same directory as the installer. The driver files are included in the installation program itself, so it is not necessary to separately distribute the driver files.
Use the `HLDINST -i` command to install the drivers.`HLDINST` takes the driver files from the image and copies the files to the appropriate system directories before launching the HASP4 service. You can execute protected programs after the drivers are installed and running.
To remove the HASP4 service from your system, ensure that no application using the HASP4 driver is running, then use the `HLDINST -r` command. `HLDINST` stops the HASP4 service, and removes the registry entries related to the HASP4 driver.

## Version 4.102.5.22 (December 2006)

### Enhancements

- Support for Windows Vista x86 and x64 operating systems.
- Win32 HASP Envelope-protected applications that use DataHASP or overlays can now run on Win x64 operating systems.
- Includes MS-signed drivers for all operating systems.

Note:

By default, the Vista operating system displays a User Account Control message during the installation. The user must click Continue to continue driver installation. Alternatively, the user can change the default setting from the Control Panel of their Vista operating system.

### Limitations

- To run Win32 HASP Envelope-protected applications that use DataHASP or overlays on Windows x64 operating systems, you must install the drivers using a HASP installer utility. Drivers installed using Windows Update do not enable DataHASP and overlay functionality for these applications.
- When using Win32 HASP Envelope-protected applications using DataHASP or overlays that run on Windows x64 operating systems, to prevent possible data loss you must unmap any memory-mapped files prior to closing the application.
- Vista is supported by applications protected using the following products. If you are using older API or Envelope versions than those described below, you must re-link your application to the latest API library and/or re-protect it using the latest Envelope.

  Product | Version
  HASP4 API | 8.01 and later
  HASP4 Envelope | 12.10 and later

### Known Issues

- Ref # 5116: When using DataHASP protection on an x64 operating system, and using an anti-virus application, data may be lost.

Copyright:
© Aladdin Knowledge Systems 1985–present. All rights reserved.