VbaCompiler

  • VBA Compiler
    • Features by licenses
    • How to compile
    • Compiler options
    • Backend C Compiler
    • Excel VBA copy protection
    • Create trial / demo version
    • Protect Excel workbook template
    • Runtime API Functions
    • Custom Run-Time Messages
    • VBA command line compilation
    • Compile Time Troubleshooting
    • Workbook Run-Time Troubleshooting
    • Distribute Workbook
    • EULA
    • Privacy Policy
  • Best way to protect VBA code
  • VBA Speed Up
    • VBA Benchmarks
    • Optimize VBA code
  • Frequent Questions
  • Download
  • Order
  • Contact us

Creating An Installer For Your Registration Key

For the pinnacle of protection of your VBA code application, you can compile your workbook with registration key copy protection. Once you have successfully compiled your application with regkey copy protection, you must provide the appropriate key to that application’s user. Creating an installer for the key that you have generated for your compiled application is an easy and simple way to deliver that key to your client. This process can be done easily and efficiently by using the free DoneEx Installer Maker. The following tutorial will guide you through creating a registration key as well as the installer creation process for the registration key.

Step By Step Guide for Creating a Registration Key Installer

1. Compile your workbook with VBA code in VBA Compiler, with care to the following highlighted options.

As in the screenshot, take note that the “Copy protection with regkey” and “Hardware locking” check-boxes are on. This will ensure that the compiled application will be copy protected with a regkey and will be locked to the user’s hardware. Also make sure that the Regkey alternative path is set to <?DOCUMENTS?>. This will make the application search for the registration key in the user’s Documents folder. You can also add in sub folders to this tag.

 

2. Generate a registration key for DLL file for your compiled application using the registration key tool.

VBA Compiler with the registration key tool button highlighted

registration key tool

 

3. After downloading and installing DoneEx Installer Maker for free, start it. Then, press on the add file button.

Installer Maker with add file button highlighted

 

4. Put in the location of your generated registration key file into the “Source file” field. In fact, you can type or paste the location into the field, or use the “Browse” button to bring up a dialog window which you can use to locate it. Most importantly, however, make sure that the “Destination directory” is set to “${MYDOCUMENTS}”. Be sure to add any subfolders to the “${MYDOCUMENTS}” that you have added in the compilation step to the <?DOCUMENTS?> tag in VBA Compiler. Then, press OK.

registration key file included in the installer maker with destination set

5. Also fill out the necessary fields to continue to the next page.

6. On the second page of the Installer Maker, make sure to fill out the Main directory as “${MYDOCUMENTS}” or any of its subfolders, as well as the Installer Name and Installer Location fields.

Second page of the DoneEx Installer Maker for the installer for registration key guide, with the main directory, installer name, and installer location set

 

7. Finish the generation process by clicking on the “Generate” button on the last page of Installer Maker.

Conclusion

Congratulations! You can henceforth provide the registration key file to your customer with just this installer. This installer places the key file in the customer’s documents folder at the click of a button.

  • VBA Compiler
    • Features by licenses
    • How to compile
    • Compiler options
    • Backend C Compiler
    • Excel VBA copy protection
    • Create trial / demo version
    • Protect Excel workbook template
    • Runtime API Functions
    • Custom Run-Time Messages
    • VBA command line compilation
    • Compile Time Troubleshooting
    • Workbook Run-Time Troubleshooting
    • Distribute Workbook
    • EULA
    • Privacy Policy
  • Best way to protect VBA code
  • VBA Speed Up
    • VBA Benchmarks
    • Optimize VBA code
  • Frequent Questions
  • Download
  • Order
  • Contact us
Copyright 2005-2025 © DoneEx LLC. All Rights Reserved.