revUp - Updates and news for the LiveCode community
Issue 130 | March 8th 2012 Contact the Editor | How to Contribute

Command Line Install and Activation
Get LiveCode up and running for multiple users on your network

by Karthik Sukumaran

If you want to install LiveCode across a network and give access to multiple users, you don't have to install LiveCode on every machine and license for every user. Instead, you should use the Command Line installation and activation process. This is described below. You can use this procedure on both Mac and Windows, the example and screenshots given are for Mac, but the same commands will also work on Windows.

Step 1: Download LiveCode from Your Account

Media_1331129736794_display

Download tthe latest LiveCode from the your LiveCode account. Here i am downloading the latest dp release, which is LiveCodeInstaller-5_5_0_dp_2-Mac.dmg.

Step 2: Unpack the Package

Media_1331205128212_display

Double click the LiveCodeInstaller-5_5_0_dp_2-Mac.dmg file and copy the .app file to Desktop

Step 3: Installing LiveCode through command line

Media_1331205572757_display

Click image to zoom

The .app file we used for installation is "LiveCode 5.5 (dp 2).app" .

The installation command used is

/Users/<User>/Desktop/Install\ LiveCode\ "5.5 (dp 2)".app/Contents/MacOS/installer install noui -allusers

The Syntax for command line installation is

“<installerexe>/Contents/MacOS/installer” install noui options

Your options consists of one or more of the following:

(*) allusers - Install the IDE for all users. If not specified, the install will be done for the current user only.
(*) desktopshortcut - Place a shortcut on the Desktop (Windows-only)
(*) startmenu - Place shortcuts in the Start Menu (Windows-only)
(*) location location - The location to install into. If not specified, the location defaults to those described in the Layout section above.

You should now have successfully installed LiveCode, next you need to license it. For this you need to use the offline activation file.

Step 4: Generate Offline activation file

Media_1331213170956_display

First download the offline License file.

To do this, log into your LiveCode account and click the "Generate LiveCode offline activation file" link, then select the version number you are licensing for and enter a pass phrase of your choice.

Step 5: Activating LiveCode in the Command line using Your Offline Activation file

Media_1331209360785_display
Click image to zoom

 

Once the file is generated, use the Activation file and Passphrase to activate the installed LiveCode version. This is the command I used, you will need to replace the exact version of LiveCode you are using and your passphrase (mine is "runrev").

/Applications/LiveCode\ "5.5 (dp 2)".app/Contents/MacOS/LiveCode activate -file /Users/<User>/Desktop/LiveCode-Complete-5_5_0-dp-2.lic -passphrase runrev

The syntax is:

“<livecodeexe>/Contents/MacOS/LiveCode” activate -file license -passphrase phrase

 

Step 6: Open the installed LiveCode file

Media_1331210259864_display

You should now have both installed and licensed LiveCode correctly, using the command line, for the locations you have specified.

About the Author

Karthik Sukumaran is a Technical Support Officer for RunRev Ltd. He has a passion for exploring and integrating new internet technologies.

 

Main Menu

What's New

Get MobGUI free with a LiveCode purchase