Skip to content

Commit

Permalink
Merge pull request ntdevlabs#197 from ntdevlabs/experimental
Browse files Browse the repository at this point in the history
replace max compression with recovery compression
  • Loading branch information
ntdevlabs authored May 21, 2024
2 parents 9d9e517 + 7ec6a7c commit 48714d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tiny11maker.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ Write-Host ' '
Write-Host "Unmounting image..."
& 'dism' '/English' '/unmount-image' "/mountdir:$ScratchDisk\scratchdir" '/commit'
Write-Host "Exporting image..."
& 'dism' '/English' '/Export-Image' "/SourceImageFile:$ScratchDisk\tiny11\sources\install.wim" "/SourceIndex:$index" "/DestinationImageFile:$ScratchDisk\tiny11\sources\install2.wim" '/compress:max'
& 'dism' '/English' '/Export-Image' "/SourceImageFile:$ScratchDisk\tiny11\sources\install.wim" "/SourceIndex:$index" "/DestinationImageFile:$ScratchDisk\tiny11\sources\install2.wim" '/compress:recovery'
Remove-Item -Path "$ScratchDisk\tiny11\sources\install.wim" -Force >null
Rename-Item -Path "$ScratchDisk\tiny11\sources\install2.wim" -NewName "install.wim" >null
Write-Host "Windows image completed. Continuing with boot.wim."
Expand Down

0 comments on commit 48714d2

Please sign in to comment.