We are on version 2.3 of WAPT Discovery.
We have been experiencing an installation problem with the tis-dotnetfx3.5 package on Windows 11 PCs since 22H2.
I saw that in setup.py, the command looks for the Windows version to install .NET 3.5
Code: Select all
if windows_version() >= Version("10.0.22000"): # Window 11 version 21H2 and newer
with EnsureWUAUServRunning():
if iswin64():
run(
r'dism.exe /Online /Enable-Feature /FeatureName:NetFx3 /Source:"%s" /All /LimitAccess /quiet /norestart'
% makepath(basedir, "netfx3-w11v21h2x64")
)
Or is it the "netfx3-w11v21h2x64" package that is not valid for this version?
Here is the error message:
Code: Select all
Ensure wuauserv Auto Update option is disabled
re-enabling wuauserv previous state: 0
Traceback (most recent call last):
File "C:\Program Files (x86)\wapt\common.py", line 4074, in install_wapt
exitstatus = setup.install()
File "C:\WINDOWS\TEMP\waptk7tydc7z\setup.py", line 23, in install
File "C:\Program Files (x86)\wapt\common.py", line 3851, in run
return ensure_unicode(run(*arg, pidlist=self.pidlist,**args))
File "C:\Program Files (x86)\wapt\waptutils.py", line 2112, in run
raise CalledProcessErrorOutput(proc.returncode, cmd, ''.join(output))
waptutils.CalledProcessErrorOutput: Command 'dism.exe /Online /Enable-Feature /FeatureName:NetFx3 /Source:"C:\\WINDOWS\\TEMP\\waptk7tydc7z\\netfx3-w11v21h2x64" /All /LimitAccess /quiet /norestart' returned non-zero exit status 2148468767.
Output:
Erreur : 0x800f081f
Impossible de trouver les fichiers sources.
Utilisez l'option « Source » pour indiquer l'emplacement des fichiers requis pour restaurer la fonctionnalité. Pour plus d'informations sur la spécification d'un emplacement source, voir https://go.microsoft.com/fwlink/?LinkId=243077.
CalledProcessErrorOutput: Command 'dism.exe /Online /Enable-Feature /FeatureName:NetFx3 /Source:"C:\\WINDOWS\\TEMP\\waptk7tydc7z\\netfx3-w11v21h2x64" /All /LimitAccess /quiet /norestart' returned non-zero exit status 2148468767.
Output:
Erreur : 0x800f081f
Impossible de trouver les fichiers sources.
Utilisez l'option « Source » pour indiquer l'emplacement des fichiers requis pour restaurer la fonctionnalité. Pour plus d'informations sur la spécification d'un emplacement source, voir https://go.microsoft.com/fwlink/?LinkId=243077.