Updating your HASP Key with the CUSTOMER Utility 1. Connect the HASP key to the computer. 2. From the DOS command line type: customer 3. Click on the Get ID button in order to retrieve and inform the vendor of your HASP ID Number and HASP Type. Alternatively, you can save these two parameters to a file and send it to the vendor. To do this, click on the Save button and enter a name of a file. Once the vendor knows your HASP ID Number and HASP Type, he can generate and supply you with RUS-passwords that will update your HASP key. 4. In accordance with the method used by the vendor to supply the RUS-passwords (up to 11 passwords), you can enter them in the CUSTOMER utility in one of the following modes:  Manually, by clicking on the Manual button. In this case enter the passwords one by one in the pop-up window.  Automatically, by loading them from a configuration file supplied by the vendor. This is done by clicking on the Config button and specifying the name of the configuration file containing the RUS-passwords. The RUS- passwords will then be displayed in a pop-up window. 5. Once the RUS-passwords have been entered click on the Update button to update the memory of the HASP key. Activating CUSTOMER with Command Line Switches Using DOS command line switches can save you time and keystrokes. Switches also enable you to execute CUSTOMER from batch files, without going through the utility screens. To perform this, activate CUSTOMER.EXE using command line switches to specify its parameters. The following list describes these switches. Note that you can use the full string of a switch, or its brief notation represented by the uppercase characters contained within the string. (For example, enter GI to specify the GetId switch.) -Help Displays a list of all the switches with a brief explanation of each one. -GetId Display the HASP ID Number. -VenFile Name of a file to which the HASP ID Number will be saved. This switch should be used in conjunction with the -BatcH switch, otherwise it will not take effect. -UPdate .. The RUS-passwords (up to 11 passwords). -CfgFile Name of the configuration file containing the RUS-passwords. -BatcH Run CUSTOMER in batch mode without entering the utility screens. -NoBatch Disable batch mode (for instance when loading the RUS-passwords from a configuration file). Examples customer -b -cf ruspass.txt In this example, CUSTOMER is activated in batch mode without entering the utility screen. The HASP key will be updated by retrieving the RUS- passwords from a configuration file named ruspass.txt, previously generated by the VENDOR utility. customer -cf ruspass.txt -nb In this example CUSTOMER is activated to enter the Update HASP Key screen, with the RUS-passwords fields receiving their values from a configuration file named ruspass.txt, previously generated by the VENDOR utility. CUSTOMER Error Codes The following DOS error level codes are returned from the CUSTOMER utility: 1, 2 - Invalid/missing RUS-passwords 4 - Missing configuration file name 6 - Error opening configuration file 7 - Not a legal configuration file 8 - Out of memory reading configuration file 12 - Wrong HASP key is connected 13 - Impossible to generate file without ID Number 14 - Missing filename for saving the ID Number 18 - Error opening/creating file for saving ID Number 19 - Invalid switch 101 - HASP key not found 104 - Wrong HASP ID Number 106 - Invalid start address 107 - Too many data words 108 - Wrong input of RUS-passwords 109 - Error reading from HASP memory