Difference between revisions of "Autodesk DWG TrueView"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m (moved DwgTrueView2008 to Autodesk Dwg TrueView: This application is now at version 2010)
Line 1: Line 1:
 
This is a silent installer and uninstaller for Autodesk DWG TrueView.
 
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">
 
<source lang="xml">
 
<?xml version="1.0" encoding="UTF-8"?>
 
<?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"?>
 +
 +
  
 
<!--                     
 
<!--                     

Revision as of 02:16, 10 December 2009

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.

This is the silent installer package for the freeware Autodesk DWG Trueview 2010, used for viewing AutoCAD DWG files.

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).

This package also relies on DotNet 3.5 SP1 which I already have pushed out via WSUS however there is a 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.

You need to extract the contents of the DWG TrueView file (get it here) to your WPKG installation directory, use 7-Zip.

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.

<?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>



Autodesk DWG TrueView 2008

<?xml version="1.0" encoding="UTF-8"?>



<!--                     
DwgTrueView homepage :
http://www.autodesk.com

Download  DwgTrueView 2010  :
http://usa.autodesk.com/adsk/servlet/index?id=6703438&siteID=123112

This version requires XP SP2 or Vista, plus Dotnet 3.5.  For earlier versions of Windows use DwgTrueView 2007.

DwgTrueView 2007 :
http://downloads.zdnet.co.uk/0,1000000375,39200343s,00.htm

(uncompress with Winrar and place in a share position)

-->

<packages>
	
	<package 
		id="dwgtrueview2008"
		name="Autodesk DWG True View 2008"
		revision="1"
		reboot="false"
		priority="20">
		
		<check type="uninstall" condition="exists" path="DWG TrueView 2008" />

                <depends package-id="dotnet20" />		

		<install cmd='msiexec /qn /norestart /i "%SOFTWARE%\DwgTrueView2008\DWGViewr.msi"' />
		
		<upgrade cmd='msiexec /qn /norestart /i "%SOFTWARE%\DwgTrueView2008\DWGViewr.msi"' />
		
		<remove cmd='msiexec /qn /norestart /x "%SOFTWARE%\DwgTrueView2008\DWGViewr.msi"' />
	
	</package>

	
	
</packages>