Deleting a product

Bring up the function menu of the product you want to delete and click the corresponding item.

Important! Deleting a product will delete all associated licenses and activation codes. The users won’t be able to activate the software anymore! Note that even if you recreate this product from scratch this won’t allow your old users to activate it, because the pair of RSA keys will be different, effectively rendering old keys invalid.

If you want to temporarily cease all activations for a specific product, deactivate it instead.

Importing / Exporting a product

The VMProtect and WebLM tandem allows you to create a product both in VMProtect application and in WebLM. So you can import a product to WebLM from VMProtect, or vice versa export a product from WebLM to a .vmp project.

To import a product to WebLM, click the Import Product item in the Products section at the left and select a file to import. To export a project, point your mouse over it in the list and click the Export link in the function menu. Note: you can only export core products. Product modes cannot be exported.

Keygen URL

A keygen, or a key generator if you prefer the full name, is a special program that takes user data send by an e-commerce provider (name, e-mail, order id etc.), generates a serial number or an activation code, and sends it back to the e-commerce provider, which then passes the serial number to the user.

WebLM provides a built-in keygen, so you don’t need to write a single line of code. You only should tell your e-commerce provider the keygen URL for each product. To learn the keygen URL of a product, point the mouse over it to bring up the function menu and click the Keygen URL link.

Then, you need to specify this URL in your e-commerce provider’s control panel. Please refer to this section to learn how you can do this in major e-commerce providers.

Editing / Deactivating a product

Point a product in the list with the mouse cursor and click Edit. You can change options just like you do when you add new product. You cannot change the product name, though.

Additionally, you can deactivate the product completely, blocking all activation attempts for this product temporarily.

Show licenses

Use this function menu item to display all licenses issued to this product. If you run this function within the core product, it displays all licenses of all modes of this product. Otherwise, the list displays licenses for the selected product mode only.

Adding a product mode

Product modes are various states the software may work in. Common examples of product modes are trial mode and full-featured mode. Other possible uses of this function is implementing various licensing schemes (home license, business license, enterprise license) having certain functional differences or making alpha/beta/promo versions with certain time limitations. You can also create custom license types using the Data field (see below).

You can add a new mode to the product in two ways: either click the Add New Mode item in the Products section, or point a core product line in the list to bring up the function menu, and click the Add Mode link:

The following screen appears:

Select the product this mode applies to and specify the name of the mode. The rest options specify the way this product mode is limited:

Hardware ID – links the serial number to a particular hardware configuration effectively preventing multiple activations of the software with the same serial number on many different computers. You can tell WebLM to take hardware information from the URL – in this case it is passed from user’s computer upon first activation. Or you can specify a certain value manually – this allows you to lock this product mode to the specific computer only.

Expire date – sets the period this product mode remains active and available for activation.

  • “none” means the product mode never expires – use this for full-functional versions of your software only;
  • “days from activation date” – the product will be active and available for activation for a specified number of days since the activation date. This is a great option for trial versions of the software.
  • “days from purchase date” – very similar to the above, this option permits usage of the product for the specified number of days since it was purchased. You may want to prefer this option if you need to encourage users to activate the program shortly after the purchase.
  • “value” – set the date manually. This option is good for beta versions or promo licenses that should not work past the specified date.

If the expire date is set, the application can read the expiration date from the serial number and warn a user about upcoming expiration.

Time limit – sets the amount of time the application can work if launched. Games or multimedia software are usually the best candidates for such type of limitation.

Max build date – use this option to prevent running newer versions of the software with the same key. For example, you can allow free upgrades of the product within 120 days after the purchase and require paid renewal otherwise.

Data – you can pass additional information to the application in this field. Fill it with specific data to add more conditions to functional limitations, or use this field to indicate various versions of the product and make it respond this or that way. The application can retrieve serial number data using the VMProtectGetSerialNumberData API function.

Note: you can enter both text and binary data to this field. The binary data should be entered using the \0x prefix and an appropriate hexadecimal code: \0x20.

Adding a product

To add a product, click the Add New button above, or use the Add New Product item in the Products section at the left. The following screen appears:

Product name – enter the title of your product.

Algorithm – defines the algorithm VMProtect will use to generate a pair of encryption keys. Currently, only RSA is supported.

Bits – determines the length of the encryption keys. The longer the key, the harder is to crack it. However, long keys take more time to process by the software. If you are unsure, stay with the default value.

Keygen mode – there are two options here: Serial Numbers and Activation Codes.

The key generator (keygen) can produce either long serial numbers or short activation codes to send to the customer. While a serial number immediately registers the application, an activation code is merely a string of symbols tied to a particular customer. Then, that customer uses his or her activation code to activate the application and receives the serial number to register the application and unlock full functionality of the program and remove all trial limitations. This part goes silently without any actions required from a user. So the only key he actually deals with is a short and convenient activation code.

When the Activation code mode is selected, two more fields are shown:

Activation code pattern – sets the way an activation code should look like.

Extra activations – normally, every license can be activated once per purchased copy. You can allow more activations for each copy of the application by increasing this value. For instance, if you set 3 here, each purchased copy of the program will allow 4 activations in total.