Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup files #199

Open
iljakorolev opened this issue Nov 7, 2020 · 1 comment
Open

Setup files #199

iljakorolev opened this issue Nov 7, 2020 · 1 comment

Comments

@iljakorolev
Copy link

iljakorolev commented Nov 7, 2020

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:

{
  "_Info": [
    "This is a JSON based Configuration file for Optimize-Offline.",
    "Ensure proper formatting is used when editing the JSON parameter values.",
    "Boolean parameter values use true and false. String parameter values must be enclosed in double-quotes."
  ],
  "SourcePath": "F:\\MyShare\\OTHER\\Software\\WINDOWS\\ISO\\en-gb_win_10_bus_edition_2004_x64.iso",
  "WindowsApps": "Whitelist",
  "SystemApps": false,
  "Capabilities": false,
  "Packages": false,
  "Features": false,
  "DeveloperMode": false,
  "WindowsStore": false,
  "MicrosoftEdge": false,
  "Win32Calc": false,
  "Dedup": true,
  "DaRT": [
    "Setup",
    "Recovery"
  ],
  "Registry": true,
  "Additional": {
    "Setup": true,
    "Wallpaper": false,
    "SystemLogo": false,
    "LockScreen": false,
    "RegistryTemplates": false,
    "LayoutModification": false,
    "Unattend": false,
    "Drivers": false,
    "NetFx3": true
  },
  "ISO": "No-Prompt"
}
{
  "DisplayName": [
    "Microsoft.DesktopAppInstaller",
    "Microsoft.StorePurchaseApp",
    "Microsoft.VCLibs.140.00",
    "Microsoft.VP9VideoExtensions",
    "Microsoft.Windows.Photos",
    "Microsoft.WindowsStore",
    "Microsoft.XboxIdentityProvider",
	"Microsoft.WindowsCamera",
	"Microsoft.WindowsCalculator",
	"Microsoft.HEIFImageExtension"
  ]
}
@DrEmpiricism
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants