4/18/2021 0 Comments Inno Setup Serial Number Check
You cant use the InitializeSetup event function for this since at the time it is triggered, the wizard form does not yet exist.Note that this function is called even if the user exits Setup before anything is installed.If you return True, the wizard will move to the next page; if you return False, it will remain on the current page (specified by CurPageID).
![]() ![]() The Confirm parameter specifies whether an Exit Setup message box should be displayed; it usually defaults to True. If Cancel is set to False, then the value of Confirm is ignored. If you return True, the page will be skipped; if you return False, the page may be shown. This way the actual value of the password remains protected. It should return the text to be displayed in the settings memo on the Ready to Install wizard page as a single string with lines separated by the NewLine parameter. The other parameters contain the (possibly empty) strings that Setup would have used as the setting sections. The MemoDirInfo parameter for example contains the string for the Selected Directory section. ![]() Inno Setup Check Serial Number Protection FromWhen using serial numbers, its important to keep in mind that since no encryption is used and the source code to Inno Setup is freely available, it would not be too difficult for an experienced individual to remove the serial number protection from an installation. Use this only as a convenience to the end user and double check the entered serial number (stored in the userinfoserial constant) in your application. This function is only called if Setup was successfully run to completion and the exit code would have been 0. This function is only called if Setup didnt already determine it cant continue because one or more files specified in the Files and InstallDelete sections were queued (by some other installation) to be replaced or deleted on the next restart. You cant use the InitializeUninstall event function for this since at the time it is triggered, the progress form does not yet exist.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |