microsoft / SurfaceDeploymentAccelerator

Surface Deployment Accelerator (SDA) is a script-driven tool to create Windows images (WIM) for test or deployment that are similar in configuration to Bare Metal Recovery (BMR) images, minus certain preinstalled applications like the Surface UWP application.
MIT License
77 stars 25 forks source link

DCR - Make this tool create Upgrade Media besides just a WIM #21

Closed gwblok closed 3 years ago

gwblok commented 3 years ago

This tool is a good start, but misses a critical piece that makes me leave it on the self and use OSDBuilder instead. Using this tool, the only output I have is a WIM, great for OSD, not great for Windows Upgrades. Request:

The goal is to use one process to create identical media used for both OSD & in place upgrades. This is a corporate requirement we have, to prevent drift of machines that are Net-New, and Upgraded.

If I missed an option that already does this, my apologies, this tool is quite amazing and does a lot, thank you.

cluberti commented 3 years ago

Can you expand on this request more fully? This is not meant to replace / replicate setup media, and is not a goal of the tool, so I'd need to understand the ask before I can comment further.

gwblok commented 3 years ago

The ask is to update the entire Media (ISO contents), not just the WIM. I'd see it working something like this: Copy entire Contents of ISO to SDA Process Folders, ex: D:\SDABuild\Enterprise\10.0.18363\x64\SourceISO It would then copy it into temp: D:\SDABuild\Enterprise\10.0.18363\x64\ISOMediaTemp You'd then apply the Setup based Dynamic Updates to the Media

The WIM would be updated as it is in the normal process, and when complete, a new folder would be created: D:\SDABuild\Enterprise\10.0.18363\x64\CustomMediaContent Which would include the media you updated with the Dynamic DUs, and the updated install.wim file (Duplicated from the Custom-Install-10.0.18363.1316-Enterprise-2021-02-07_20-55-54.wim file created in the current process)

This would then allow for import into CM as Upgrade Media, or be used to create bootable USB drive using the standard Setup based process. DUs: https://ibb.co/Stt0Dzn DU

Since I'm asking, the ability to remove Provisioned AppX Packages would be nice too.

cluberti commented 3 years ago

I'll bring this up as a work item for the next version release, but this is currently outside the scope of what SDA does today. I'll respond back when we're looking at the next major release.

cluberti commented 3 years ago

Closing as out of scope.