/build/static/layout/Breadcrumb_cap_w.png

can't unzip large zip file in script process

I have a script that installs office 365.  Attached is the list of tasks. but it seems to be failing at the part where it unzips the Office365.zip late in task 1. If I manually unzip the file in C:\ProgramData\Quest\KACE\downloads\217906 to C:\ProgramData\Quest\Data\Admin\365 and run the script again it installs office. Any Idea where I'm going wrong?


Below are the logs and a screenshot of the tasks list fgr https://imgur.com/hDF5uWP

Started:
   

10/02/2019 10:06:21

Finished:
   

10/02/2019 10:12:49

Elapsed Time:
   

388 seconds

Status:
   

4

Output Log

Running as SYSTEM

File does not exist: C:\ProgramData\Quest\Data\Admin\365\32\Setup.exe

Installed: (P)-Office365-20420

C:\ProgramData\Quest\KACE\kbots_cache\packages\kbots\1905>If exist "C:\ProgramData\Quest\Data\Admin\365" (rmdir "C:\ProgramData\Quest\Data\Admin\365" /S /Q  )

C:\ProgramData\Quest\KACE\kbots_cache\packages\kbots\1905>mkdir C:\ProgramData\Quest\Data\Admin\365

C:\ProgramData\Quest\KACE\kbots_cache\packages\kbots\1905>exit /b 0

Launched Process: kace7733.bat

File does not exist: C:\ProgramData\Quest\Data\Admin\365\32\Setup.exe

Installed: (P)-Office365-20420

C:\ProgramData\Quest\KACE\kbots_cache\packages\kbots\1905>If exist "C:\ProgramData\Quest\Data\Admin\365" (rmdir "C:\ProgramData\Quest\Data\Admin\365" /S /Q  )

C:\ProgramData\Quest\KACE\kbots_cache\packages\kbots\1905>mkdir C:\ProgramData\Quest\Data\Admin\365

C:\ProgramData\Quest\KACE\kbots_cache\packages\kbots\1905>exit /b 0

Launched Process: kace7733.bat

Status Log

No dependency detected - Downloading and staging files

No dependency detected - Downloading and staging files

Activity Log

verify - file_exists

Checking if file exists: C:\ProgramData\Quest\Data\Admin\365\32\Setup.exe

verify - log_message

verify - create_message_window

Creating message window: Aerocare Office 365 Installation Please wait while we download the application files. This will take some time. 120

verify - install

verify - launch_program

Launching program: 'C:\ProgramData\Quest\KACE\kbots_cache\packages\kbots\1905\kace7733.bat' '' wait='true'

verify - file_unzip

Unzipping file: C:\ProgramData\Quest\KACE\downloads\217906\Office365.zip C:\ProgramData\Quest\Data\Admin\365

verify - file_exists

Checking if file exists: C:\ProgramData\Quest\Data\Admin\365\32\Setup.exe

verify - log_message

verify - create_message_window

Creating message window: Aerocare Office 365 Installation Please wait while we download the application files. This will take some time. 120

verify - install

verify - launch_program

Launching program: 'C:\ProgramData\Quest\KACE\kbots_cache\packages\kbots\1905\kace7733.bat' '' wait='true'

verify - file_unzip

Unzipping file: C:\ProgramData\Quest\KACE\downloads\217906\Office365.zip C:\ProgramData\Quest\Data\Admin\365

Debug Log

Running kbot: runkbot 1905 1570035926

KBotScript::LogScriptInfo - Start

id=1905 name=Copy of Office 365 ProPlus for Windows (PAC ONLY) version=1570035925 type=policy

execute disconnected=false logged_off=false

execute events

KBotScript::LogScriptInfo - Finish

KBotScript::LogScriptInfo - Start

id=1905 name=Copy of Office 365 ProPlus for Windows (PAC ONLY) version=1570035925 type=policy

execute disconnected=false logged_off=false

execute events

KBotScript::LogScriptInfo - Finish

KBotScriptManager::CleanupDependencies - clean up dependencies in kbot directory C:\ProgramData\Quest\KACE\kbots_cache\\packages\kbots\1905\

CleanupDependencies: file kace5053.bat is part of the dependency list, keep the file

CleanupDependencies: file kace7733.bat is part of the dependency list, keep the file

runkbot    ----- launching [path='C:\ProgramData\Quest\KACE\kbots_cache\packages\kbots\1905' program='kace7733.bat' parms='' wait='true'] -----

runkbot    ----- completed [exitCode=0] -----

runkbot    ----- launching [path='C:\ProgramData\Quest\KACE\kbots_cache\packages\kbots\1905' program='kace7733.bat' parms='' wait='true'] -----

runkbot    ----- completed [exitCode=0] -----


1 Comment   [ + ] Show comment
  • maybe try to add a "sleep" after the unzip for the unzip to complete before the next steps start to run. also does the whole setup has to be in the zip? cant you call the setup and just zip the other files? - haway_the_lads 4 years ago

Answers (0)

Be the first to answer this question

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ