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!

aksingh
Posts: 2
Joined: Thu Jul 11, 2013 1:37 pm
Location: India
Contact: ICQ

how to add trial support for an console application

Hello sir,
How to create a trial package of a software which doesn't have any User Interface (UI).Our software doesnt need any UI its having only a service(basically a simple .exe file).Please guide me with this situation.

Thanks in advance
Aksingh
aksingh
Posts: 2
Joined: Thu Jul 11, 2013 1:37 pm
Location: India
Contact: ICQ

Re: how to add trial support for an console application

Our requirement is that after expiring the trail period our service should not start and if user tries to start it then it display a message for registration.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: how to add trial support for an console application

Hi Aksingh and welcome to Advanced Installer forums,

Here is how:
  • create a trial from the Licensing page pointing to the service
  • go to Display tab and set its frequency percent to 0 (this will suppress any trial dialog)
  • create a new trial identical to this one (do not use synced trial context option)
  • the trial should be for another *application B
  • the display frequency of this second trial should be set to 100
  • "Trial ID" field from the Registration tab is important and for the keys you can create a backup/restore operation ("Keys Generator (RSA)" section -> "Actions" combo box)
  • the "Library Key" field should be identical for the two trials too
*application B is an UI application that will register the service after the trial period ends (e.g. 30 days). Since the options from the Licensing page are the same for both licenses, registering this application will automatically register the service as well. Otherwise the service will stop working unexpectedly when the trial period ends.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
s.sparrow
Posts: 11
Joined: Sun Jul 31, 2016 8:41 am

Re: how to add trial support for an console application

Hi,
I tried this solution ,
I have two trial for two application with identical "Trial ID" and "library key"(Both in the AIP file and in source code).
All the options from the Licensing page are the same for both licenses except frequency percent .
"application A" is a website and "application B" is a win form for register .
the "application B" was successfully registered . but the "application A" doesn't register And still remains in Trial mode ..
it seems "application A" doesn't check registry .
how could i solve this problem ?
s.sparrow
Posts: 11
Joined: Sun Jul 31, 2016 8:41 am

Re: how to add trial support for an console application

Hi,
I use synced trial context option and my problem was solved .
Why did you say "do not use synced trial context option" ?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: how to add trial support for an console application

Hello,
I use synced trial context option and my problem was solved .
Yes, the workaround works when using a synced trail product too, but we do not advise to use this option because it can be error prone.
Why did you say "do not use synced trial context option" ?
This is because when you change a setting for the parent trial product (e.g. "Display frequency percent"), this change will be also reflected in the synced trial product. So, you may end up with wrong settings for the synced product.

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

Return to “Building Installers”