Downloads:

1,121

Downloads of v 2022.241510:

248

Last Update:

29 Mar 2021

Package Maintainer(s):

Software Author(s):

  • Autodesk

Tags:

autodesk autocad dwg cad drawing

AutoCAD

  • 1
  • 2
  • 3

2022.241510 | Updated: 29 Mar 2021

Downloads:

1,121

Downloads of v 2022.241510:

248

Maintainer(s):

Software Author(s):

  • Autodesk

  • 1
  • 2
  • 3
AutoCAD 2022.241510

  • 1
  • 2
  • 3

This Package Contains an Exempted Check

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Exemption:

Has a dependency on .NET which requires a reboot.

Details

Scan Testing Exemption for this package version only:

Details

To install AutoCAD, run the following command from the command line or from PowerShell:

>

To upgrade AutoCAD, run the following command from the command line or from PowerShell:

>

To uninstall AutoCAD, run the following command from the command line or from PowerShell:

>

NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Enter your internal repository url

(this should look similar to https://community.chocolatey.org/api/v2)

4. Choose your deployment method:


choco upgrade autocad -y --source="'STEP 3 URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade autocad -y --source="'STEP 3 URL'"
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Ensure autocad installed
  win_chocolatey:
    name: autocad
    state: present
    version: 2022.241510
    source: STEP 3 URL

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'autocad' do
  action    :install
  version  '2022.241510'
  source   'STEP 3 URL'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


Chocolatey::Ensure-Package
(
    Name: autocad,
    Version: 2022.241510,
    Source: STEP 3 URL
);

Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.


cChocoPackageInstaller autocad
{
   Name     = 'autocad'
   Ensure   = 'Present'
   Version  = '2022.241510'
   Source   = 'STEP 3 URL'
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'autocad':
  provider => 'chocolatey',
  ensure   => '2022.241510',
  source   => 'STEP 3 URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


salt '*' chocolatey.install autocad version="2022.241510" source="STEP 3 URL"

See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package was approved by moderator virtualex on 01 Apr 2021.

Description

AutoCAD is computer-aided design (CAD) software that architects, engineers, and construction professionals rely on to create precise 2D and 3D drawings.

System requirements for AutoCAD 2022

Operating System: 64-bit Microsoft® Windows® 10


tools\chocolateybeforemodify.ps1
$ErrorActionPreference = 'Stop';

#we are removing all packages named with a yearly release to prepare for an upgrade to next years version

$packageArgsACAOE  = @{
  packageName    = 'ACA & MEP 2022 Object Enabler'
  fileType       = 'msi'
  silentArgs     = "{C8DFC969-241E-4707-A93B-08C88821D22B} /qn /norestart"
}
Uninstall-ChocolateyPackage @packageArgsACAOE

$packageArgsPS  = @{
  packageName    = 'AutoCAD 2022 - English Product Specific Pack'
  fileType       = 'msi'
  silentArgs     = "{28B89EEF-5101-0409-2102-CF3F3A09B77D} /qn /norestart"
}
Uninstall-ChocolateyPackage @packageArgsPS

$packageArgsPrivate  = @{
  packageName    = 'ACAD Private'
  fileType       = 'msi'
  silentArgs     = "{28B89EEF-5101-0000-3102-CF3F3A09B77D} /qn /norestart"
}
Uninstall-ChocolateyPackage @packageArgsPrivate

$packageArgsACAD = @{
  packageName    = 'AutoCAD 2022'
  fileType       = 'msi'
  silentArgs     = "{28B89EEF-5101-0000-0102-CF3F3A09B77D} /qn /norestart"
}
Uninstall-ChocolateyPackage @packageArgsACAD

$packageArgsLP  = @{
  packageName    = 'AutoCAD 2022 Language Pack - English'
  fileType       = 'msi'
  silentArgs     = "{28B89EEF-5101-0409-1102-CF3F3A09B77D} /qn /norestart"
}
Uninstall-ChocolateyPackage @packageArgsLP

$packageArgsILB  = @{
  packageName    = 'Autodesk Material Library Base Resolution Image Library 2022'
  fileType       = 'msi'
  silentArgs     = "{6256584F-B04B-41D4-8A59-44E70940C473} /qn /norestart"
}
Uninstall-ChocolateyPackage @packageArgsILB

$packageArgsCM   = @{
  packageName    = 'Autodesk Material Library 2022'
  fileType       = 'msi'
  silentArgs     = "{A9221A68-5AD0-4215-B54F-CB5DBA4FB27C} /qn /norestart"
}
Uninstall-ChocolateyPackage @packageArgsCM
tools\chocolateyinstall.ps1
$ErrorActionPreference = 'Stop';

$url             = 'https://efulfillment.autodesk.com/NetSWDLD/2022/ACD/1E7D4EF7-A28E-3D3E-BA3C-C6FAE4AAB2E0/SFX/AutoCAD_2022_English_Win_64bit_dlm.sfx.exe'
$checksum        = 'F7C886D879BD311635EBF229B9F5D9B6CE2171C668E905EE83C239FE9BBF2FB9'

$unzip           = Join-Path $env:TEMP 'AutoCAD_2022_English_Win_64bit_dlm'
$packageArgsURL  = @{
  packageName    = $env:ChocolateyPackageName
  fileType       = 'exe'
  url            = $url
  softwareName   = 'autocad*'
  checksum       = $checksum
  checksumType   = 'sha256'
  silentArgs     = "-suppresslaunch -d $env:TEMP"
  validExitCodes = @(0, 3010, 1641)
}
Install-ChocolateyPackage @packageArgsURL

#remove any reboot requests that may block the installation
$RegRebootRequired = "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired"
if (Test-path $RegRebootRequired)
{
    Remove-Item -Path $RegRebootRequired
}

#setup.exe is apparently not silent so we have to install all parts individually below
$adsso           = Join-Path $unzip 'x64\AdSSO\AdSSO.msi'
$packageArgsAdSSO  = @{
  packageName    = 'Autodesk Single Sign On Component'
  fileType       = 'msi'
  file           = $adsso
  softwareName   = 'Autodesk Single Sign On Component*'
  silentArgs     = '/qn /norestart'
  validExitCodes = @(0, 3010, 1641)
}
Install-ChocolateyInstallPackage @packageArgsAdSSO

$cm              = Join-Path $unzip 'Content\ADSKMaterials\CM\MaterialLibrary2022.msi'
$packageArgsCM   = @{
  packageName    = 'Autodesk Material Library 2022'
  fileType       = 'msi'
  file           = $cm
  softwareName   = 'Autodesk Material Library 2022*'
  silentArgs     = '/qn /norestart'
  validExitCodes = @(0, 3010, 1641)
}
Install-ChocolateyInstallPackage @packageArgsCM

$ilb             = Join-Path $unzip 'Content\ADSKMaterials\ILB\BaseImageLibrary2022.msi'
$packageArgsILB  = @{
  packageName    = 'Autodesk Material Library Base Resolution Image Library 2022'
  fileType       = 'msi'
  file           = $ilb
  softwareName   = 'Autodesk Material Library Base Resolution Image Library 2022*'
  silentArgs     = '/qn /norestart'
  validExitCodes = @(0, 3010, 1641)
}
Install-ChocolateyInstallPackage @packageArgsILB

$adsklic         = Join-Path $unzip 'x86\Licensing\AdskLicensing-installer.exe'
$packageArgsLic  = @{
  packageName    = 'Autodesk Licensing Installer'
  fileType       = 'exe'
  file           = $adsklic
  softwareName   = 'Autodesk Licensing Installer*'
  silentArgs     = '--mode unattended'
  validExitCodes = @(0, 3010, 1641)
}
Install-ChocolateyInstallPackage @packageArgsLic

$acad            = Join-Path $unzip 'x64\acad\acad.msi'
$packageArgsACAD = @{
  packageName    = 'AutoCAD 2022'
  fileType       = 'msi'
  file           = $acad
  softwareName   = 'AutoCAD 2022*'
  silentArgs     = '/qn /norestart'
  validExitCodes = @(0, 3010, 1641)
}
Install-ChocolateyInstallPackage @packageArgsACAD

$acadprivate     = Join-Path $unzip 'x64\acadprivate\acadprivate.msi'
$packageArgsPrivate  = @{
  packageName    = 'ACAD Private'
  fileType       = 'msi'
  file           = $acadprivate
  softwareName   = 'ACAD Private*'
  silentArgs     = 'ADSK_ODIS_SETUP="1" /qn /norestart'
  validExitCodes = @(0, 3010, 1641)
}
Install-ChocolateyInstallPackage @packageArgsPrivate

$acadlp          = Join-Path $unzip 'x64\en-US\acadlp\acadlp.msi'
$packageArgsLP  = @{
  packageName    = 'AutoCAD 2022 Language Pack - English'
  fileType       = 'msi'
  file           = $acadlp
  softwareName   = 'AutoCAD 2022 Language Pack - English*'
  silentArgs     = 'ADSK_ODIS_SETUP="1" /qn /norestart'
  validExitCodes = @(0, 3010, 1641)
}
Install-ChocolateyInstallPackage @packageArgsLP

$acadps          = Join-Path $unzip 'x64\en-US\acadps\acadps.msi'
$packageArgsPS  = @{
  packageName    = 'AutoCAD 2022 - English Product Specific Pack'
  fileType       = 'msi'
  file           = $acadps
  softwareName   = 'AutoCAD 2022 - English Product Specific Pack*'
  silentArgs     = 'ADSK_ODIS_SETUP="1" /qn /norestart'
  validExitCodes = @(0, 3010, 1641)
}
Install-ChocolateyInstallPackage @packageArgsPS

$acaoe           = Join-Path $unzip 'x64\acaoe\acaoe.msi'
$packageArgsACAOE  = @{
  packageName    = 'ACA & MEP 2022 Object Enabler'
  fileType       = 'msi'
  file           = $acaoe
  softwareName   = 'ACA & MEP 2022 Object Enabler*'
  silentArgs     = 'ADSK_ODIS_SETUP="1" /qn /norestart'
  validExitCodes = @(0, 3010, 1641)
}
Install-ChocolateyInstallPackage @packageArgsACAOE

$savetoweb       = Join-Path $unzip 'x64\savetowebandmobile\autodesksavetowebandmobile.msi'
$packageArgsS2Web  = @{
  packageName    = 'Autodesk Save to Web and Mobile'
  fileType       = 'msi'
  file           = $savetoweb
  softwareName   = 'Autodesk Save to Web and Mobile*'
  silentArgs     = '/qn /norestart'
  validExitCodes = @(0, 3010, 1641)
}
Install-ChocolateyInstallPackage @packageArgsS2Web

$ags             = Join-Path $unzip 'x64\AGS\Autodesk Genuine Service.msi'
$packageArgsAGS  = @{
  packageName    = 'Autodesk Genuine Service'
  fileType       = 'msi'
  file           = $ags
  softwareName   = 'Autodesk Genuine Service*'
  silentArgs     = '/qn /norestart'
  validExitCodes = @(0, 3010, 1641)
}
Install-ChocolateyInstallPackage @packageArgsAGS

$adskapp         = Join-Path $unzip 'x86\ADSKAPP\AdApplicationManager-installer.exe'
$packageArgsADSKAPP = @{
  packageName    = 'Autodesk Desktop app'
  fileType       = 'exe'
  file           = $adskapp
  softwareName   = 'Autodesk Desktop app*'
  silentArgs     = '--mode unattended'
  validExitCodes = @(0, 3010, 1641)
}
Install-ChocolateyInstallPackage @packageArgsADSKAPP

$appmanager      = Join-Path $unzip 'x64\appmanager\autodeskappmanager.msi'
$packageArgsAppMan  = @{
  packageName    = 'Autodesk App Manager'
  fileType       = 'msi'
  file           = $appmanager
  softwareName   = 'Autodesk App Manager*'
  silentArgs     = '/qn /norestart'
  validExitCodes = @(0, 3010, 1641)
}
Install-ChocolateyInstallPackage @packageArgsAppMan

$featuredapps    = Join-Path $unzip 'x64\featuredapps\autodeskfeaturedapps.msi'
$packageArgsFeat  = @{
  packageName    = 'Autodesk Featured Apps'
  fileType       = 'msi'
  file           = $featuredapps
  softwareName   = 'Autodesk Featured Apps*'
  silentArgs     = '/qn /norestart'
  validExitCodes = @(0, 3010, 1641)
}
Install-ChocolateyInstallPackage @packageArgsFeat

$webfileopen     = Join-Path $unzip 'x64\webfileopen\webfileopen.msi'
$packageArgsWebFile  = @{
  packageName    = 'AutoCAD Open in Desktop'
  fileType       = 'msi'
  file           = $webfileopen
  softwareName   = 'AutoCAD Open in Desktop*'
  silentArgs     = '/qn /norestart'
  validExitCodes = @(0, 3010, 1641)
}
Install-ChocolateyInstallPackage @packageArgsWebFile
tools\chocolateyuninstall.ps1
$ErrorActionPreference = 'Stop';

#uninstalling autodesk desktop app requires some prep
Stop-Process -Name "Autodesk*" -Force
Stop-Service -Name "AdAppMgrSvc"
Remove-Item –path C:\ProgramData\Autodesk\SDS –recurse
$packageArgs = @{
  packageName   = $env:ChocolateyPackageName
  fileType      = 'exe'
  silentArgs    = '--mode unattended'
  file			= 'C:\Program Files (x86)\Autodesk\Autodesk Desktop App\removeAdAppMgr.exe'
}
Uninstall-ChocolateyPackage @packageArgs

Log in or click on link to see number of positives.

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.

Version Downloads Last Updated Status
Autocad (64-bit) 2020.01.24 873 Wednesday, April 15, 2020 Approved

Discussion for the AutoCAD Package

Ground Rules:

  • This discussion is only about AutoCAD and the AutoCAD 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 AutoCAD, 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