[SOLVED] windows 10 1803 upgrade package

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
User avatar
agauvrit
WAPT Expert
Messages: 238
Registration: Nov 17, 2016 - 10:25
Location: Nantes
Contact :

February 7, 2019 - 2:14 PM

Good morning,

First package - tis-win10-data - it contains the complete Windows 10 ISO

Code: Select all

path_install = makepath('C:',"WindowsUpgrade")

def install():
    mkdirs(path_install )
    copytree2("iso",path_install)
Second package - tis-win10-install (with the tis-win10-data package as a dependency)

Code: Select all

path_install = makepath('C:',"WindowsUpgrade")

def install():
    os.chdir(path_install)
    run(r'"setup.exe" /auto upgrade /quiet',timeout=1800)
That's the shortened version of this package that we have internally.
By assigning the second package to the relevant workstations, they will first install the Data package which will copy and paste the contents of the ISO into a C:\WindowsUpgrade folder, then the second package which will silently install the latest version of Windows 10.
Warning, this is very long.
Don't forget to clean the temporary folder after installation
jlatieule
Messages: 59
Registration: July 3, 2019 - 9:18 AM

July 3, 2019 - 9:37 AM

After testing the package and receiving alerts regarding the compatibility of certain software during installation (mainly drivers), here is another version of the tis-win10-install package

Code: Select all

path_install = makepath('C:',"WindowsUpgrade")

def install():
    os.chdir(path_install)
    run(r'"setup.exe" /Auto upgrade /DynamicUpdate disable /Compat IgnoreWarning /Telemetry disable /Quiet',timeout=1800)
/DynamicUpdate disable Disable update check
/Compat IgnoreWarning Ignore warning messages blocking the installation of the wapt package
/Telemetry disable Disable telemetry during the upgrade; be careful not to disable it in the system configuration

Other interesting parameters that have not yet been tested:
/Uninstall {enable / disable} Allows or prevents the end user from reverting to the original Windows version via "Add/Remove Programs"
/PKey<product key> Specify a license key
/Unattend:<answer_file> : Uses an answer file allowing you to define many more parameters than those offered by the installer (to be created with the "Windows 10 Assessment and Deployment Kit")
/InstallDrivers<location> Specify a location to find the Windows 10 compatible drivers
/MigrateDrivers {all | none} Instead of letting the installer choose which drivers to migrate, this allows you to force or disable driver migration
/ResizeRecoveryPartition {Enable / Disable} Resizes or creates the recovery partition


source : https://docs.microsoft.com/en-us/window ... ne-options
System and Network Administrator at Domitia Habitat
Locked