Office 2019
Published: June 8, 2021 - 3:33 PM
Hello,
I have a package for deploying Office 2019 (created during training) that works, but it frequently encounters 300-second timeout errors. On-premises, it works fairly well, but via VPN to reach remote users, 300 seconds isn't always enough. If the installation is restarted after the error, it eventually completes, but it's really inconvenient.
Here's the error message:
So I modified setup.py with a timeout of 1200. Here's the relevant section of the script:
def install():
print("Installing %s" % softname)
install_exe_if_needed("Setup.exe",
silentflags="/configure Deploiement_MTP.xml",
key=app_uninstallkey,
min_version="16.0",
killbefore=app_list_kill,
timeout=1200)
But now it doesn't work at all...
Here's the error message:
return func(*args,**kwargs)
File "C:\Program Files (x86)\wapt\setuphelpers_windows.py", line 1172, in install_exe_if_needed
run(r'"%s" %s' % (exe,silentflags),accept_returncodes=accept_returncodes,timeout=timeout,pidlist=pidlist)
File "C:\Program Files (x86)\wapt\setuphelpers_windows.py", line 3718, in run
raise CalledProcessErrorOutput(proc.returncode,cmd,''.join(output))
CalledProcessErrorOutput: Command '"Setup.exe" /configure Deployment_MTP.xml' returned non-zero exit status -2146994855.
Output:
CalledProcessErrorOutput: Command '"Setup.exe" /configure Deployment_MTP.xml' returned non-zero exit status -2146994855.
Output:
Do you have any ideas? THANKS !
I have a package for deploying Office 2019 (created during training) that works, but it frequently encounters 300-second timeout errors. On-premises, it works fairly well, but via VPN to reach remote users, 300 seconds isn't always enough. If the installation is restarted after the error, it eventually completes, but it's really inconvenient.
Here's the error message:
So I modified setup.py with a timeout of 1200. Here's the relevant section of the script:
def install():
print("Installing %s" % softname)
install_exe_if_needed("Setup.exe",
silentflags="/configure Deploiement_MTP.xml",
key=app_uninstallkey,
min_version="16.0",
killbefore=app_list_kill,
timeout=1200)
But now it doesn't work at all...
Here's the error message:
return func(*args,**kwargs)
File "C:\Program Files (x86)\wapt\setuphelpers_windows.py", line 1172, in install_exe_if_needed
run(r'"%s" %s' % (exe,silentflags),accept_returncodes=accept_returncodes,timeout=timeout,pidlist=pidlist)
File "C:\Program Files (x86)\wapt\setuphelpers_windows.py", line 3718, in run
raise CalledProcessErrorOutput(proc.returncode,cmd,''.join(output))
CalledProcessErrorOutput: Command '"Setup.exe" /configure Deployment_MTP.xml' returned non-zero exit status -2146994855.
Output:
CalledProcessErrorOutput: Command '"Setup.exe" /configure Deployment_MTP.xml' returned non-zero exit status -2146994855.
Output:
Do you have any ideas? THANKS !