Register Programmatically - 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!

tsage2010
Posts: 1
Joined: Mon Jul 12, 2010 6:47 pm

Register Programmatically

Hi,

I see that there are samples to call the licensing registration dialog from an application. Is there a way to programmatically register without the use of a dialog? If I want to register my application through a command line paramter, is there a function call that I can make to the Trial.dll that will allow me to do this?

ex:
myapp /register:licensekey

This would allow my app to parse out the license key and programmatically (silently) register the app without the use of dialog. Does the trial.dll contain such a function? One of the requirements of my install is that it can be pushed to a large number of clients through an administrative function.

Thanks
Tim
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Register Programmatically

Hello Tim,

Actually you can already register any type of product with the help of "Runtime Key Location".
Simply use the command line to set any public properties required in the "Runtime Key Location" formatted value fields, build the project and the trial message won't be displayed.

Regards,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”