PDA

View Full Version : AutoCAD 2013 - Deployment Fails using custom BAT script



djfreaq
2012-08-09, 03:23 PM
I posted this on the Autodesk forums... but I think that AUGI gets a bit more traffic. So I thought I'd share here as well.

This is a deployment related thread, I'd figure it would fit well in the Network section of CAD Management. If it belongs somewhere else... move it MODs!

So anyway...

I'm creating a script to detect if AutoCAD 2011 is installed on a machine, and if it is, install AutoCAD 2013 (and then eventually uninstall 2011).

However it errors out at the silent deployment of AutoCAD 2013.

Here's the link to my detailed install log: https://dl.dropbox.com/u/22838635/AutoCAD/scripting/AutoCAD%202013%20Install.log
Here's the link ot my installation batch file: https://dl.dropbox.com/u/22838635/AutoCAD/scripting/install_2013.bat

It detects to see which version to install based on whether or not the machine is a 64bit OS or not. Then it attempts to silently install. But when it attempts to, it only gets this far:

2012/8/8:18:33:57 adamw BCE152 === Setup started on BCE152 by adamw ===
2012/8/8:18:33:57 adamw BCE152 Launch
2012/8/8:18:34:02 adamw BCE152 Installing DirectX Runtime: Z:\AutoCAD 2013 - 64\AdminImage\3rdParty\DirectX\DXSETUP.exe /silent
2012/8/8:18:34:15 adamw BCE152 Install DirectX Runtime Succeeded
2012/8/8:18:34:15 adamw BCE152 Installing AutoCADĀ® 2013: TRANSFORMS="Z:\AutoCAD 2013 - 64\AdminImage\x64\en-us\acad\acad.mst;Z:\AutoCAD 2013 - 64\AdminImage\x64\acad\acad-AutoCAD 2013 - 64.mst" ADSK_EULA_STATUS=#1 MUILANG=en-us ADSK_SOURCE_ROOT="Z:\AutoCAD 2013 - 64\AdminImage\" INSTALLDIR="C:\Program Files\Autodesk\AutoCAD 2013\" FILESINUSETEXT="" REBOOT=ReallySuppress ADSK_SETUP_EXE=1
2012/8/8:18:34:17 adamw BCE152 Install AutoCADĀ® 2013 Failed Installation aborted, Result=1603
2012/8/8:18:34:17 adamw BCE152 Rollback DirectX Runtime Failed Failure is ignored, Result=1619
2012/8/8:18:34:18 adamw BCE152 === Setup ended ===

Final info: Running the installation with Interactive mode works just fine. It's when I check the box to enable a Silent Installation for the deployment do I run into trouble.

Also, I originally attmempted to use this, but it didn't seem to work: http://wikihelp.autodesk.com/Infrastructure_Modeler/enu/2013/Help/0186-Installa186/0204-Autodesk204/0218-Alternat218/0220-Use_Batc220/0221-Sample_I221

Any thoughts?