The prepare command opens the license file. If it is the first program start and the license file is not available, it downloads the license file with the default settings from the Activation Server 4.
Name
|
prepare
|
Params
|
Parameter
|
Type
|
Example
|
Note
|
Project Name
|
NSString
|
demo-easygo-mac
|
Short Name (internal name) for the project without spaces
|
Path to license file and file name
|
NSString
|
/users/paul/documents/myapp.lic
|
The full path to the license file. If the license file does not exist, it is downloaded from the Activation Server 4
|
Project Secure Key
|
NSString
|
r1lkYAp1xGQN81fBrcZ1dfXtw1doy3Z1l4KHy0N2yvL0ZBDcX274DHV1BfV7s0RFpjZ1NOmMf1qXGsu1MqTXK1t4Tsq1c7jQq1iP3VM1NNx6j1s64YK299TY
|
This key is used to encrypt the license file and should contain characters, numbers and special characters and should have 25 or more characters
|
Password
|
String
|
26YjnF1XSUr423BDfL1A6IE91t9gLF0STvNQ1CoR021251H30T2kDn1MutgS1r56o91R06oM0UZA0p0WhlAy22uCYO25JSju1nAqb
|
The password is defined in the project .config file
|
URL
|
NSString
|
https://registerserver.net/lptestmac/lpws.asmx
|
Link to the Activation server. The has to end with /lpws.asmx
|
Customer Name
|
NSString
|
Smart Inc.
|
Company or user name
|
E-Mail Address
|
NSString
|
tom.hanks@smartinc.com
|
Valid e-mail address
|
|
Returncode
|
Returncode
Type Integer
|
Note
|
0
|
The license file was successfully opened
|
128
|
File is write protected
|
512
|
The license file is damaged or incomplete
|
1024
|
Copy Protection violation. The license file is from a different computer as the Serial Number of the MAC computer is different
|
2048
|
License file not found or invalid
|
3010
|
The Serial Number is either locked or was used on another computer
|
16384 or 2048
|
The file could not be decrypted - probably the PSK is wrong
|
|
|
Other return codes
|
See list of return codes
|
|

The prepare command must be the first command of all license tests as the file must be validated and opened before any other license test can be done.