2010/12/29 cleitet at gmail.com <cleitet at gmail.com> > Hi, here's our Autocad2011 package FYI. > > <package > id="autocad2011" > name="Autocad Autodesk Mechanical (Autocad 2011)" > revision="1" > reboot="false" > priority="1"> > <depends package-id="directx9" /> > <depends package-id="dotnet35" /> > <check type="uninstall" condition="exists" path="AutoCAD Mechanical > 2011" /> > <install cmd='"\\%applications%\Autocad\AutoCAD 2011 Administrative > Install\AdminImage\Setup.exe" /Q /W /I "\\%applications%\Autocad\AutoCAD > 2011 Administrative Install\AdminImage\Default.ini" /Lang en-us'> > <exit code="1641" reboot="true" /> > </install> > <remove cmd="MsiExec /q /x{5783F2D7-9005-0409-0002-0060B0CE6BBA}" /> > </package> > > You have to install the AutoCAD specific directx version included on the cd > first IIRC: > > <!-- Autocad needs directx9 --> > <!-- See http://www.appdeploy.com/packages/detail.asp?id=169 for info --> > <package > id="directx9" > name="Microsoft - Directx 9.0" > revision="10" > priority="10"> > > <check type="file" condition="versiongreaterorequal" > path="%WINDIR%\system32\dxdiag.exe" value="5.3.2600.5512"/> > > <install cmd='\\%software%\util\psexec -s -i \\%COMPUTERNAME% > \\%software%\directx9\directxsetup.exe' /> > <upgrade cmd='\\%software%\util\psexec -s -i \\%COMPUTERNAME% > \\%software%\directx9\directxsetup.exe' /> > </package> > > And .net 3.5 as well, but you probably figure that one out on your own :) > > > It doesn't work because directx seems are installaed... dxdiag.exe is version 5.3.2600.5512 but autocad says directx isn't installed. log: 2010-12-31 11:56:41, DEBUG : Checking file version 5.3.2600.5512 is versiongreaterorequal (than) 5.3.2600.5512 - got result 0 2010-12-31 11:56:41, DEBUG : Checking version of 'C:\WINDOWS\system32\dxdiag.exe' : Is 5.3.2600.5512 >= 5.3.2600.5512 ? true 2010-12-31 11:56:41, DEBUG : Package 'Microsoft - Directx 9.0' (directx9): Already installed. Skipping. 2010-12-31 11:56:41, INFO : Installing 'Autodesk Autocad 2011 NET' (autocad2011net)... 2010-12-31 11:56:41, DEBUG : Reading variables from package ... and event (in italian): Prodotto:AutoCAD 2011 - Italiano --Error :: Installare DirectX prima di procedere all'installazione di AutoCAD 2011. that means install directx before install autocad. brbrbr cheers. lewis. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20101231/496d365c/attachment.html> |