41
edits
Changes
no edit summary
This is a silent installer and uninstaller for Autodesk DWG TrueView.
==Autodesk DWG TrueView 2010==
I had a few problems getting this to work so I hope you find this package useful.<br>
<br>
This is the silent installer package for the freeware Autodesk DWG Trueview 2010, used for viewing AutoCAD DWG files.<br>
<br>
This application relies on some DirectX components which are not installed as part of Windows, I have created a separate installer for DirectX and I used the DirectX installer which is located in the '''Support''' directory inside the DWG TrueView installer file (I had too many problems with the redistributable package downloaded from Microsoft).<br>
<br>
This package also relies on DotNet 3.5 SP1 which I already have pushed out via WSUS however there is a [[Microsoft_.NET_Framework|WPKG package]] for this too. It also relies on the Microsoft Visual C++ 2008 SP1 redistributable. I have packages for all of these which are dependencies of my DWG TrueView package.<br>
<br>
You need to extract the contents of the DWG TrueView file (get it [http://usa.autodesk.com/adsk/servlet/pc/index?id=6703438&siteID=123112 here]) to your WPKG installation directory, use [[7-Zip]]. <br>
<br>
I then copy the '''DirectX directory''' located inside the '''Support''' folder to a separate location for the DirectX package, you can just leave it where it is and install from there. Do the same for the VCRedist directory.<br>
<br>
<source lang="xml">
<?xml version="1.0" encoding="UTF-8"?>
<packages>
<package
id="autodeskdwgtrueview"
name="Autodesk DWG True View 2010"
revision="1"
reboot="false"
priority="20">
<depends package-id="directx" />
<depends package-id="vcredist_x86_2008SP1" />
<check type="uninstall" condition="exists" path="DWG TrueView 2010" />
<install cmd='msiexec /qn /norestart /i "%SOFTWARE%\autodesk\DwgTrueView2010\DWGViewr.msi"' />
<!-- Move the Start Menu link to Autodesk so it sits with Design Review link instead of having it's own nested directory -->
<install cmd='%COMSPEC% /c xcopy "%SOFTWARE%\autodesk\DwgTrueView2010\*.lnk" "%ALLUSERSPROFILE%\Start Menu\Programs\Autodesk\" /Y' />
<install cmd='%COMSPEC% /c rmdir /q /s "%ALLUSERSPROFILE%\Start Menu\Programs\Autodesk\DWG TrueView 2010\"' />
<!-- Remove the desktop shortcut, users can create their own if desired -->
<install cmd='%COMSPEC% /c del /q /s "%ALLUSERSPROFILE%\Desktop\DWG Trueview 2010.lnk"' />
<upgrade cmd='msiexec /qn /norestart /i "%SOFTWARE%\autodesk\DwgTrueView2010\DWGViewr.msi"' />
<!-- Move the Start Menu link to Autodesk so it sits with Design Review link instead of having it's own nested directory -->
<upgrade cmd='%COMSPEC% /c xcopy "%SOFTWARE%\autodesk\DwgTrueView2010\*.lnk" "%ALLUSERSPROFILE%\Start Menu\Programs\Autodesk\" /Y' />
<upgrade cmd='%COMSPEC% /c rmdir /q /s "%ALLUSERSPROFILE%\Start Menu\Programs\Autodesk\DWG TrueView 2010\"' />
<!-- Remove the desktop shortcut, users can create their own if desired -->
<upgrade cmd='%COMSPEC% /c del /q /s "%ALLUSERSPROFILE%\Desktop\DWG Trueview 2010.lnk"' />
<remove cmd='msiexec /qn /norestart /x "%SOFTWARE%\autodesk\DwgTrueView2010\DWGViewr.msi"' />
</package>
</packages>
</source>
==Autodesk DWG TrueView 2008==
<source lang="xml">
<?xml version="1.0" encoding="UTF-8"?>
<!--