Page 1 of 1

Windows 10 upgrade package 1809

Published: February 28, 2019 - 4:12 PM
by Elminio
Wapt server 1.5.1.22 on Windows Server 2016.

Hello everyone,

I followed the procedure in the Windows 10 1803 upgrade package thread.

I'm having a problem creating the first package.

Here is my setup.py:

# -*- coding: utf-8 -*-
from setuphelpers import *

uninstallkey = []

path_install = makepath(programfiles32,"WindowsUpgrade")

def install():
mkdirs(path_install )
copytree2("WINDOWS1809",path_install)

I performed two tests:
- with the 1809 folder containing Windows 10
- without the 1809 folder

With the 1809 folder, I get this error:
List of errors:
c:\waptdev\deploiement-w10data-1809-wapt
Building and uploading packages to https://server
FATAL ERROR: Exception: No package to upload
Exit code: 3
>>>

Without the 1809 folder, the package is correctly created and uploaded to the server.

Re: Windows 10 1809 upgrade package

Published: March 5, 2019 - 2:04 PM
by Elminio
From the command: wapt-get install "C:\waptdev\deployment-w10data-1809-wapt"
Installing WAPT files C:\waptdev\deployment-w10data-1809-wapt

Results:

=== install packages ===
C:\waptdev\deployment-w10data-1809-wapt | deployment-w10data-1809 (1.0.0-4)
2019-03-05 11:14:41,400 WARNING Host on the server is not known or not known under this FQDN name (known as None). Trying to register the computer...
2019-03-05 11:14:45,772 WARNING New registration successful

C:\Windows\system32>wapt-get build "C:\waptdev\deployment-w10data-1809-wapt"
Unknown action build

C:\Windows\system32>wapt-get build-upload "C:\waptdev\deployment-w10data-1809-wapt"
Building packages 1 packages
Personal certificate is waptprivateao
Please type the password to decrypt the private key
Password:
Private key is
Building C:\waptdev\deployment-w10data-1809-wapt
...done building. Package filename C:\waptdev\deployment-w10data-1809_1.0.0-4_all.wapt
Signing C:\waptdev\deployment-w10data-1809_1.0.0-4_all.wapt with key
ERROR building C:\waptdev\deployment-w10data-1809-wapt: cannot fit 'long' into an index-sized integer
built
packages failed
errors
0
1 successfully
packages of
:
FATAL ERROR: Exception: No package to upload

C:\Windows\system32>

Re: Windows 10 1809 upgrade package

Published: June 5, 2019 - 11:53
by renaud.counhaye
Hello,

in my opinion, your package is too large to upload via PyScripter.
You can compile it and then transfer it using Samba/FTP, and finally rescan the store folder; that should prevent this error.