Windows Registry


In Visual PRO/5 2.0, the Windows Registry can be used to store multiple user preferences. This makes it easier for more than one person to use a single copy of Visual PRO/5 because it eliminates the need to store user preference information in the pro5.ini file, which is used in VPRO/5 1.x. The registry (HKCU/Software/BASIS and subkeys) is used for VPRO/5 2.x and above.

Registry Usage by Visual PRO/5

The following identify Registry usage by Visual PRO/5:

When invoked via actw.exe-w, the Registry is used to initialize the activation dialog, allowing the activation information to be modified.

Using an InstallShield Script with the Registry

If an InstallShield script is used to install Visual PRO/5, do the following:

  1. The install script should create the following information in the registry keys contained in [HKEY_LOCAL_MACHINE]software\basis\vpro5\2.0:

    Registry Key

    Description of Input

    Data Type

    LOCATION

    Visual PRO/5 installation directory.

    REG_SZ

    KEY

    User key information.

    REG_SZ

    SERNUM

    Serial number (also taken from the user when the install starts).

    REG_SZ

    INSTALLED

    Application installation status. A setting of 00 00 00 00 indicates that the application is not installed and that actw.exe can be called. A setting of 01 00 00 00 indicates that the application is already installed, preventing actw.exe from being called.

    REG_BINARY

  2. Once the application is installed, call actw.exe to activate Visual PRO/5.

  3. The install program should be set to call vpro5.exe-reg to initialize the Registry for Visual PRO/ 5 users.

Unless a valid activation key and serial number can be provided, the Registry will not install a vpro5.exe file in the LOCATION-specified directory.