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)Code: Select all
path_install = makepath('C:',"WindowsUpgrade")
def install():
os.chdir(path_install)
run(r'"setup.exe" /auto upgrade /quiet',timeout=1800)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
