Well i already did that in my script, mate, really check if things are OK in the poweshell environment, maybe some caching of some sort is keeping the old code.
Hello everyone, Again made some batch of updates to the script and here are the changes with explanations: Packages blacklist & whitelist, you can as ususal use the populateLists parameter to as well populate ./TemplateLists/Packages.json and cherry pick your packages Dormant OneDrive - makes Onedrive not start at startup and as well not update. Thanks to @spanishfly for the code OSCDIMG method default for ISO creation. The powershell iso creator was not working for me, so i made the OSCDIMG method the default one. Now you can put the OSCDIMG.exe in the root directory of OO tool or you can install WADK tools. But for those lazy like me that don't want the entire WADK installed, is just enough to copy OSCDIMG.exe to the root folder. I will not provide this executable as it is Microsoft property. Google is your friend
Can you explain more clearly. I tried editing the packages.json and having "Packages": true, and "Packages": "Whitelist", and get the below. Code: At D:\Optimize-Offline-master\Optimize-Offline-master\Start-Optimize.ps1:54 char:32 + $ContentJSON = $ContentJSON | ConvertFrom-Json + ~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [ConvertFrom-Json], ArgumentException + FullyQualifiedErrorId : System.ArgumentException,Microsoft.PowerShell.Commands.ConvertFromJsonCommand Optimize-Offline : A parameter cannot be found that matches parameter name 'PSPath'. At D:\Optimize-Offline-master\Optimize-Offline-master\Start-Optimize.ps1:122 char:18 + Optimize-Offline @ConfigParams + ~~~~~~~~~~~~~ + CategoryInfo : InvalidArgument: (:) [Optimize-Offline], ParameterBindingException + FullyQualifiedErrorId : NamedParameterNotFound,Optimize-Offline Here is my configuration.json. Code: { "_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": "D:\\1\\"19044.1151.210724-1310.21H2_RELEASE_SVC_PROD3_CLIENT_X64FRE.iso", "WindowsApps": "Whitelist", "SystemApps": "Whitelist", "Capabilities": "Whitelist", "Packages": true, "FeaturesToEnable": "List", "FeaturesToDisable": "List", "DeveloperMode": false, "WindowsStore": false, "MicrosoftEdge": false, "Win32Calc": true, "Dedup": false, "DaRT": [], "Registry": true, "Additional": { "Setup": true, "Wallpaper": false, "SystemLogo": false, "LockScreen": false, "RegistryTemplates": true, "LayoutModification": false, "Unattend": true, "Drivers": true, "NetFx3": true }, "ComponentCleanup": true, "ISO": "No-Prompt", "CompressionType": "Solid", "SelectiveRegistry": { "DisableWindowsUpdate": false, "DisableDriverUpdate": true "DormantOneDrive": true } }
I haven't modified anything related to Edge integration. However Edge integration will work only on 19041 images without edge inside. I think this feature is redundant since Microsoft is already since a year ago including the Edge Chromium by default. However the above error, means that the script is not able to find the Edge Chromium package in the ./Packages/MicrosoftEdge directory.
Same?.. which one, you've mentioned a number of them here If it's the EdgeC issue that I mentioned it has been explained by @gdeliana here, and as suggested previously, change Edge parameter to 'false'