[SOLVED] Matlab - no installation
Published: Dec 19, 2019 - 09:35
Good morning,
When I try to install the attached package,
The license copying process goes well, the setup seems to start since it appears in the processes, but no installation takes place.
the package fails in the console with
Sincerely
When I try to install the attached package,
Code: Select all
# -*- coding: utf-8 -*-
from setuphelpers import *
import shutil
uninstallkey = []
def install():
print('Installation Matlab_2019')
mkdirs('c:\\temp')
shutil.copy(r'\\srv-turing\Programmes\Matlab\R2019b\Licences\%s.lic' %get_computername(), r'C:\temp\license19b.lic')
cmd = "//srv-turing/Programmes/Matlab/R2019b/setup.exe -inputFile \\srv-turing\Programmes\Matlab\R2019b\bp_input.txt"
print (cmd)
run_notfatal(cmd,timeout=60*60)
while isrunning('Setup'):
print ('Install en cours. Merci de patienter... :)')
time.sleep(600)
print('Installation terminée !!!')
def uninstall():
print('desinstallation Matlab_2019')
cmd = "C:\Program Files\MATLAB\R2019b\uninstall\bin\win64\uninstall.exe -inputFile \\srv-turing\Programmes\Matlab\R2019b\bp_uninstaller_input.txt"the package fails in the console with
Do you have any ideas to help me out?Installation Matlab_2019//srv-turing/Programmes/Matlab/R2019b/setup.exe -inputFile \srv-turing\Programmes\Matlab\R2019bp_input.txt
Install in progress. Please wait...[Error 32] The process cannot access the file because it is being used by another process: 'c:\\windows\\temp\\waptbsx_zt' [Error 32] The process cannot access the file because it is being used by another process: 'c:\\windows\\temp\\waptbsx_zt' [Error 32] The process cannot access the file because it is being used by another process: 'c:\\windows\\temp\\waptbsx_zt' Traceback (most recent call last):
File "C:\Program Files (x86)\wapt\common.py", line 3846, in install_wapt
exitstatus = setup.install()
File "c:\windows\temp\waptbsx_zt\setup.py", line 18, in install
NameError: global name 'time' is not defined
NameError: global name 'time' is not defined
Sincerely