AutoCAD
This is a silent installer and deinstaller for AutoCAD, CAD software. More info from here.
For AutoCAD 2009 (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%\autocad2009.
You also need to install DirectX 9 and Visual C++ 2005 Redistributable.
<package id="autocad2009" name="AutoCAD 2009" revision="1" priority="10" reboot=
"false">
<depends package-id="directx9"/>
<depends package-id="vc2005-redist"/>
<check type="uninstall" condition="exists" path="AutoCAD 2009 - 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\autocad2009.log /i %SOFTWARE%\autocad2009\x86\acad.msi TRANSFORMS=%SOFTWARE%\x86\autocad2009\acad-acad2009.mst REBOOT=ReallySuppress' />
<upgrade cmd='msiexec /qn /l* c:\netinst\logs\autocad2009.log /i %SOFTWARE%\autocad2009\x86\acad.msi TRANSFORMS=%SOFTWARE%\autocad2009\x86\acad-acad2009.mst REBOOT=ReallySuppress' />
<remove cmd="msiexec /qn /l* c:\netinst\logs\autocad2009.log /x{5783F2D7-7001-0404-0012-0060B0CE6BBA}" />
</package>
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.
You also need to install DirectX 9. If you're running Vista, you also need to include the [vista-gpo-fix.mst].
<package id="autocad2008" name="AutoCAD 2008" revision="1" priority="0" reboot="true">
<depends package-id="directx9"/>
<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%\autocad2008\acad.msi TRANSFORMS=%SOFTWARE%\autocad2008\acad-acad2008.mst;%SOFTWARE%\autocad2008\vista-gpo-fix.mst REBOOT=ReallySuppress' />
<upgrade cmd='msiexec /qn /l* c:\netinst\logs\autocad2008.log /i %SOFTWARE%\autocad2008\acad.msi TRANSFORMS=%SOFTWARE%\autocad2008\acad-acad2008.mst;%SOFTWARE%\autocad2008\vista-gpo-fix.mst REBOOT=ReallySuppress' />
<remove cmd="msiexec /qn /l* c:\netinst\logs\autocad2008.log /x{5783F2D7-6001-0404-0012-0060B0CE6BBA}" /> </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>