[SOLVED] tis-dotnetfx3.5 problem

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
Zanef57
Messages: 6
Registration: February 21, 2023 - 3:50 PM

February 21, 2023 - 4:10 PM

Good morning,
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")
                )
It's searching for Version("10.0.22000"), whereas in 22h2 on Windows 11 it's .22621?

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.
Thank you in advance for your answers.
User avatar
jpele
Messages: 156
Registration: March 4, 2019 - 12:01
Location: Nantes

February 22, 2023 - 11:47

Hello,

You can download the ISO containing the feature on the MVLS platform or equivalent. The ISO is named: "SW_DVD9_Win_11_22H2_x64_MultiLang_LangPackAll_LIP_LoF_X23-12645.ISO". You can then integrate the dependency into the package.

For your information, dotnetfx35 has been EOL since January 12, 2016.

I'm noting a non-priority ticket on our end to add compatibility to Windows 11 v22h2. Thank you for your feedback.

Best regards,
Jimmy
User avatar
dcardon
WAPT Expert
Messages: 1932
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

February 24, 2023 - 2:30 PM

Hi Jeremy,

basically, if you're in a hurry, you can update the package for the Win11 22H2 version using the installer Jimmy pointed out.

Otherwise, internally, we'll add a `max_os_version` to the package to exclude installations on Win11 22H2, and then you'll need to create the corresponding new package.

If you're in a hurry and have a support ticket for package creation, you can call your contact at Tranquil IT.

I'll create an internal ticket and mark the topic as resolved in the meantime.

Regards,

Denis
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
Zanef57
Messages: 6
Registration: February 21, 2023 - 3:50 PM

March 2, 2023 - 10:57

Good morning,


I successfully downloaded an ISO "SW_DVD9_WIN_PRO_11_22H2.5_64BIT_FRENCH_PRO_ENT_EDU_N_MLF_X23-37772.iso" from the Microsoft website.
In the Source\sxs folder, I copied the file "microsoft-windows-netfx3-ondemand-package~31bf3856ad364e35~amd64~~.cab".

I modified the setup.py file by adding this line:

Code: Select all

if windows_version() >= Version("10.0.22621"):  # Window 11 version 22H2 and newer
        with EnsureWUAUServRunning():
            if iswin64():
                run(
                    r'dism.exe /Online /Enable-Feature /FeatureName:NetFx3 /Source:"%s" /All /LimitAccess /quiet /norestart'
                    % makepath(basedir, "netfx3-w11v22h2x64")
                )
Everything works perfectly.
Thank you for your answers.
User avatar
jpele
Messages: 156
Registration: March 4, 2019 - 12:01
Location: Nantes

March 2, 2023 - 12:40

Hello,
Thank you for your feedback, I didn't think Microsoft was still including the dotnet35 offline installer in its ISOs. 😄
User avatar
jpele
Messages: 156
Registration: March 4, 2019 - 12:01
Location: Nantes

May 17, 2023 - 12:30

Hello,
FYI the package has been updated accordingly (https://wapt.tranquil.it/wapt-testing/t ... EPROD.wapt)
Locked