Use serial numbers to install different packages - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

JDMils
Posts: 50
Joined: Tue Aug 10, 2010 12:42 pm

Use serial numbers to install different packages

Can AI handle this situation:

I give a user one serial number. When the user enters this number into AI, AI installs one set of files (demo files). I then give the user another serial number which when entered into AI allows the user to install the full version (another set of files). Is this OK? The demo serials should come from one seed and the full version serials should come from another, common, seed. Thanks.
CiprianComsa
Posts: 110
Joined: Thu Aug 19, 2010 10:11 am
Contact: Website

Re: Use serial numbers to install different packages

Hi,

The implementation method is correct. I recommend the use of validation of a serial number through a DLL file. Here is what you can try:
-- go to Install Parameters page and define the public property "DEMO" with the default value set to zero ("0").
-- go to Licensing Page and select Package Serial validation->Use Serial Validation.

Add your DLL file by choosing "User defined validation" and browse for file . This option allows you to specify your own serial validation procedure.
You can change our example by including DEMO property in code, set DEMO property to "0" if is DEMO or to "1" if is true.

After that you can go to Organization Page and organize your project files in two features: Demo and Full. Create install conditions for each feature from "Installation Behavior->Install Based on condition" and set for Demo feature DEMO="0" and for Full feature DEMO="1".

Best regards,
Ciprian
_____________________________________________________________________________________________________________________________________________________
Ciprian Comsa
Advanced Installer Team
http://www.advancedinstaller.com/
Ciprian Comsa - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”