Google Sketchup Licensing

Sean_Ginn
New Contributor II

Has anyone been able to create a .PKG file for sketchup, that passes a correct .lic file to install from the JSS. Right now it seems to me that I will have to install it on every computer, one at a time. Thanks for the help.

13 REPLIES 13

jillhughes
New Contributor III

Needing an answer to this as well!! Help please!

SincerelyJoshin
New Contributor II

saw this was never answered, so... Here ya go.

https://help.sketchup.com/en/article/3000285

msnowdon
Contributor

I am having the same issue. I followed the directions in the link provided by @jdhovinetz and it doesnt seem to work. Im trying to run SketchUp 2015 on El Capitan.

SincerelyJoshin
New Contributor II

@msnowdon, Interesting. I am using 2015 and deploying to 10.11 as well. What is your path to activation_info.txt file?

msnowdon
Contributor

I tried the path in the article (/Library/Application Support/SketchUp 2015) and I also tried ~/Library/Application Support/SketchUp 2015 because it seems to store the licensing info there. I have not even created the package yet. I removed the license from my test computer, added the activation_info.txt file and it just doesnt seem to work.

sswartz
New Contributor III

Are you using the users' library folder ~/Library------
or the machine library folder
/Library.......

I think should be machine's
/Library/Application Support/Sketchup VERSION

works for me for sketchup 2017 and OS 10.11

msnowdon
Contributor

@sswartz I tried both locations. The document refers to the machine's location. Can you provide the format of the text file you used?

SincerelyJoshin
New Contributor II

@msnowdon, plain text.

/Library/Application Support/SketchUp 2015/activation_info.txt

{ "serial_number":"insertserialnumber", "auth_code":"insertauthcode" }

msnowdon
Contributor

@jdhovinetz That's exactly how I have it formatted. The permissions I have on it are:
system Read & Write
wheel Read only
everyone Read only

SincerelyJoshin
New Contributor II

@msnowdon maybe permissions of the Sketchup 2015 directory in /Library/Application Support/? Try 755

msnowdon
Contributor

@jdhovinetz I think I figured out my issue. I was given an email with the license serial number and authorization code. If I manually enter it, it comes up as an SketchUp Pro 2015 Single User Educational license. After doing some digging I found that it is free for teachers but they have to provide proof:

Teacher Licenses are available for free to teachers who would like to use SketchUp Pro as a part of their curriculum. In order to qualify for a free SketchUp Pro Teacher License, you must: Be a teacher at an accredited educational institution. Provide a current faculty ID, course syllabus, or other similar document issued from the school that states you are a teacher or faculty member.

The single user license is only good for 2 machines and cannot be used at the same time. If I look at the license file that gets generated, it is locked to that machine so if I did push it out, it wouldn't work anyway.

The best I can do is push out the software and have the teachers that need it apply for a license and then enter in the license information once they receive it. It runs in trial mode for 30 days.

If I wanted to run it in a lab, I would need a school network lab license.

I appreciate you trying to help me

Thanks

Mark

dustink
New Contributor II

here is the code we use for Sketchup 2016, sorry for the long post,

Sketchup has to be opened to create the sketchup folder which contains the license location. this script will launch it, kill it then copy over the file. The other way you could do it is through composer and dragging the whole sketchup folder in a separate package and running after.

#!/bin/bash
sleep 10
clear;
USER=$3;
if [ "$USER" == "root" ] || [ -z "$USER" ];
    then echo "Couldn't get valid username";
    exit 96;
fi;

###### DEFINE VARIALBES ########
SKETCHUPPATH="/Applications/SketchUp 2016/SketchUp.app/Contents/MacOS/SketchUp";
SKETCHUPLICFILENAME="SketchUp.lic";
SKETCHUPLIBPATH="/Users/$USER/Library/Application Support/SketchUp 2016";
+SKETCHUPLICDOWNLOADLOC="https://192.0.0.0/Mac/files/Sketchup2016/$SKETCHUPLICFILENAME"; *ItalicText*
+**(edit this location to download from the server)**

##### START SCRIPT #####
if [ -x "$SKETCHUPPATH" ];
    then echo "SketchUp Binary exists";
    if [ "$(whoami)" == "root" ];
        then echo "Running SketchUp as **YOURDOMAIN**/$USER";
        sudo -u $USER "$SKETCHUPPATH" 2>/dev/null 1>/dev/null & 
    else
        echo "Running SketchUp as **YOURDOMAIN**/$USER";
        "$SKETCHUPPATH" 2>/dev/null 1>/dev/null &
    fi;
fi;
echo "Waiting for SketchUp Process to appear...";
echo "Sleeping for 20 seconds";
sleep 20;

SKETCHUPPID=$(ps -A | grep './SketchUp' | awk '{print $1}');
for pid in ${SKETCHUPPID[@]};
    do echo "Killing SketchUp Pid: $pid";
    kill -9 $pid;
done;
echo "Sleeping for 5 seconds";
sleep 5;

#if [ $SKETCHUPPID -gt 0 ];
#   then echo "Killing SketchUp Pid: $SKETCHUPPID"; 
#   sudo kill -9 $SKETCHUPPID;
#   echo "Sleeping for 15 seconds";
#   sleep 15;
#fi;

if [ -d "$SKETCHUPLIBPATH" ];
    then echo "SketchUp Application Support path exists. Downloading License";
    curl -k -o "$SKETCHUPLIBPATH/$SKETCHUPLICFILENAME" "$SKETCHUPLICDOWNLOADLOC";
    if [ "$?" -eq "0" ];
        then echo "License file downloaded successfully";
    else
        echo "Something went wrong while downloading license file";
        exit 97;
    fi;

    if [ -f  "$SKETCHUPLIBPATH/$SKETCHUPLICFILENAME" ];
        then echo "License file exists";
        echo "<result>Completed Successfully</result>";
        exit 0;
    else
        echo "Could not find license file";
        echo "<result>Failed to find license file</result>";
        exit 99;
    fi;
else
    echo "COULD NOT FIND APPLICATION SUPPORT PATH FOR SKETCHUP";
    echo "<result>Failed to find application support folder</result>";
    exit 98;
fi;
exit 0;

CapU
Contributor III

I used Composer to create the package. I included the lic file in the package in the format suggested by @jdhovinetz and made sure the correct permissions were applied to the lic file. The first time it's run the user has to accept the EULA then the app opens and they have to click "Start using Sketchup" the use will never see this window again.