Page 1 of 2

Console Function Update-package

Published: June 20, 2025 - 11:59
by aureladmin
Hello,

I'm trying to use the "Windows 11 Upgrade Template" package. I'm following the steps in the YouTube video, but I'm stuck at the point where I have to launch the update package. The option is grayed out in the console. Do you have any idea why, or a workaround?

PS: Image of the grayed-out function attached.

Regards

Re: Console Function Update-package

Published: June 20, 2025 - 3:08 PM
by aureladmin
If I try to do it via the command line, it works up to "Build Upload" where I get the error "status: 666".

I don't know what to do. If anyone has any ideas, I'd appreciate it.

Re: Console Function Update-package

Published: June 20, 2025 - 4:41 PM
by blemoigne
Hello,
Updating packages via the console seems to be a restriction in Discovery Edition.
But the `wapt-get update-package-sources` command works correctly?
And then the build-upload is done from the console?

Bertrand

Re: Console Function Update-package

Published: June 20, 2025 - 5:41 PM
by aureladmin
`waptpython "C:\Program Files (x86)\wapt\wapt-get.py" update-package-sources "C:\waptdev\epl-windows11-upgrade-template_0-115_x64_windows_6.1_PROD-wapt"
` works correctly (from the command line) via cmd.

However, when I try to build and upload from the console, I get an error.

Even with error (666), the package is present in the repository, so I'm trying to figure out how to bypass the error. If that doesn't work, I'll try a build and upload from the command line.

Re: Console Function Update-package

Published: June 23, 2025 - 10:26
by aureladmin
Same error on the command line. The build is OK, but not the upload.

Could you please provide the prerequisites for using the "windows11-upgrade-template" package?

Speaking of prerequisites, I'd like to know which module needs to be enabled on the WAPT server. Currently, I only have software deployment enabled. For example, is "OS deployment" required even without an enterprise license?
Or does the "windows11-upgrade-template" package only work with an enterprise license?

Sincerely,

Re: Console Function Update-package

Published: June 23, 2025 - 10:55 AM
by blemoigne
Hello,
can you provide the output of "df -h" on the server?

Re: Console Function Update-package

Published: June 23, 2025 - 11:16
by aureladmin

Code: Select all

df -h
Filesystem                         Size  Used Avail Use% Mounted on
tmpfs                              391M  1.4M  390M   1% /run
/dev/mapper/ubuntu--vg-ubuntu--lv   98G   47G   47G  51% /
tmpfs                              2.0G  204K  2.0G   1% /dev/shm
tmpfs                              5.0M     0  5.0M   0% /run/lock
/dev/sda2                          1.5G  253M  1.2G  19% /boot
/dev/sda1                          1.1G  6.1M  1.1G   1% /boot/efi
tmpfs                              391M  4.0K  391M   1% /run/user/1000

Re: Console Function Update-package

Published: June 23, 2025 - 3:54 PM
by aureladmin
Test performed via the console: package present in the repository but with error 666 during "Build Upload"
Test performed via command line: package present in the repository but with error 666 during "wapt-get upload-package"

Upgrading the client to Windows 11 doesn't work via the generated package. Many errors occur

Code: Select all

C:\WindowsUpgrade folder exists, continuing...
Free disk space: 93069709312 bytes
Force Upgrading Windows from version: 10.0.19045 to Windows version: 10.0.26100
Erreur lors de l'installation de ['epl-windows11-24h2']: erreurs dans les paquets [[PackageRequest(package='epl-windows11-24h2',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.19045'),max_os_version=Version('10.0.19045')), PackageEntry('epl-windows11-24h2','10.0.26100-115' architecture='x64',maturity='PROD',locale='fr',target_os='windows'), 'Traceback (most recent call last):\n  File "C:\\Windows\\TEMP\\waptk0hvzdpc\\setup.py", line 121, in install\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 4111, in run\n    return ensure_unicode(run(*arg, pidlist=self.pidlist,**args))\n  File "C:\\Program Files (x86)\\wapt\\waptutils.py", line 2263, in run\n    raise CalledProcessErrorOutput(proc.returncode, cmd, \'\'.join(output))\nwaptutils.CalledProcessErrorOutput: Command \'"C:\\\\WindowsUpgrade\\\\setup.exe" /auto upgrade /quiet /eula accept /telemetry disable /showoobe none /copylogs "C:\\\\WindowsUpgradeLogs\\\\win11_upgrade_logs"  /compat ignorewarning /dynamicupdate disable\' returned non-zero exit status 3247440384.\nOutput:\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 5609, in install\n    result = self.install_wapt(p.localpath,\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 4548, in install_wapt\n    raise e\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 4454, in install_wapt\n    exitstatus = setup.install()\n  File "C:\\Windows\\TEMP\\waptk0hvzdpc\\setup.py", line 126, in install\n  File "C:\\Program Files (x86)\\wapt\\waptutils.py", line 2038, in error\n    raise EWaptSetupException(\'Fatal error : %s\' % reason)\nwaptutils.EWaptSetupException: Fatal error : Command \'"C:\\\\WindowsUpgrade\\\\setup.exe" /auto upgrade /quiet /eula accept /telemetry disable /showoobe none /copylogs "C:\\\\WindowsUpgradeLogs\\\\win11_upgrade_logs"  /compat ignorewarning /dynamicupdate disable\' returned non-zero exit status 3247440384.\nOutput:\n']]
Traceback (most recent call last):
  File "<string>", line 1662, in run
  File "C:\Program Files (x86)\wapt\waptservice\waptservice_common.py", line 875, in run
    self._run()
  File "C:\Program Files (x86)\wapt\waptservice\waptservice_common.py", line 1484, in _run
    raise Exception(_('Error during install of {}: errors in packages {}').format(
Exception: Erreur lors de l'installation de ['epl-windows11-24h2']: erreurs dans les paquets [[PackageRequest(package='epl-windows11-24h2',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.19045'),max_os_version=Version('10.0.19045')), PackageEntry('epl-windows11-24h2','10.0.26100-115' architecture='x64',maturity='PROD',locale='fr',target_os='windows'), 'Traceback (most recent call last):\n  File "C:\\Windows\\TEMP\\waptk0hvzdpc\\setup.py", line 121, in install\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 4111, in run\n    return ensure_unicode(run(*arg, pidlist=self.pidlist,**args))\n  File "C:\\Program Files (x86)\\wapt\\waptutils.py", line 2263, in run\n    raise CalledProcessErrorOutput(proc.returncode, cmd, \'\'.join(output))\nwaptutils.CalledProcessErrorOutput: Command \'"C:\\\\WindowsUpgrade\\\\setup.exe" /auto upgrade /quiet /eula accept /telemetry disable /showoobe none /copylogs "C:\\\\WindowsUpgradeLogs\\\\win11_upgrade_logs"  /compat ignorewarning /dynamicupdate disable\' returned non-zero exit status 3247440384.\nOutput:\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 5609, in install\n    result = self.install_wapt(p.localpath,\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 4548, in install_wapt\n    raise e\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 4454, in install_wapt\n    exitstatus = setup.install()\n  File "C:\\Windows\\TEMP\\waptk0hvzdpc\\setup.py", line 126, in install\n  File "C:\\Program Files (x86)\\wapt\\waptutils.py", line 2038, in error\n    raise EWaptSetupException(\'Fatal error : %s\' % reason)\nwaptutils.EWaptSetupException: Fatal error : Command \'"C:\\\\WindowsUpgrade\\\\setup.exe" /auto upgrade /quiet /eula accept /telemetry disable /showoobe none /copylogs "C:\\\\WindowsUpgradeLogs\\\\win11_upgrade_logs"  /compat ignorewarning /dynamicupdate disable\' returned non-zero exit status 3247440384.\nOutput:\n']]

Exception: Erreur lors de l'installation de ['epl-windows11-24h2']: erreurs dans les paquets [[PackageRequest(package='epl-windows11-24h2',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.19045'),max_os_version=Version('10.0.19045')), PackageEntry('epl-windows11-24h2','10.0.26100-115' architecture='x64',maturity='PROD',locale='fr',target_os='windows'), 'Traceback (most recent call last):\n  File "C:\\Windows\\TEMP\\waptk0hvzdpc\\setup.py", line 121, in install\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 4111, in run\n    return ensure_unicode(run(*arg, pidlist=self.pidlist,**args))\n  File "C:\\Program Files (x86)\\wapt\\waptutils.py", line 2263, in run\n    raise CalledProcessErrorOutput(proc.returncode, cmd, \'\'.join(output))\nwaptutils.CalledProcessErrorOutput: Command \'"C:\\\\WindowsUpgrade\\\\setup.exe" /auto upgrade /quiet /eula accept /telemetry disable /showoobe none /copylogs "C:\\\\WindowsUpgradeLogs\\\\win11_upgrade_logs"  /compat ignorewarning /dynamicupdate disable\' returned non-zero exit status 3247440384.\nOutput:\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 5609, in install\n    result = self.install_wapt(p.localpath,\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 4548, in install_wapt\n    raise e\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 4454, in install_wapt\n    exitstatus = setup.install()\n  File "C:\\Windows\\TEMP\\waptk0hvzdpc\\setup.py", line 126, in install\n  File "C:\\Program Files (x86)\\wapt\\waptutils.py", line 2038, in error\n    raise EWaptSetupException(\'Fatal error : %s\' % reason)\nwaptutils.EWaptSetupException: Fatal error : Command \'"C:\\\\WindowsUpgrade\\\\setup.exe" /auto upgrade /quiet /eula accept /telemetry disable /showoobe none /copylogs "C:\\\\WindowsUpgradeLogs\\\\win11_upgrade_logs"  /compat ignorewarning /dynamicupdate disable\' returned non-zero exit status 3247440384.\nOutput:\n']]
Traceback (most recent call last):
  File "<string>", line 1662, in run
  File "C:\Program Files (x86)\wapt\waptservice\waptservice_common.py", line 875, in run
    self._run()
  File "C:\Program Files (x86)\wapt\waptservice\waptservice_common.py", line 1484, in _run
    raise Exception(_('Error during install of {}: errors in packages {}').format(
Exception: Erreur lors de l'installation de ['epl-windows11-24h2']: erreurs dans les paquets [[PackageRequest(package='epl-windows11-24h2',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.19045'),max_os_version=Version('10.0.19045')), PackageEntry('epl-windows11-24h2','10.0.26100-115' architecture='x64',maturity='PROD',locale='fr',target_os='windows'), 'Traceback (most recent call last):\n  File "C:\\Windows\\TEMP\\waptk0hvzdpc\\setup.py", line 121, in install\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 4111, in run\n    return ensure_unicode(run(*arg, pidlist=self.pidlist,**args))\n  File "C:\\Program Files (x86)\\wapt\\waptutils.py", line 2263, in run\n    raise CalledProcessErrorOutput(proc.returncode, cmd, \'\'.join(output))\nwaptutils.CalledProcessErrorOutput: Command \'"C:\\\\WindowsUpgrade\\\\setup.exe" /auto upgrade /quiet /eula accept /telemetry disable /showoobe none /copylogs "C:\\\\WindowsUpgradeLogs\\\\win11_upgrade_logs"  /compat ignorewarning /dynamicupdate disable\' returned non-zero exit status 3247440384.\nOutput:\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 5609, in install\n    result = self.install_wapt(p.localpath,\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 4548, in install_wapt\n    raise e\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 4454, in install_wapt\n    exitstatus = setup.install()\n  File "C:\\Windows\\TEMP\\waptk0hvzdpc\\setup.py", line 126, in install\n  File "C:\\Program Files (x86)\\wapt\\waptutils.py", line 2038, in error\n    raise EWaptSetupException(\'Fatal error : %s\' % reason)\nwaptutils.EWaptSetupException: Fatal error : Command \'"C:\\\\WindowsUpgrade\\\\setup.exe" /auto upgrade /quiet /eula accept /telemetry disable /showoobe none /copylogs "C:\\\\WindowsUpgradeLogs\\\\win11_upgrade_logs"  /compat ignorewarning /dynamicupdate disable\' returned non-zero exit status 3247440384.\nOutput:\n']]
One small additional point: If the version in the control file does not include the OS version at the beginning, it will not work, for example:
1) It works:

Code: Select all

version           : 10.0.26100-115
The attempt to upgrade to W11 is launched via the package

2) This does not work:

Code: Select all

version           : 0-116

The attempt to upgrade to W11 does not launch via the package, version lower than the OS version.

Re: Console Function Update-package

Published: June 23, 2025 - 4:16 PM
by jlepiquet
Hello,

Error 3247440384 indicates hardware incompatible with Windows 11.

Are there any logs in C:\WindowsUpgradeLogs\win11_upgrade_logs?
If not, you should check C:\Windows\Panther; there should be a setuperr.log file and probably an XML file starting with CompatData.

Regards,

Re: Console Function Update-package

Published: July 8, 2025 - 9:49 AM
by dcardon
Hello Aurélien,

were you able to resolve your problem?

Best regards,

Denis