DoneEx
Home arrow XCell Compiler arrow How To arrow Create Trial EXE
May 24, 2013 at 04:53 PM
Home
XCell Compiler
Advanced Search
Create Trial EXE

You may create Trial version of your compiled EXE file with the trial period limited by amount of days you will set before compilation.
In this case the start date will be assigned as date of the first start of trial period of compiled EXE on client computer.

Compile form for trial version

To create the Trial version of your compiled EXE you need to follow these steps:

  • "Copy protection with registration key" ON
  • Check "Hardware locking" ON, in case if you would like to have your EXE to be locked to client computer id number after the trial period expired.
  • Check "Trial version" ON

The following form appears:

trial_options
 
On this form you may select additional options for trial version

  • Set the number of days for trial period.
  • Selecting value for delay time before 'Close' button appears on trial warning window.
  • By selecting the warning recall interval time, you will set the interval time between the latest trial warning window appearance and when it will appear again. In case if you select 0 minutes then the trial warning window will appear at start time only.
  • If you would like to customize the trial annoying warning content then you may set  your own message by selecting the .TXT or .RTF file with content of your warning from disk into 'Custom warning content' field.

When trial version option settings are done then press "OK" button to apply the changes.

  • Press Compile button and you will get the compiled trial EXE
  • This EXE will work with the following trial version warning window (which will be shown every several minutes which you have selected in field 'Warning recall interval' of the'Trial Version Options' form), without the request of  the user computer id until the trial period has expired. During the trial period the computer id can be found in Application Name About box.

default_nag_wnd

When the trial period expires the following notice will appear, if you made trial with "Hardware locking" OFF

Trial version expiration warning - 1

and the following notice will appear, if you made trial with "Hardware locking" ON

Trial version expiration warning - 2


The copyright vendor info, which is shown in these windows, is taken from the "Application legal copyright" edit box.

"Save", "Save As" and "Export" features are not available during trial period.
When your client makes purchase, he will send you his computer id (in case if you selected "Hardware locking" ON during compilation), you will create the registration key and the same EXE file will work in registered mode. You do not need to generate another EXE.

During testing the Trial EXE you may start it on your machine.
But when you are ready to distribute the Trial EXE, you should not start it after compilation, because EXE will fix the date of the first start as a start date of trial period.

How to assign your own Trial/Demo limitations.

The product provides great opportunity to adjust your own limitations for your Trial/Demo version.
These limitations may be applied for the level of cell values. In this case you may decide what would you like to show in trial version and what in registered one.
For that purpose you need to use Excel function INFO.
The DoneEx XCell Compiler adds new parameter values for that function which returns correct values in compiled EXE only.
INFO("isexe") - returns #VALUE! in original xls and TRUE in compiled EXE.

All following parameters of  INFO function are available for BUSINESS PRO license only and return none error values in case if EXE was compiled with 'Hardware locking' option on.

INFO("rname") - returns #VALUE! in original xls, #N/A in compiled EXE which works in trial mode and returns registered name if EXE is registered with registration key file.
INFO("rmail") - returns #VALUE! in original xls, #N/A in compiled EXE which works in trial mode and returns registered e-mail if EXE is registered with registration key file.
INFO("compid") - returns #VALUE! in original xls,  computer id number of current computer where  compiled EXE is started.

This new INFO function's parameters let you distinguish compiled/uncompiled and registered/trial version of your mode.
for example:
=IF(ISERROR(INFO("rname")),IF(ISNA(INFO("rname")),"Trial mode","Uncompiled model info"),IF(INFO("rname")="admin","Admin Info", "Customer info"))

A cell, where this equation will be entered, returns "Uncompiled model" for original xls, "Trial mode" for compiled EXE in trial mode,  "Admin info" for registered user with name "admin" and "Customer Info" for all other registered users.

 

Copyright 2005 - 2012 DoneEx .