I'm creating a new topic even though one already exists, but I'm a complete beginner in Python, and from what I understand, the code needs to be modified depending on our specific situations. Therefore, I would appreciate some clarification.
So first, I created an MS Office 2010 template with the setup.exe file. When I double-click on it without WAPT, it performs a silent installation of the MS Office suite. Using the folder created with `wapt-get make-template`, I tried `wapt-get install`, but I encountered the following problem:
Code: Select all
C:\Users\Administrateur>wapt-get install C:\waptdev\ARS-microsoftsetupbootstrapper-wapt
Installing WAPT file C:\waptdev\ARS-microsoftsetupbootstrapper-wapt
installing ARS-microsoftsetupbootstrapper
2016-04-26 11:54:37,994 CRITICAL Fatal error in install script: CalledProcessError: Command '('"setup.exe" /VERYSILENT',)' returned non-zero exit status 2:
Traceback (most recent call last):
File "C:\wapt\common.py", line 3178, in install_wapt
exitstatus = setup.install()
File "C:\waptdev\ARS-microsoftsetupbootstrapper-wapt\setup.py", line 8, in install
run(r'"setup.exe" /VERYSILENT')
File "C:\wapt\common.py", line 3025, in run
return setuphelpers.run(*arg,pidlist=self.pidlist,**args)
File "C:\wapt\setuphelpers.py", line 1020, in run
raise subprocess.CalledProcessError(proc.returncode,cmd,''.join(output))
CalledProcessError: Command '('"setup.exe" /VERYSILENT',)' returned non-zero exit status 2
FATAL ERROR : CalledProcessError: Command '('"setup.exe" /VERYSILENT',)' returned non-zero exit status 2I tried to download an MS Office 2013 package from theantsoftheweb I tried to compare the files but I don't see any difference, and the installation doesn't work either.
I also tried with an .msi file (excel, word...) but I got another error (code 1603).
I work on a Windows Server 2012 R2 under VMware, I also have 2 Win7 (physical) workstations at my disposal.
If someone could even just point me in the right direction, it would be of great help.
THANKS
