shunziker
Posts: 11
Joined: Tue Mar 27, 2012 1:57 pm

Build/organization based on licence

Hello
I would like to make different installations based on the licence the user enters, that means: a certain type of licence triggers the installation of some program features. Is this possible?
Thanks for your help
regards Stefan
shunziker
Posts: 11
Joined: Tue Mar 27, 2012 1:57 pm

Re: Build/organization based on licence

ok, I have found part of the solution: In the Installation Behavior I can parse the PIDKEY using a install condition. But this works only if the licence is passed as a command line argument and it doesn't seem to work if the user inserts the licence in the GUI.

Why is that so?

regards, Stefan
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Build/organization based on licence

Hi Stefan,

Your solution doesn't work if the user inserts the license key in the GUI because, as we specify in our documentation, you can not use in an install condition a property that is set from UI. This is because Install conditions are evaluated before the GUI starts.

If you want to use the an UI property to condition your feature's installation you will need to use a custom action which will set the features state.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”