|
|
#1 |
|
Junior Member
Join Date: Feb 2005
Posts: 2
|
Serial number custom page
Hi everyone,
I discovered this program today, and am quite impressed. It seems able to do everything I require, but I'm having a little difficulty with one thing. Basically, I want to use a custom page where the user enters his serial number, and install the appropriate options based on that. It's not really a copy protection scheme (the user still needs to activate the product), more of a way to incorporate everything in one installation package. Here's an example of the function I'm using (I'll put a dll call in later, just a StrCmp for now...): PHP Code:
My problem occurs when the user clicks the "Cancel" button. The installer will only quit when a valid serial number has been entered. Is there another way to do this? Can I trap the Cancel button? I've hit a bit of a blank. Thanks in advance Pete. |
|
|
|
|
|
#2 |
|
Major Dude
|
think, the solution is also posted in various readmes.
the thing is, to check, WHICH button is pressed. you'll do this with the following code: code: also, you should NOT use the code you currently do have. have a look at the install options readme and the official docs and read the sections about custom pages, the leave function and abort calls there!! hand by comm@nder21 ---------- WiKi pages:CreateInternetShortcut|Enhanced FindWindow|Parse CSV-Data|Open/Close CD-Drive|Installer without Icon|Vista application compatibility |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|