Page 1 of 1

[SOLVED] Package tis-dotnetfx3.5

Published: October 3, 2019 - 3:30 PM
by Gaetan
Hello everyone,

I needed to use .NET Framework 3.5 on a machine.
Since the WAPT agent manages Windows Update, installation with the standard .exe does not work.
So I tried using the package available in the repository.
I'm getting the same error as with the .exe file:

Code: Select all

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\wapt4crccf\setup.py", line 133, in install
  File "C:\Program Files (x86)\wapt\common.py", line 3625, in run
    return ensure_unicode(setuphelpers.run(*arg,pidlist=self.pidlist,**args))
  File "C:\Program Files (x86)\wapt\setuphelpers.py", line 1061, in run
    raise CalledProcessErrorOutput(proc.returncode,cmd,''.join(output))
CalledProcessErrorOutput: Command 'dism.exe /online /enable-feature /featurename:NetFx3' returned non-zero exit status 1058.
Output:
Outil Gestion et maintenance des images de déploiement
Version : 10.0.17763.1

Version de l'image : 10.0.17763.379

Activation de la ou des fonctionnalités

[=                          3.0%                           ] 

[===                        5.9%                           ] 

[===                        5.9%                           ] 

[==========================100.0%==========================] 

Erreur : 1058

Le service ne peut pas être démarré parce qu'il est désactivé ou qu'aucun périphérique activé ne lui est associé.

Le fichier journal DISM se trouve à l'emplacement C:\windows\Logs\DISM\dism.log

CalledProcessErrorOutput: Command 'dism.exe /online /enable-feature /featurename:NetFx3' returned non-zero exit status 1058.
Output:
Outil Gestion et maintenance des images de déploiement
Version : 10.0.17763.1

Version de l'image : 10.0.17763.379

Activation de la ou des fonctionnalités

[=                          3.0%                           ] 

[===                        5.9%                           ] 

[===                        5.9%                           ] 

[==========================100.0%==========================] 

Erreur : 1058

Le service ne peut pas être démarré parce qu'il est désactivé ou qu'aucun périphérique activé ne lui est associé.

Le fichier journal DISM se trouve à l'emplacement C:\windows\Logs\DISM\dism.log
Is there an additional step to take regarding the management of Windows updates by WAPT?

THANKS.

- Installed WAPT version (1.7)
- Linux server OS and CentOS 7 version
- Operating system of the administration machine/creation of Windows 10 packages

Re: Package tis-dotnetfx3.5

Published: October 3, 2019 - 3:36 PM
by htouvet
Good morning,

The wuauserv service must be reactivated during the installation of Windows patches and features:

Code: Select all

def install():
    with  EnsureWUAUServRunning():
        run('dism.exe /online /enable-feature /featurename:NetFx3')

Re: Package tis-dotnetfx3.5

Published: October 3, 2019 - 4:06 PM
by Gaetan
Great, it works! ;)
Thanks for the super-fast reply.

Is it possible to add it to the package (see all the .net packages) in the WAPT store?

Thanks and have a good day!