From e85428e03a8db7850e884b4f1405099c13f51f4e Mon Sep 17 00:00:00 2001 From: Jaromir Kaspar Date: Wed, 3 Jun 2026 11:38:05 +0200 Subject: [PATCH] djoin blob fixed --- Scripts/3_Deploy.ps1 | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/Scripts/3_Deploy.ps1 b/Scripts/3_Deploy.ps1 index 8af0a6bb..e1906f19 100644 --- a/Scripts/3_Deploy.ps1 +++ b/Scripts/3_Deploy.ps1 @@ -40,15 +40,6 @@ If (-not $isAdmin) { $fileContent = @" - - - - - $Blob - - - - @@ -66,6 +57,18 @@ If (-not $isAdmin) { + + + + + $Blob + + + $oeminformation PFE @@ -839,9 +842,6 @@ If (-not $isAdmin) { if ($unattendFile){ WriteInfo "`t Adding unattend to VHD" Mount-WindowsImage -Path $mountdir -ImagePath $VHDPath -Index 1 - if ($VMConfig.Unattend -eq "DjoinBlob"){ - Use-WindowsUnattend -Path $mountdir -UnattendPath $unattendFile - } #&"$PSScriptRoot\Tools\dism\dism" /mount-image /imagefile:$vhdpath /index:1 /MountDir:$mountdir #&"$PSScriptRoot\Tools\dism\dism" /image:$mountdir /Apply-Unattend:$unattendfile New-item -type directory "$mountdir\Windows\Panther" -ErrorAction Ignore