License Validation

Home » Documentation » License Validation

When you register the license key using the Go Pro, the key is stored in the registry. This is where the program will look for the key the next time you run it. The key is stored in the user’s part of the registry to avoid permission problems when the key is saved to the registry.

The default location in the registry is here:

HKEY_CURRENT_USER\Software\\MSI Wrapper\License

Reading and writing the license key to this location works for most use case scenarios. However, it happens that storing the key under the user’s registry causes problems. This is when the process running the MSI Wrapper runs as a different user. Therefore, the MSI Wrapper looks for a valid key in other locations in case it does not find it in the user’s registry.

It will look in the machine’s registry under this key:

HKEY_LOCAL_MACHINE\Software\\MSI Wrapper\License

Both the 32 and 64 bit branches are searched for a valid key.

A registry file with a machine key could look like this:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\\MSI Wrapper\License]
"Owner"="My Name"