Updater License CheckLicense checkYou can set up the updater to check the license of the user that tries to call the autoupdate function. For this you must do two things:
The command could be something like: "updater.exe /silent HKLM\Software\MyEditor\LicenseValue". The updater will do a POST with a string in the following format: licenseid=%s&languageid=%u The %s value represents the string read from the registry and the %u an unsigned value representing the language identifier of the user's Windows operating system. The language identifier is useful if you want the script to return a localized message. The script must give an answer, so the updater can choose the following course of action. The answer must be in the form: AnswerCode\nMessage "Message" is an explanatory message, "\n" is the new line character and "AnswerCode" can be one of:
License expiration checkAn user may have a license that is valid for the product version on his machine but not valid for the newer version. The updater can check this and show a message to warn the user. After this, the user can decide whether to continue the installation of the update. For this:
If the expiration date is prior to the release date then a warning is displayed.
| |
|
| Privacy Policy | Windows Installer | Search Engine Ranking | Link Analyzer | ||
| © 2002 - 2008 Caphyon Ltd. Trademarks belong to their respective owners. All rights reserved. | ||