Eusebiu
Posts: 4931
Joined: Wed Nov 14, 2012 2:04 pm

Re: Serial Validation template

You're welcome. I'm glad I could help.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
belsonmarble
Posts: 65
Joined: Wed May 22, 2019 1:43 am

Re: Serial Validation template

Eusebiu wrote: Tue Apr 16, 2019 2:22 pm Hi,

Indeed, the error appears because another custom action checks the serial number during the installation. In order to avoid it, you need to add two "Set installer Property" custom action on the "Install Execution Stage" above the "Searches" action group as follows:
  • Property: SERIAL_VALIDATION
    Value: TRUE
    Condition: UILevel = 5
  • Property: ProductID
    Value: PIDKEY
Let me know if this helped.

Best regards,
Eusebiu
What does this mean and how do i do this?

I am in the table editor, I right click and choose new row? now what?
Catalin
Posts: 6592
Joined: Wed Jun 13, 2018 7:49 am

Re: Serial Validation template

Hello Belson,
What does this mean and how do i do this?

I am in the table editor, I right click and choose new row? now what?
You should not be in the "Table Editor". Here are the steps you need to take in order to achieve what my colleague Eusebiu has said:

- go to "Custom Actions" page

- in the custom action list, please select the "Set Property" custom action.

- add it to your project by pressing the "Add custom action with sequence" button which is placed to the right side of the custom action's name.

As you can see, there are two installation stages there: "Wizard Dialogs Stage" and "Install Execution Stage".

- Drag and drop the custom action before the "Searches" action group from the "Install Execution Stage"

Repeat the above steps for the second custom action.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
belsonmarble
Posts: 65
Joined: Wed May 22, 2019 1:43 am

Re: Serial Validation template

actions.png
actions.png (74.21 KiB) Viewed 5353 times
Like this?
belsonmarble
Posts: 65
Joined: Wed May 22, 2019 1:43 am

Re: Serial Validation template

There is no set property, there is set installer property.
belsonmarble
Posts: 65
Joined: Wed May 22, 2019 1:43 am

Re: Serial Validation template

So this is where I am upto, tried looking at the manual and its really confusing, what has been posted so far is not in the manual, wish it wasn't so confusing to validate.
Attachments
pq1.png
pq1.png (36.5 KiB) Viewed 5353 times
pidkey.png
pidkey.png (67.78 KiB) Viewed 5353 times
belsonmarble
Posts: 65
Joined: Wed May 22, 2019 1:43 am

Re: Serial Validation template

More help please.
Eusebiu
Posts: 4931
Joined: Wed Nov 14, 2012 2:04 pm

Re: Serial Validation template

Hi,

Indeed, the custom action that you need to use has the "Set Installer property" name. Now, as mentioned in the post you quoted, you need to add the two "Set installer Property" custom actions on the "Install Execution Stage" above the "Searches" action group.

By the way, the solution discussed in this topic helps you to get rid of the template that is set for a serial number. Is this what you want to achieve?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
belsonmarble
Posts: 65
Joined: Wed May 22, 2019 1:43 am

Re: Serial Validation template

I was trying to achieve the serial validation using the sample sql and php, yet whenever I try and run it, it just says serial is invalid. Which i guess i am missing a step or 3.

It would be good if there was a tutorial from A to Z that stated exactly what you need to do, when you read the manual it feels like the content hasn't been updated in a very long time and the only content that is added is new content so anything you've already covered isn't touched.

This thread in regards to the template is that referring to the DLL? Because if so i don't know how to do that which is why i was using the serial validation using the server, php and sql.
Eusebiu
Posts: 4931
Joined: Wed Nov 14, 2012 2:04 pm

Re: Serial Validation template

Hi,

Please see my response from the "serverside serial" thread.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”