Installation & Licensing

Reply
New Member
SzabuniaT
Posts: 2
Registered: ‎12-04-2013
Message 1 of 4 (453 Views)

Batch install - Waiting for install to finish

453 Views, 3 Replies
12-04-2013 04:37 AM

I'm trying to install the Autodesk2013 Suite using this batch

 

@echo off
title Installing Autodesk Suite then logging off....

NET USE \\directory /user:********\****** ****** /persistent:YES

ECHO "Installing Autodesk Suite. This workstation will log off automatically when installation is complete."

START /WAIT /B "" "....\Setup.exe" /qb /I \AutoDesk2013.ini /language en-us

ECHO "Finished"

TIMEOUT /T 10
SHUTDOWN /l /f
EXIT

It initialises the install perfectly fine but it isn't waiting until it's finished, instantly moves on. Does this Setup invoke msiexec or something along those lines so the /WAIT doesn't work? If so, is there any way around it because we need to wait until it's finished to be able to log off the account.

 

Thanks in advance.

 

Employee
DannyHubbard
Posts: 255
Registered: ‎05-17-2007
Message 2 of 4 (445 Views)

Re: Batch install - Waiting for install to finish

12-04-2013 07:22 AM in reply to: SzabuniaT

You should just need to add a /W switch to the Setup to get it to wait for the install to finish.

Something like,

 

START /WAIT /B "" "....\Setup.exe" /w /qb /I \AutoDesk2013.ini /language en-us

 

Thanks,

Danny



Danny Hubbard
QA Analyst
Autodesk, Inc.
New Member
SzabuniaT
Posts: 2
Registered: ‎12-04-2013
Message 3 of 4 (441 Views)

Re: Batch install - Waiting for install to finish

12-04-2013 08:01 AM in reply to: DannyHubbard

That didn't work, from what I gathered it's because the Setup.exe launches a separate installer  Here's a workaround that does, little bit hacky though.

 

 

@echo off title Installing Autodesk Suite then logging off....

NET USE \\**** /user:*****\***** ******** /persistent:YES

ECHO "Installing Autodesk Suite. This workstation will log off automatically when installation is complete."

START /B "" "\AdminImage\Setup.exe" /qb /I \AdminImage\AutoDesk2013.ini /language en-us

TIMEOUT /T 10

SETLOCAL

SET TARGET=Setup.exe @ECHO Started!

:LOOP

ping -5 2 localhost >NUL FOR /F %%T IN ('tasklist.exe /FI "IMAGENAME eq %TARGET%"') DO (   SET FOUND=0   IF "%%~T"=="%TARGET%" SET FOUND=1 )

IF %FOUND%==1 GOTO :LOOP

ECHO "Finished"

TIMEOUT /T 10

SHUTDOWN /l /f

EXIT

 

Employee
DannyHubbard
Posts: 255
Registered: ‎05-17-2007
Message 4 of 4 (437 Views)

Re: Batch install - Waiting for install to finish

12-04-2013 10:02 AM in reply to: SzabuniaT

A few other options would be to try the following.

 

CALL "" "....\Setup.exe" /w /qb /I \AutoDesk2013.ini /language en-us

 

Or since it appears you have already created a deployment you could just run the shortcut link for the deployment with something like.

 

CALL "\\server_name\share_name\deployment_folder\deployment_name.lnk" /w

 

Thanks,

Danny



Danny Hubbard
QA Analyst
Autodesk, Inc.

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community


Up & Ready Blog

Boldly Install, Configure and Deploy Autodesk Software.

AutodeskHelp Blog

Your one-stop shop for the latest solutions, breaking news, and behind the scenes access to the world of Autodesk support.

Connect with Us

Twitter

Pinterest

Blog

Youtube