More output

This commit is contained in:
2023-11-06 12:47:50 +01:00
parent accecefbe1
commit e7bb83276a
2 changed files with 3 additions and 0 deletions

View File

@@ -32,6 +32,7 @@ function InstallOffice {
$mountResult = Mount-DiskImage -ImagePath $imagePath -PassThru
$driveLetter = ($mountResult | Get-Volume).DriveLetter
$setupPath = Join-Path $driveLetter "\Office\Setup64.exe"
Write-Host "Office setup path: $setupPath"
Start-Process -FilePath $setupPath -Wait
} else {
Write-Host "Office setup files not found."