custom-pages

How can i set the serial for this serial form (Inno Setup)

二次信任 提交于 2019-12-30 03:36:06
问题 I was looking for a serial script and I found one here: CustomPage for Serial Number in Inno Setup But how can I set the serial because all serials are valid now. Thanks for your answer! 回答1: Extending the code from my previous post, if you want to compare the serial number with a constant value, you can modify the script this way. The only valid serial number which allows users to continue will be 62FFU-GA4N8-T8N6W-WLQJW-N6WLQ-AJKD6 : procedure OnSerialEditChange(Sender: TObject); var

How to remove custom wizard input field inno setup?

喜夏-厌秋 提交于 2019-12-11 18:14:56
问题 so I know you can add a custom field with the .add method...is there any way to REMOVE one? The reason is I'm only adding the fields if a component is selected, and if the user goes back I want to remove the fields, so that they don't multiply. :) Thanks! Here's my .iss: (I was planning to put the code in the OnBackButtonClick function...that's why it's there ;) ; Script generated by the Inno Setup Script Wizard. ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! #define

How can i set the serial for this serial form (Inno Setup)

筅森魡賤 提交于 2019-11-30 10:35:13
I was looking for a serial script and I found one here: CustomPage for Serial Number in Inno Setup But how can I set the serial because all serials are valid now. Thanks for your answer! TLama Extending the code from my previous post , if you want to compare the serial number with a constant value, you can modify the script this way. The only valid serial number which allows users to continue will be 62FFU-GA4N8-T8N6W-WLQJW-N6WLQ-AJKD6 : procedure OnSerialEditChange(Sender: TObject); var CanContinue: Boolean; begin // the GetSerialNumber defined there returns you the serial number string //