Difference between revisions of "AutoCAD"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m
(autoCAD 2008)
Line 1: Line 1:
 
This is a silent installer and deinstaller for AutoCAD.
 
This is a silent installer and deinstaller for AutoCAD.
 +
 +
For AutoCAD 2008 (Chinese edition), first, you need to run the setup program and choose to create a deployment. Then copy the content of the deployment folder created into %SOFTWARE%\autocad2008.
 +
 +
<source lang="xml">
 +
<package id="autocad2008" name="AutoCAD 2008" revision="1" priority="0" reboot="true">
 +
<check type="uninstall" condition="exists" path="AutoCAD 2008 - Traditional Chinese" />
 +
<install cmd='%COMSPEC% /c mkdir c:\netinst\logs'>
 +
  <exit code="0" />
 +
  <exit code="1" />
 +
</install>
 +
<install cmd='msiexec /qn /l* c:\netinst\logs\autocad2008.log /i %SOFTWARE%\aut
 +
ocad2008\acad.msi TRANSFORMS=%SOFTWARE%\autocad2008\acad-AutoCAD2008.mst REBOOT=
 +
ReallySuppress' />
 +
<remove cmd="msiexec /qn /l* c:\netinst\logs\autocad2008.log /x{5783F2D7-6001-0
 +
404-0012-0060B0CE6BBA}" />
 +
<upgrade cmd='' />
 +
</package>
 +
</source>
 +
 +
For AutoCAD 2005 with Mechanical Desktop:
  
 
<source lang="xml">
 
<source lang="xml">

Revision as of 06:43, 2 September 2008

This is a silent installer and deinstaller for AutoCAD.

For AutoCAD 2008 (Chinese edition), first, you need to run the setup program and choose to create a deployment. Then copy the content of the deployment folder created into %SOFTWARE%\autocad2008.

<package id="autocad2008" name="AutoCAD 2008" revision="1" priority="0" reboot="true">
 <check type="uninstall" condition="exists" path="AutoCAD 2008 - Traditional Chinese" />
 <install cmd='%COMSPEC% /c mkdir c:\netinst\logs'>
  <exit code="0" />
  <exit code="1" />
 </install>
 <install cmd='msiexec /qn /l* c:\netinst\logs\autocad2008.log /i %SOFTWARE%\aut
ocad2008\acad.msi TRANSFORMS=%SOFTWARE%\autocad2008\acad-AutoCAD2008.mst REBOOT=
ReallySuppress' />
 <remove cmd="msiexec /qn /l* c:\netinst\logs\autocad2008.log /x{5783F2D7-6001-0
404-0012-0060B0CE6BBA}" />
 <upgrade cmd='' />
 </package>

For AutoCAD 2005 with Mechanical Desktop:

 <package id="autocad" name="AutoCAD" revision="1" priority="0" reboot="false">

 <check type="uninstall" condition="exists" path="Mechanical Desktop 2004" />

 <install cmd='msiexec /l* c:\netinst\logs\autocad.log /qb REBOOT=ReallySuppress /i %SOFTWARE%\autocad\acad.msi TRANSFORMS=%SOFTWARE%\autocad\CavAcad.mst' />

 <install cmd='msiexec /l* c:\netinst\logs\autoexp.log /qb REBOOT=ReallySuppress /i %SOFTWARE%\autocad\support\Express\ExpressTools.msi ' />

 <install cmd='cacls "%ProgramFiles%\Autodesk\MDT 2004\UserDataCache" /t /e /g Users:F' />

 <remove cmd='MsiExec.exe /qr /l* c:\\netinst\\logs\\acad2005.log /x{5783F2D7-0301-0409-0002-0060B0CE6BBA}' />

 </package>

 <package id="autocad10mdt" name="autoCAD 10 - MDT2006" revision="1" priority="0" reboot="false">

 <check type="uninstall" condition="exists" path="Autodesk Mechanical Desktop 2006" />

 <check type="uninstall" condition="exists" path="Autodesk Inventor Professional 10" />

 <install cmd='msiexec /qn /i %SOFTWARE%\Autodesk\Inventor10\AutoCAD\AdminImage\acad.msi  TRANSFORMS=%SOFTWARE%\Autodesk\Inventor10\AutoCAD\AdminImage\inventor.mst' /> 

 <install cmd='msiexec /qn /i \\server\share\Autodesk\Inventor10\Inventor\AdminImage\acad.msi TRANSFORMS=%SOFTWARE\Autodesk\Inventor10\Inventor\AdminImage\inventorsp.mst' />

 </package>