Changes

AutoCAD

1,586 bytes added, 02:20, 22 September 2008
no edit summary
This is a silent installer and deinstaller for AutoCAD.
 
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.
 
<source lang="xml">
<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>
</source>
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 [[http://images.autodesk.com/adsk/files/vista_gpo_hotfix.html vista-gpo-fix.mst]].
<source lang="xml">
<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="1" />
</install>
<install cmd='msiexec /qn /l* c:\netinst\logs\autocad2008.log /i %SOFTWARE%\autocad2008\acad.msi TRANSFORMS=%SOFTWARE%\autocad2008\acad-AutoCAD2008acad2008.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}" /> <upgrade cmd='' /> </package>
</source>
26
edits