More output
This commit is contained in:
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user