Chocolatey Fest - Chocolatey's inaugural conference on Windows Automation (WinOps) is coming - Learn more!

SketchUp Make/Pro

2016.1.1449.20170912

Package test results are passing.

This package was approved by moderator AdmiringWorm on 9/30/2017.

SketchUp is a 3D modeling computer program for a wide range of drawing applications.

  • Create 3D models of buildings, furniture, interiors, landscapes, and more.
  • Customize the SketchUp interface to reflect the way you work.
  • Share 3D models as walkthrough animations, scenes, or printouts, with realistic light and shadows. You can even print a model on a 3D printer.
  • Import files from other 3D modeling programs or tools, or export your SketchUp file for use with other popular modeling and image-editing software.

Trial/Freeware (limited functionality)

This package loads the Sketchup Pro installer which functions as follows:
* <=30 days: All SketchUp Pro features on a trial basis
* >30 days: On first run, user (admin) must make a choice:
* SketchUp Pro features expire and software becomes SketchUp Make -- a limited, non-commercial freeware version.
* Buy a Pro license.

Freeware Licensing Note

SketchUp Make software is licensed only for non-commercial use for your internal business purposes. Non-commercial use means that you may not sell, rent, lease or lend the output of the Software. Any other use requires the purchase of a SketchUp Pro license.

Package Parameters

The following package parameters can be set to pre-populate an authorization code. (Users will still have to authorize the software with a couple clicks.):

  • /ActivationFile:<path> -- (Filepath or URL) to copy a remote "Activation Info file".
  • /SN:<Your serial number> -- To create the activation file. Use with /AuthCode.
  • /AuthCode:<Your authorization code> -- To create the activation file. Use with /SN.

These parameter can be passed to the installer with the use of -params.
Examples :
* -params '"/SN:RA-99999999-ALR /AuthCode:ab3de21fgh"'.
* -params '"/ActivationFile:http://localsite.org/activation_info.txt"'.
(note: File paths with spaces require double-double quotes around the path)

To install SketchUp Make/Pro, run the following command from the command line or from PowerShell:

C:\> choco install sketchup

To upgrade SketchUp Make/Pro, run the following command from the command line or from PowerShell:

C:\> choco upgrade sketchup

Files

Hide
  • tools\chocolateyInstall.ps1 Show
    $ErrorActionPreference = 'Stop'
    $packageName = 'sketchup'
    $version = '2016.1.1449'
    
    $UnzipArgs = @{
       PackageName    = $packageName
       url            = 'https://dl.trimble.com/sketchup/2016/en/SketchUpPro-2016-1-1450-80430-en-x86.exe'
       url64          = 'https://dl.trimble.com/sketchup/2016/en/SketchUpPro-2016-1-1449-80430-en-x64.exe'
       checksum       = 'B0DAA3C6056FA72BE006DDB9DA87CF908336F6E948A0A131B2CDF10BADF6EEA2'
       checksum64     = 'D4632178EDD8DF013C27FC752188516C2325942FA074F432340131E0479DC98C'
       checksumType   = 'sha256'
       UnzipLocation  = Join-Path $env:temp $packageName
    }
    Install-ChocolateyZipPackage @UnzipArgs
    
    $installFile = Get-ChildItem -Path $UnzipArgs['UnzipLocation'] -Filter *.msi
    if ($installFile) {
       $installArgs = @{
          PackageName    = $packageName
          FileType       = 'msi'
          silentArgs     = "/qn /norestart /l*v `"$($env:TEMP)\$($packageName).$($env:chocolateyPackageVersion).MsiInstall.log`"" # ALLUSERS=1 DISABLEDESKTOPSHORTCUT=1 ADDDESKTOPICON=0 ADDSTARTMENU=0
          File           = $installFile.fullname
          validExitCodes = @(0,3010)
       }
       Install-ChocolateyInstallPackage @installArgs
    
    } else {
      Write-Warning "MSI install file not found."
      throw
    }
    
    $UserArguments = @{}
    
    # Parse the packageParameters using good old regular expression
    if ($env:chocolateyPackageParameters) {
       $match_pattern = "\/(?<option>([a-zA-Z]+)):(?<value>([`"'])?([a-zA-Z0-9- _\\:\.]+)([`"'])?)|\/(?<option>([a-zA-Z]+))"
       $option_name = 'option'
       $value_name = 'value'
     
       if ($env:chocolateyPackageParameters -match $match_pattern ){
          $results = $env:chocolateyPackageParameters | Select-String $match_pattern -AllMatches
          $results.matches | ForEach-Object {
          $UserArguments.Add(
             $_.Groups[$option_name].Value.Trim(),
             $_.Groups[$value_name].Value.Trim())
          }
       }
    
       $LicenseFileDestination = Join-Path $env:ProgramFiles "$packageName\$packageName $(([version]$version).major)\activation_info.txt"
    
       if ($UserArguments.ContainsKey('ActivationFile')) {
          Write-Host 'You provided a license file path.'
          $ActFilePath = $UserArguments.ActivationFile
    
          $LicenseArgs = @{
             packageName  = 'SketchupLicense'
             fileFullPath = $LicenseFileDestination
             url          = ([System.Uri]$ActFilePath).AbsoluteUri
          }
          if (([System.Uri]$ActFilePath).Scheme -eq 'file' -and 
                   (-not (Test-Path ([System.Uri]$ActFilePath).LocalPath))) {
             $msg = "***No license found at $ActFilePath.***`n" + 
                   "***You will need to manually copy an 'activation_info.txt' file to the " + 
                   "SketchUp installation directory.***`n"
             Write-Warning $msg 
          } else { Get-ChocolateyWebFile @LicenseArgs }
       } elseif ($UserArguments.ContainsKey('SN') -and $UserArguments.ContainsKey('AuthCode')) {
          Write-Host 'You provided a serial number and authorization code.'
          Write-Host 'The license will be set to "allow re-activation"' -ForegroundColor Cyan
          Write-Host 'See here for info: https://help.sketchup.com/en/article/3000285' -ForegroundColor Cyan
          $FileString = @"
    {
    "serial_number":"$($UserArguments.SN)",
    "auth_code":"$($UserArguments.AuthCode)",
    "allow_reactivation":"true"
    }
    "@
          $FileString | Out-File -FilePath $LicenseFileDestination -Force
       } else {
       Throw 'Package Parameters were found but were invalid (REGEX Failure)'
       }
    } else {
       Write-Debug 'No Package Parameters Passed in.'
    }
    
    

Virus Scan Results

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Dependencies

Package Maintainer(s)

Software Author(s)

  • Trimble Navigation Limited

Copyright

© 2012 Trimble Navigation Limited

Tags

Release Notes

(https://help.sketchup.com/en/article/141303)

Version History

Version Downloads Last updated Status
SketchUp Make/Pro 16.1.1449 4321 Friday, May 27, 2016 approved

Discussion for the SketchUp Make/Pro Package

Ground rules:

  • This discussion is only about SketchUp Make/Pro and the SketchUp Make/Pro package. If you have feedback for Chocolatey, please contact the google group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or SketchUp Make/Pro, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.

comments powered by Disqus
Chocolatey.org uses cookies to enhance the user experience of the site.
Ok