Activating LiveCode for all users on one workstation
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 25
- Joined: Mon Oct 18, 2010 6:32 pm
Activating LiveCode for all users on one workstation
Hi,
I am hoping that someone can help before I get in contact with technical support. I'm a classroom teacher with 20 mac workstations and I would like to activate LiveCode so that it successfully opens no matter which of my students is logged into it without asking for the license details.
I have been given the following instructions for activating LiveCode for more than one account which are out of the release notes but I need more detailed step by step instructions as I have no idea where to begin.
Can anyone help?
Regards,
Steven Whyte
Instructions below:
Command-line activation
In a similar vein to installation, it is now possible to activate an installation of LiveCode for all users
of that machine by using the command-line. When invoked in this fashion, no GUI will be
displayed, activation being controlled by any arguments passed.
On both platforms, the command is of the form:
<exe> activate -file license -passphrase phrase
This command will load the manual activation file from license, decrypt it using the given
passphrase and then install a license file for all users of the computer. Manual activation files can
be downloaded from the 'My Products' section of the RunRev customer accounts area.
This action can be undone using the following command:
<exe> deactivate
Again, as the LiveCode executable is actually a GUI application it needs to be run slightly
differently from other command-line programs.
In what follows <livecodeexe> should be replaced with the path to the installed LiveCode
executable or app that has been previously installed.
On Mac, you need to do:
“<livecodeexe>/Contents/MacOS/LiveCode” activate -file license -passphrase phrase
“<livecodeexe>/Contents/MacOS/LiveCode” deactivate
On both platforms, the result of the activation will be written to the console.
I am hoping that someone can help before I get in contact with technical support. I'm a classroom teacher with 20 mac workstations and I would like to activate LiveCode so that it successfully opens no matter which of my students is logged into it without asking for the license details.
I have been given the following instructions for activating LiveCode for more than one account which are out of the release notes but I need more detailed step by step instructions as I have no idea where to begin.
Can anyone help?
Regards,
Steven Whyte
Instructions below:
Command-line activation
In a similar vein to installation, it is now possible to activate an installation of LiveCode for all users
of that machine by using the command-line. When invoked in this fashion, no GUI will be
displayed, activation being controlled by any arguments passed.
On both platforms, the command is of the form:
<exe> activate -file license -passphrase phrase
This command will load the manual activation file from license, decrypt it using the given
passphrase and then install a license file for all users of the computer. Manual activation files can
be downloaded from the 'My Products' section of the RunRev customer accounts area.
This action can be undone using the following command:
<exe> deactivate
Again, as the LiveCode executable is actually a GUI application it needs to be run slightly
differently from other command-line programs.
In what follows <livecodeexe> should be replaced with the path to the installed LiveCode
executable or app that has been previously installed.
On Mac, you need to do:
“<livecodeexe>/Contents/MacOS/LiveCode” activate -file license -passphrase phrase
“<livecodeexe>/Contents/MacOS/LiveCode” deactivate
On both platforms, the result of the activation will be written to the console.
Re: Activating LiveCode for all users on one workstation
Hi Steven,
I assume that all your Macs are configured identically.
Create a text file with the following code:
Replace the first part of the first path with the actual path to your LiveCode installation (although your installation should be the same as mine) and replace the second path to the actual path to your license file, for example "~/Desktop/LiveCode-Educational-4.6.1.lic". Replace xxxxxxx with your own passphrase. Save the text file as "lic". Make sure that it doesn't have a file extension! Don't get trapped in "what you don't see it what you don't get" because file extensions may be hidden.
Copy the file with the shell programme and your license file to the desktop of the Mac that you want to license for LiveCode. Execute the following lines in the terminal:
Press enter after each line. The first line makes the file executable (and won't return anything if no error occurred), the second line executes the file.
You should now see a confirmation in the terminal, saying that your LiveCode software has been licensed successfully for all users.
If you like to fiddle with terminal apps a little, you could write a script that logs in on all your Macs over SSH and licenses them remotely
Kind regards,
Mark
I assume that all your Macs are configured identically.
Create a text file with the following code:
Code: Select all
#!/bin/bash
"/Applications/LiveCode 4.6.1.app/Contents/MacOS/LiveCode" activate -file "~/Downloads/LiveCode-Personal-4_6_1.lic" -passphrase xxxxxxx
Copy the file with the shell programme and your license file to the desktop of the Mac that you want to license for LiveCode. Execute the following lines in the terminal:
Code: Select all
chmod 755 ~/desktop/lic
~/desktop/lic
You should now see a confirmation in the terminal, saying that your LiveCode software has been licensed successfully for all users.
If you like to fiddle with terminal apps a little, you could write a script that logs in on all your Macs over SSH and licenses them remotely

Kind regards,
Mark
Last edited by Mark on Wed May 18, 2011 12:22 pm, edited 1 time in total.
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
-
- Posts: 25
- Joined: Mon Oct 18, 2010 6:32 pm
Re: Activating LiveCode for all users on one workstation
Hi Mark,
Thank you very much for your quick reply. Your instructions did help clear a lot of things up and it is greatly appreciated.
However, I'm still having a little difficulty and it may be something to do with my script as the first line in the terminal window runs correctly but I am unable to execute the script when it comes to typing in the second line.
I've attached a couple of screenshots below which show my script and the error message in the terminal window.
Any idea what I've done wrong?
Kindest regards,
Steven
Thank you very much for your quick reply. Your instructions did help clear a lot of things up and it is greatly appreciated.
However, I'm still having a little difficulty and it may be something to do with my script as the first line in the terminal window runs correctly but I am unable to execute the script when it comes to typing in the second line.
I've attached a couple of screenshots below which show my script and the error message in the terminal window.
Any idea what I've done wrong?
Kindest regards,
Steven
- Attachments
-
- Error message in the terminal window
- Picture 2.png (172.72 KiB) Viewed 10851 times
Last edited by stevewhyte on Wed May 18, 2011 12:18 pm, edited 1 time in total.
Re: Activating LiveCode for all users on one workstation
Hi Steven,
You need t se quotes around the file names in the shell script and the path to the desktop is ~/desktop and not ~desktop.
Kind regards,
Mark
You need t se quotes around the file names in the shell script and the path to the desktop is ~/desktop and not ~desktop.
Kind regards,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
-
- Posts: 25
- Joined: Mon Oct 18, 2010 6:32 pm
Re: Activating LiveCode for all users on one workstation
Hi Mark,
Thanks again for your reply. After trying these above changes, I am now getting the following errors on lines 1 and 2...

Thanks again for your reply. After trying these above changes, I am now getting the following errors on lines 1 and 2...

- Attachments
-
- Error messages
- Picture 1.png (101.57 KiB) Viewed 10840 times
Re: Activating LiveCode for all users on one workstation
Steve,
It looks like you have saved the shell script as RTF. You need to make sure that it is saved as plain text, preferably with UTF8 text encoding.
Kind regards,
Mark
It looks like you have saved the shell script as RTF. You need to make sure that it is saved as plain text, preferably with UTF8 text encoding.
Kind regards,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
-
- Posts: 25
- Joined: Mon Oct 18, 2010 6:32 pm
Re: Activating LiveCode for all users on one workstation
Hi Mark,
This discussion board is getting hammered today.
I'm now getting a different message saying that it "cannot execute the binary file"
It could be the script. I ensured that I saved it as a UTF-8 text file. I've copied and pasted the script below.
Sorry and thanks for your help thus far.
Steven
Script:
#!/bin/bash
"/Applications/LiveCode 4.5.3.app/Contents/MacOS/LiveCode" activate -file" ~/Volumes/Data/Users/9032068/Desktop/LiveCode-K12-4_5_3.lic" -passphrase ********
This discussion board is getting hammered today.
I'm now getting a different message saying that it "cannot execute the binary file"

It could be the script. I ensured that I saved it as a UTF-8 text file. I've copied and pasted the script below.
Sorry and thanks for your help thus far.
Steven
Script:
#!/bin/bash
"/Applications/LiveCode 4.5.3.app/Contents/MacOS/LiveCode" activate -file" ~/Volumes/Data/Users/9032068/Desktop/LiveCode-K12-4_5_3.lic" -passphrase ********
Last edited by stevewhyte on Wed May 18, 2011 12:18 pm, edited 1 time in total.
Re: Activating LiveCode for all users on one workstation
Steve, I just noticed... before I reply, you should remove your passkey and the pictures containing your passkey.
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
-
- Posts: 25
- Joined: Mon Oct 18, 2010 6:32 pm
Re: Activating LiveCode for all users on one workstation
Whoops - done!
Re: Activating LiveCode for all users on one workstation
Steven,
The quote after "file" is in the wrong place.
Mark
The quote after "file" is in the wrong place.
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
-
- Posts: 25
- Joined: Mon Oct 18, 2010 6:32 pm
Re: Activating LiveCode for all users on one workstation
Hi Mark,
Thanks for the above - I'm now getting a bit further but it's coming up with the error message "Incorrect passphrase for that license" now.
I've downloaded another manual activation key with the same passphrase but I'm having no joy.
I'm tearing my limited amount of hair out here - but do greatly appreciate the help you are giving me.
Steven
Thanks for the above - I'm now getting a bit further but it's coming up with the error message "Incorrect passphrase for that license" now.
I've downloaded another manual activation key with the same passphrase but I'm having no joy.
I'm tearing my limited amount of hair out here - but do greatly appreciate the help you are giving me.
Steven
Re: Activating LiveCode for all users on one workstation
Hi Steven,
If you get that message (wrong passphrase), it means that everything is working correctly, except for the passphrase. If you changed your passphrase, make sure that it doesn't contain any weird characters and spaces. If you still can't get it to work, you probably will have to contact RunRev support again.
Best regards,
Mark
If you get that message (wrong passphrase), it means that everything is working correctly, except for the passphrase. If you changed your passphrase, make sure that it doesn't contain any weird characters and spaces. If you still can't get it to work, you probably will have to contact RunRev support again.
Best regards,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
-
- Posts: 25
- Joined: Mon Oct 18, 2010 6:32 pm
Re: Activating LiveCode for all users on one workstation
Hi Mark,
I just want to thank you for all your help. After a bit of tinkering with the passphrase, it managed to work fine!
Thank you for you patientce and continued assistance with the above matter. My day was filled with teaching classes today and yesterday so I wasn't able to focus fully on it - but now I finally did and it worked - thanks to all your help!
Cheers and I owe you a pint!!
Steve
I just want to thank you for all your help. After a bit of tinkering with the passphrase, it managed to work fine!
Thank you for you patientce and continued assistance with the above matter. My day was filled with teaching classes today and yesterday so I wasn't able to focus fully on it - but now I finally did and it worked - thanks to all your help!
Cheers and I owe you a pint!!
Steve

Re: Activating LiveCode for all users on one workstation
Cool, Steve. I'm glad it works now.
Mark
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode