Meena
Posts: 36
Joined: Thu Dec 12, 2013 9:07 am

License Information

Hi Support,

Is it possible to set the license for feature using Advanced Installer? If yes, Could you please explain me briefly.

Thanks,
Meena
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: License Information

Hello Meena,

If you need to conditionally install your product features based on user's license, then you can use our "Stock Keeping Units" support.

You can create in "Licensing page -> Stock Keeping Units section" as many SKUs (containing the desired features) as license types you have. Then, at install time it will be installed only the SKUs (group of features) which correspond with the user's license type. For instance, when using the "Server-side validation" method your server-side validation script should return the desired SKU ID in the response.

Let us know if this helped, otherwise please give us more details about your installation scenario.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Meena
Posts: 36
Joined: Thu Dec 12, 2013 9:07 am

Re: License Information

Hi Daniel,

I'm using predefined fixed set of serials option in Package Serial Validation tab under LIcensing page. Here I created 10 Serials. I have 10 features and 10 serials are assigned to these features respectively. Based on selected feature, user has to enter the corresponding serial number in edit box and there I need to check the entered serial number is valid or not. Please guide me how to do this. A sample would be very helpfull.

Thanks,
Meena
Meena
Posts: 36
Joined: Thu Dec 12, 2013 9:07 am

Re: License Information

Hi Team,

Can I have any updates?

Regards,
Meena
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: License Information

Hello Meena,

To achieve what you want you should simply add in "Licensing page -> Stock Keeping Units tree node" 10 SKU items, each one associated with its corresponding feature. Then, all you have to do is to rebuild and test your project.

I've attached a sample created with version 12.0 of AI which implements a similar scenario.
sample.zip
(5.05 KiB) Downloaded 524 times
If you have any questions let us know.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Meena
Posts: 36
Joined: Thu Dec 12, 2013 9:07 am

Re: License Information

Hi Daniel,

Thanks for your post. But, firstly I need to display feature dialog. There I can select one/more features. Based on the selected feature corresponding configuration dialog will be displayed along with Serial Key. Here the serial key validation will be performed as per feature selection. So, please let me know how to do this without using UserRegistrationDlg Dialog.

Regards,
Meena
Meena
Posts: 36
Joined: Thu Dec 12, 2013 9:07 am

Re: License Information

Hi Team,

Any suggestions?

Regards,
Meena
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: License Information

Hello Meena,

I'm afraid our "Package Serial Validation" feature cannot be used without the "UserRegistrationDlg" dialog. If you want to use your own custom dialogs, then instead of using our built-in "Package Serial Validation" feature you can try to implement a package validation functionality by developing your own custom action, but I'm not sure how feasible this would be for you.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sjeslis
Posts: 308
Joined: Mon Aug 22, 2011 11:40 pm
Contact: Website

Re: License Information

Daniel,

Anyway to do this but make the SKUs unique, e.g. with a customer code, so that customers can't share SKUs?
Scott Jeslis
Senior Software Engineer
Cicero, Inc.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: License Information

Hello Scott,

I'm afraid I don't fully understand your last question. Can you please give us more details about this (maybe exemplify) so we can have a clear view of what you are trying to achieve?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sjeslis
Posts: 308
Joined: Mon Aug 22, 2011 11:40 pm
Contact: Website

Re: License Information

Hi Daniel,

Once you create a SKU (serial number) in an Installer to turn on a feature I'm assuming ANYONE who runs my installer, with that SKU, will get that feature turned on, meaning SKUs could be shared between end users?

I was looking to make SKUs unique between customers, like maybe using a template add a "customer code or number" in the SKU, at least we would know where it came from.

I guess the drawback of this is the installer needs to know about EVERY SKU we create for EVERY customer?
Scott Jeslis
Senior Software Engineer
Cicero, Inc.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: License Information

Hello Scott,

The only way to make sure your customers don't share they serial number would be to use a server-side serial number validation. In this way the installer will send user's data to your validation web server, the validation server will check the user's data and will reply to the installer and, then based on the validation server answer the installer will allow or not the installation.

If you have any questions let us know.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sjeslis
Posts: 308
Joined: Mon Aug 22, 2011 11:40 pm
Contact: Website

Re: License Information

Daniel wrote:Hello Meena,

I'm afraid our "Package Serial Validation" feature cannot be used without the "UserRegistrationDlg" dialog. If you want to use your own custom dialogs, then instead of using our built-in "Package Serial Validation" feature you can try to implement a package validation functionality by developing your own custom action, but I'm not sure how feasible this would be for you.

All the best,
Daniel
Is there anyway to "seed" your UserRegistrationDlg with a "default" serial number so that all our customers would not need a serial number and they would automatically get "Feature A"? Much like how Microsoft's MDSN program works.
Bottom line is just the customers that needed "Feature B" turned on as well would need to enter a serial number.
Scott Jeslis
Senior Software Engineer
Cicero, Inc.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: License Information

Hello Scott,

Yes, this can be done. To achieve this you can proceed like this (when using an "Enterprise" or higher project type):
1. go to "Dialogs" page and select the "UserRegistrationDlg" dialog
2. select the "Serial Number" masked edit control and set a default value for its "PIDKEY" property in the "Properties" right pane

or like this (when using a below "Enterprise" project type):
1. go to "Custom Actions" page and add a new "Set installer property" custom action with sequence, scheduled after "Wizard Dialogs Stage -> Searches" action group, configured like this:
  • Property: PIDKEY
    Value: <default key value>
If you have any questions let us know.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”