TurboActivate.iss & Trial extensionAnswered

TurboActivate.iss file has more info about Trial extension code (Pascal Scripting)? beacuse Help>Trials page has only c/c++ and c# coding

, edited

Thank you, Wyatt o'Day.  TurboActivateUnit.pas file has 1322 lines.  is there any e.g. TurboActivate.iss with Trial-extension? Or should I try debugging one by one?

Honestly, don’t add licensing to your installer. Add it to your app.

Yes, you are completely right. but users love to have installer. Can I have it licensing check at both places in installer (with interactive) and in xyz.exe? (without interacting/static check) ? or Somehow can I use bin-windows\x64\TurboActivate.exe instead of installer?

, edited
Answer

You can do it. But is it worth the extra development time and maintenance to add it 2 separate places? I’d say not.

But they’re your development resources, you can deploy them however you’d like.

            if ta.check_and_save_pkey(pkey):
               print("Product key saved successfully.")

Do I need differnt if condition to check for Trial extensions keys? or ta.check_and_save_pkey checks for both Product keys and Trial extensions keys?

Thank you it worked.

try { 

// try to extend the trial and close the form 

ta.ExtendTrial("INSERT TRIAL EXTENSION", trialFlags); 

}

why the form closes? I want continue opening the application further. is there anything you can advice me?

, edited
Answer

Add breakpoints and do standard debugging to figure out the behavior you want. This is beyond the scope of our support.