Assassin
Posts: 19
Joined: Sun Jan 29, 2012 11:06 pm

Advanced Installer using my custom form for trial.dll

I know i am always coming onto these forums going on about the trial.dll dialog but its the key thing stopping me buying this product , I trial advanced installer regularly with all my applications and its fully suitable for the installing part but the trial.dll dialog always bugs me and falls short. So instead of waiting for you guys to update your program to support this i was wondering if i can just integrate it myself.

I'm wanting my custom form to able to perform the same functions as your dialog so is there any way i can make my custom form read from the default trial.dll

so if i can link the buttons up to perform the same function as yours. So how would i go about linking my buttons to your dll but i want to use my custom dialog form and display that instead
as it fits in with my dark theme on the application. The Installer itself fits in perfectly but the trial.dll really bugs me so i am just wondering if its possible. This could be the factor for me buying a license from you guys as in all other areas your product is great! :mrgreen:

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

Re: Advanced Installer using my custom form for trial.dll

Hello,

Thank you for your interest in Advanced Installer.

I'll have to forward your request to the developer responsible for this part of the application.

Also, my colleague Bogdan provided a workaround in Change And Customize The License Dialog (Trial.DLL) thread. If you're not referring to the same problem, can you please be more specific your current setback?

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Advanced Installer using my custom form for trial.dll

I discussed this with our development team and here's what you can try:
- set the trial frequency to 0 days so our dialog is never shown (Licensing Display Options tab)
- use the ReadSettingsRetStr function mentioned in How do I integrate the licensing support in my application? article
-> if its returned value is 0 it means the product is already registered and there's no need to show your custom dialog
-> if its returned value is 2 you should enable the Try button ; to display the days left you can retrieve TrialLeft property (Trial and Licensing Properties) using the method described in How do I interrogate the licensing library to get license information? article
-> if its returned value is greater or equal than 4 you should disable the Try button, leaving Register and Buy

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
tiago-moura
Posts: 12
Joined: Thu Sep 10, 2015 9:55 pm

Re: Advanced Installer using my custom form for trial.dll

Hi guys

Sorry for bringing this topic to life, but I have another question regarding this issue.

What can I do when the user click on Register button? I would like to invoke my custom screen for asking the user's serial number.
Is there any function in Trial.dll to notify the serial number which user will inform in my custom screen?

Thanks in advance,

Tiago Moura
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Advanced Installer using my custom form for trial.dll

Hello Tiago,

We will have such a "Register" function available starting with our next version of Advanced Installer. We will update this thread as soon as it will be available.

Until then, as a workaround you can try to edit our registration dialog. However, this is a tedious operation and it can be cumbersome.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Advanced Installer using my custom form for trial.dll

Hello,

This was fixed in version 13.0 of Advanced Installer released on June 2nd, 2016.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”