Open iljakorolev opened 3 years ago
For your first question - Optimize-Offline optimizes the media file structure of the ISO and the setup.exe is moved to the sources directory. This removes the ability to manually update your current running OS with an image optimized with Optimize-Offline. The reason for this is because the depth at which Optimize-Offline optimizes an image - like many optimization tools - would not be compatible with an in-place upgrade and would restore System and Windows apps that were removed.
It is not recommended to use an image optimized with Optimize-Offline if you intend to do an in-place upgrade.
I have set in config,json
"Setup": true,
But after I mount the ISO i don't see any setup.exe there?! I'm want to upgrade Win 10 Enterprise N 1909 to 2004. Is there gonna be issues btw if I upgrade debloated windows over ordinary one?
Also got this error:
Index : 0 Exception : You cannot call a method on a null-valued expression. Category : InvalidOperation: (:) [], RuntimeException ErrorID : InvokeMethodOnNull Target : Command : If ($DaRT.Contains('Recovery') -or ($Additional.Drivers -and (Get-ChildItem -Path $OptimizeOffline.RecoveryDrivers -Include *.inf -Recurse -Force))) Script : F:\MyShare\OTHER\Software\WINDOWS\Optimize-Offline-4.0.1.6\Optimize-Offline.psm1 Line : 354 Column : 8
Is it crucial?
config & whitelist below: