Licensing information GetPropertyValue in advance installer? - Advanced Installer Community
ibrahimabbas
Posts: 1
Joined: Thu Jul 02, 2015 1:54 pm

Licensing information GetPropertyValue in advance installer?

I get the error "Error creating window handle" when getting licensing information from http://www.advancedinstaller.com/user-g ... perty.html when my c# application is running in trial mode.

However when I register my c# application and run the same code mentioned in above link i don't get any error but also I don't get any value for the properties mentioned in link.

I am really thankful for your kind help.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Licensing information GetPropertyValue in advance installer?

Hello and welcome to our forums,

I'm not sure why this happens. I tested the scenario and everything goes well when using the "GetPropertyValue" function call within a C# code. Can you please make sure you always call the "GetPropertyValue" function after initialized the licensing library (by using the "ReadSettingsRetStr" function)? Also, please have a look on our "How do I integrate the licensing support in my .NET application?" article that contains attached a sample which you can test and check its sources.

If this is still of no help to you, then please try to isolate the behavior in a sample (similar with the one attached in our user guide article) and send it us to support at advancedinstaller dot com alongside a test case which we can use to replicate the issue on our side.

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

Return to “Common Problems”