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.
3. After downloading and installing DoneEx Installer Maker for free, start it. Then, press on the add file button.
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.
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.
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.





