Downloads:

58,009

Downloads of v 2022.24.1.51:

8,919

Last Update:

29 Mar 2021

Package Maintainer(s):

Software Author(s):

  • Autodesk

Tags:

trueview autodesk autocad dwg dwf dxf viewer

DWG TrueView

  • 1
  • 2
  • 3

2022.24.1.51 | Updated: 29 Mar 2021

Downloads:

58,009

Downloads of v 2022.24.1.51:

8,919

Maintainer(s):

Software Author(s):

  • Autodesk

  • 1
  • 2
  • 3
DWG TrueView 2022.24.1.51

  • 1
  • 2
  • 3

This Package Contains an Exempted Check

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Exemption:

Dependencies require reboot.

Details

Scan Testing Exemption for this package version only:

Details

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

>

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

>

To uninstall DWG TrueView, 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 dwgtrueview -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 dwgtrueview -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 dwgtrueview installed
  win_chocolatey:
    name: dwgtrueview
    state: present
    version: 2022.24.1.51
    source: STEP 3 URL

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


chocolatey_package 'dwgtrueview' do
  action    :install
  version  '2022.24.1.51'
  source   'STEP 3 URL'
end

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


Chocolatey::Ensure-Package
(
    Name: dwgtrueview,
    Version: 2022.24.1.51,
    Source: STEP 3 URL
);

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


cChocoPackageInstaller dwgtrueview
{
   Name     = 'dwgtrueview'
   Ensure   = 'Present'
   Version  = '2022.24.1.51'
   Source   = 'STEP 3 URL'
}

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


package { 'dwgtrueview':
  provider => 'chocolatey',
  ensure   => '2022.24.1.51',
  source   => 'STEP 3 URL',
}

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


salt '*' chocolatey.install dwgtrueview version="2022.24.1.51" 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.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

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

Description

View DWG files or convert them to work with older versions of AutoCAD software.

System requirements for DWG TrueView 2022

Operating System: 64-bit Microsoft® Windows® 10

Package Parameters

The following package parameters can be set (choose only one!):

  • /French: - Install French language version
  • /Japanese: - Install Japanese language version
  • If no parameter is given the English language version will be installed.

To pass parameters, use --params "''" (e.g. choco install dwgtrueview --params="'/French'").
To have choco remember parameters on upgrade, be sure to set choco feature enable -n=useRememberedArgumentsForUpgrades.


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

#Uninstall DWG TrueView 2022 before upgrade
$packageName = 'DWG TrueView 2022*'
$validExitCodes = @(0, 3010, 1605, 1614, 1641)
Get-ItemProperty -Path @('HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*',
                         'HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*') `
                 -ErrorAction:SilentlyContinue `
| Where-Object   {$_.DisplayName -like $packageName} `
| ForEach-Object {
	$silentArgs = '/qn /norestart'
	$file = "$($_.UninstallString)"
	$silentArgs = "$($_.PSChildName) $silentArgs"
	$file = ''
	Uninstall-ChocolateyPackage -PackageName "$packageName" -FileType "msi" -SilentArgs "$($silentArgs)" -File "$file" -ValidExitCodes $validExitCodes
	}
tools\chocolateyinstall.ps1
$ErrorActionPreference = 'Stop';
$toolsDir        = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$pp              = Get-PackageParameters

if ($pp.'French') {
Write-Host "INSTALLING DWG TRUEVIEW 2022 - FRENCH"
$url             = 'https://efulfillment.autodesk.com/NetSWDLD/2022/ACD/14440FCD-9E86-3EBF-855F-4478C8A683D6/SFX/DWGTrueView_2022_French_64bit_dlm.sfx.exe'
$checksum        = '7DA5DA429FDB9619B8EDC83373F3C82C7DFD54258925E642A246B39FB3F3DC2B'
$unzip           = Join-Path $env:TEMP 'DWGTrueView_2022_French_64bit_dlm\x64\dwgviewr\dwgviewr.msi'
$regkey          = 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{28B89EEF-5128-040C-0100-CF3F3A09B77D}'
$uninstall       = 'MsiExec.exe /X{28B89EEF-5128-040C-0100-CF3F3A09B77D}'
}

elseif ($pp.'Japanese') {
Write-Host "INSTALLING DWG TRUEVIEW 2022 - JAPANESE"
$url             = 'https://efulfillment.autodesk.com/NetSWDLD/2022/ACD/51735649-303B-3616-ABBC-448420E5C835/SFX/DWGTrueView_2022_Japanese_64bit_dlm.sfx.exe'
$checksum        = 'CAA0D4F25981C68C6FB9F40CA4F3B478D57F1289B6052F8656520324D71DD08B'
$unzip           = Join-Path $env:TEMP 'DWGTrueView_2022_Japanese_64bit_dlm\x64\dwgviewr\dwgviewr.msi'
$regkey          = 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{28B89EEF-5128-0411-0100-CF3F3A09B77D}'
$uninstall       = 'MsiExec.exe /X{28B89EEF-5128-0411-0100-CF3F3A09B77D}'
}

else {
Write-Host "INSTALLING DWG TRUEVIEW 2022 - ENGLISH"
$url             = 'https://efulfillment.autodesk.com/NetSWDLD/2022/ACD/D7A6621A-1A6A-3DAC-BBD2-9EB566035195/SFX/DWGTrueView_2022_English_64bit_dlm.sfx.exe'
$checksum        = 'B154E86B005C51232755BA99B89DE0D402D21FD1B42F32021290EDCD2BDC4193'
$unzip           = Join-Path $env:TEMP 'DWGTrueView_2022_English_64bit_dlm\x64\dwgviewr\dwgviewr.msi'
$regkey          = 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{28B89EEF-5128-0409-0100-CF3F3A09B77D}'
$uninstall       = 'MsiExec.exe /X{28B89EEF-5128-0409-0100-CF3F3A09B77D}'
}

$packageArgsUnzip = @{
  packageName    = $env:ChocolateyPackageName
  fileType       = 'exe'
  url            = $url
  softwareName   = 'dwgtrueview*'
  checksum       = $checksum
  checksumType   = 'sha256'
  silentArgs     = "-suppresslaunch -d $env:TEMP"
  validExitCodes = @(0, 3010, 1641)
}

$packageArgsMSI  = @{
  packageName    = $env:ChocolateyPackageName
  fileType       = 'msi'
  file           = $unzip
  softwareName   = 'dwgtrueview*'
  silentArgs     = "/q ADSK_SETUP_EXE=1"
  validExitCodes = @(0, 3010, 1641)
}

#remove files and versions from older choco installations before upgrading
$oldextract    = Join-Path $toolsDir 'DWGTrueView*'
$validExitCodes  = @(0, 3010, 1605, 1614, 1641)
$reg2020eng = "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{28B89EEF-3028-0409-0100-CF3F3A09B77D}"
if (Test-path $reg2020eng)
{ Uninstall-ChocolateyPackage -PackageName "DWG Trueview 2020" -FileType "msi" -SilentArgs "{28B89EEF-3028-0409-0100-CF3F3A09B77D} /qn /norestart" -File '' -ValidExitCodes $validExitCodes }
$reg2021eng = "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{28B89EEF-4128-0409-0100-CF3F3A09B77D}"
if (Test-path $reg2021eng)
{ Uninstall-ChocolateyPackage -PackageName "DWG Trueview 2021" -FileType "msi" -SilentArgs "{28B89EEF-4128-0409-0100-CF3F3A09B77D} /qn /norestart" -File '' -ValidExitCodes $validExitCodes }
Remove-Item $oldextract -Recurse -Force -ErrorAction Ignore

#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
}

#unzip and install (using msi since setup.exe not silent)
Install-ChocolateyPackage @packageArgsUnzip
Install-ChocolateyInstallPackage @packageArgsMSI

#msi installer is missing uninstall entry, creating it manually
if (Test-path $regkey)
{
Set-Itemproperty -path $regkey -Name 'NoRemove' -value '0' -Type dword
Set-Itemproperty -path $regkey -Name 'SystemComponent' -value '0' -Type dword
Set-ItemProperty -path $regkey -name 'UninstallString' -value $uninstall -Type ExpandString
}

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
Autodesk DWG TrueView (64-bit) 2020.01.22 34838 Tuesday, April 14, 2020 Approved
Autodesk DWG TrueView 2020 (64-bit only) 2019.03.27 14252 Sunday, May 5, 2019 Approved

Discussion for the DWG TrueView Package

Ground Rules:

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