Page 2 of 2

Re: [SOLVED] windows 10 1803 upgrade package

Published: February 7, 2019 - 2:14 PM
by agauvrit
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

Re: [SOLVED] windows 10 1803 upgrade package

Published: July 3, 2019 - 9:37 AM
by jlatieule
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