HaroldMitts / wininstall

Command Script for installing Windows 10 from a single USB device
MIT License
6 stars 3 forks source link

Use install.wim and indexes #2

Closed HaroldMitts closed 4 years ago

HaroldMitts commented 4 years ago

Modify the wininstall,cmd to leverage the multi-indexed install.wim file instead of requiring separate images for Home and Pro. This will save disk space and reduce the work required when updating to new images.

HaroldMitts commented 4 years ago

This feature will be implemented in version 2

HaroldMitts commented 4 years ago

The easiest way to do this is to create new versions of walkthrough-deploy and installimage batch files and instead of using index 1, and use a prompt in wininstall to determine the index value and assign it to a variable to be used in the image apply phase. It is probably going to result in a wininstall.cmd file which includes the deployment code, instead of 3 different files.

HaroldMitts commented 4 years ago
  1. Removed any hooks to external scripts and combined the following files into the wininstall2.cmd
  1. Combining all the above files into a single script will make it easier to setup the solution
  2. Temporarily renamed wininstall.cmd to wininstall2.cmd
  3. Rely on install.wim as a single file
    • Version 1 relies on 2 separate image files; one for Home and one for Pro
    • This will save disk space
    • This will make it easier to update images when Microsoft releases new versions of Windows (just replace the install.wim instead of 2 separate image files)