[SOLVED] Package tis-dotnetfx3.5

Questions about WAPT Packaging / Requests and help regarding Wapt packages.
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Locked
User avatar
Gaetan
Messages: 169
Registration: August 8, 2019 - 10:16
Location: Toulouse

October 3, 2019 - 3:30 PM

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
Last edited by Gaetan on 03 Oct 2019 - 16:06, edited 1 time.
User avatar
htouvet
WAPT Expert
Messages: 436
Registration: March 16, 2015 - 10:48
Contact :

October 3, 2019 - 3:36 PM

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')
Tranquil IT
User avatar
Gaetan
Messages: 169
Registration: August 8, 2019 - 10:16
Location: Toulouse

October 3, 2019 - 4:06 PM

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!
Locked