Installation & Licensing
Welcome to Autodesk’s Installation and Licensing Forums. Share your knowledge, ask questions, and explore popular Download, Installation, and Licensing topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Batch install - Waiting for install to finish

5 REPLIES 5
Reply
Message 1 of 6
SzabuniaT
5971 Views, 5 Replies

Batch install - Waiting for install to finish

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.

 

5 REPLIES 5
Message 2 of 6
DannyHubbard
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.
Message 3 of 6
SzabuniaT
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

 

Message 4 of 6
DannyHubbard
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.
Message 5 of 6

Thanks Danny.  It looks like the CALL is holding the batch file.

 

🙂
Sara

 

Arlington County Schools

Arlington, VA

Message 6 of 6

@DannyHubbard  You sir are a kind one! Thank you very much for the gift of "/w"

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Administrator Productivity


Autodesk Design & Make Report