Installation & Licensing

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

Batch install - Waiting for install to finish

342 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
Posts: 242
Registered: ‎05-17-2007
Message 2 of 4 (334 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
Posts: 2
Registered: ‎12-04-2013
Message 3 of 4 (330 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
Posts: 242
Registered: ‎05-17-2007
Message 4 of 4 (326 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
Welcome to the new Autodesk Community!
If this is your first visit, click here to get started and make the most of the Community. Let us know what you think of the new experience in the Community Feedback Forum.

Need installation help?

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

Ask the Community




Connect with Us

Twitter

Pinterest

Blog

Youtube