Page 1 of 1

vcredist2015-2022 package

Published: Dec 19, 2024 - 11:33
by TITCHI
Good morning,
The vcredist2015-2022 package is installed on more than 600 PCs but on about thirty PCs it has an error.
Here is the error:

Code: Select all

Erreur lors de l'installation de ['lso-vcredist2015-2022']: erreurs dans les paquets [[PackageRequest(package='lso-vcredist2015-2022',architectures=['x64'],locales=['fr'],maturities=['PROD'],tags=['windows-10', 'win-10', 'w-10', 'windows10', 'win10', 'w10', 'windows', 'win', 'w'],min_os_version=Version('10.0.26100'),max_os_version=Version('10.0.26100')), PackageEntry('lso-vcredist2015-2022','14.42.34433.0-27' maturity='PROD',target_os='windows'), 'Traceback (most recent call last):\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 5348, in install\n    result = self.install_wapt(p.localpath,\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 4328, in install_wapt\n    raise e\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 4235, in install_wapt\n    exitstatus = setup.install()\n  File "C:\\WINDOWS\\TEMP\\waptm86v8xtn\\setup.py", line 22, in install\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 3991, in run\n    return ensure_unicode(run(*arg, pidlist=self.pidlist,**args))\n  File "C:\\Program Files (x86)\\wapt\\waptutils.py", line 2177, in run\n    raise CalledProcessErrorOutput(proc.returncode, cmd, \'\'.join(output))\nwaptutils.CalledProcessErrorOutput: Command \'"VC_redist.x86.exe" /quiet /norestart\' returned non-zero exit status 1603.\nOutput:\n']]
I removed the vcredist and vcredist2015-2022 packages and then reinstalled them, but it didn't change anything.

Re: vcredist2015-2022 package

Published: Dec 19, 2024 - 11:50 AM
by jlepiquet
Good morning,

Error 1603 is a generic Microsoft error on installations.

To get more logs, you can modify line 9 of setup.py to:

Code: Select all

silent_args = "/quiet /norestart /log c:\\temp\\vclog.log"
This will allow us to obtain logs and understand what is really happening during the installation.

Sincerely,

Re: vcredist2015-2022 package

Published: Dec 19, 2024 - 12:21
by TITCHI
Here are the new logs:
Installing: VC_redist.x86.exe

Code: Select all

Erreur lors de l'installation de ['lso-vcredist2015-2022(=14.42.34433.0-28)']: erreurs dans les paquets [[PackageRequest(package='lso-vcredist2015-2022',version=(Version('14.42.34433.0'), 28),architectures=['x64'],locales=['fr'],maturities=['PROD'],tags=['windows-10', 'win-10', 'w-10', 'windows10', 'win10', 'w10', 'windows', 'win', 'w'],min_os_version=Version('10.0.26100'),max_os_version=Version('10.0.26100')), PackageEntry('lso-vcredist2015-2022','14.42.34433.0-28' maturity='PROD',target_os='windows'), 'Traceback (most recent call last):\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 5348, in install\n    result = self.install_wapt(p.localpath,\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 4328, in install_wapt\n    raise e\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 4235, in install_wapt\n    exitstatus = setup.install()\n  File "C:\\WINDOWS\\TEMP\\waptpj7e9g33\\setup.py", line 22, in install\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 3991, in run\n    return ensure_unicode(run(*arg, pidlist=self.pidlist,**args))\n  File "C:\\Program Files (x86)\\wapt\\waptutils.py", line 2177, in run\n    raise CalledProcessErrorOutput(proc.returncode, cmd, \'\'.join(output))\nwaptutils.CalledProcessErrorOutput: Command \'"VC_redist.x86.exe" /quiet /norestart /log c:\\\\temp\\\\vclog.log\' returned non-zero exit status 1603.\nOutput:\n']]
Traceback (most recent call last):
  File "<string>", line 1943, in run
  File "C:\Program Files (x86)\wapt\waptservice\waptservice_common.py", line 737, in run
    self._run()
  File "C:\Program Files (x86)\wapt\waptservice\waptservice_common.py", line 1341, in _run
    raise Exception(_('Error during install of {}: errors in packages {}').format(
Exception: Erreur lors de l'installation de ['lso-vcredist2015-2022(=14.42.34433.0-28)']: erreurs dans les paquets [[PackageRequest(package='lso-vcredist2015-2022',version=(Version('14.42.34433.0'), 28),architectures=['x64'],locales=['fr'],maturities=['PROD'],tags=['windows-10', 'win-10', 'w-10', 'windows10', 'win10', 'w10', 'windows', 'win', 'w'],min_os_version=Version('10.0.26100'),max_os_version=Version('10.0.26100')), PackageEntry('lso-vcredist2015-2022','14.42.34433.0-28' maturity='PROD',target_os='windows'), 'Traceback (most recent call last):\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 5348, in install\n    result = self.install_wapt(p.localpath,\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 4328, in install_wapt\n    raise e\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 4235, in install_wapt\n    exitstatus = setup.install()\n  File "C:\\WINDOWS\\TEMP\\waptpj7e9g33\\setup.py", line 22, in install\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 3991, in run\n    return ensure_unicode(run(*arg, pidlist=self.pidlist,**args))\n  File "C:\\Program Files (x86)\\wapt\\waptutils.py", line 2177, in run\n    raise CalledProcessErrorOutput(proc.returncode, cmd, \'\'.join(output))\nwaptutils.CalledProcessErrorOutput: Command \'"VC_redist.x86.exe" /quiet /norestart /log c:\\\\temp\\\\vclog.log\' returned non-zero exit status 1603.\nOutput:\n']]

Re: vcredist2015-2022 package

Published: Dec 19, 2024 - 2:26 PM
by jlepiquet
You normally have 3 files in the c:\temp folder that begin with vclog.
Can you send them to us?

Re: vcredist2015-2022 package

Published: Dec 20, 2024 - 09:35
by TITCHI
Hello,
I can't find these files.

Re: vcredist2015-2022 package

Published: January 8, 2025 - 10:06 AM
by TITCHI
nothing in the temp folder

Re: vcredist2015-2022 package

Published: January 8, 2025 - 10:15 AM
by smandel
Good morning,

Yes, I also have this kind of problem with VCredist and it's quite annoying...
So I used your exchange as inspiration to figure things out.
I run the following commands on the machine, making sure to select the version that is installed on the machine:

Code: Select all

VC_redist.x86.exe /repair /quiet /norestart /log c:\\temp\\vclog.log
VC_redist.x64.exe /repair /quiet /norestart /log c:\\temp\\vclog.log
Then I launch an installation of the new version via WAPT and it works.

I was already using this kind of technique to resolve error 1603 in corrupted MSI files:

Code: Select all

msiexec ApplicationName="Mobile" /fvomusa "asset.msi" /L log.txt
And I couldn't figure out how to do it with VCredist because there was no MSI available.

Re: vcredist2015-2022 package

Published: January 9, 2025 - 09:13
by TITCHI
Hello,
thank you Smandel, but can you explain to me precisely how you did it?

Re: vcredist2015-2022 package

Published: January 9, 2025 - 9:25 AM
by smandel
Basically, I check the installed version of VCredist in the WAPT inventory.
I retrieve the version from WAPT or the store.
I edit it to download it to my machine and extract the EXE files contained in the package.
I then send these EXE files to the problematic machine, using MeshCentral in my case.
And I run the commands from my previous post on the problematic machine.