From 9d1964cedaeb5486bf839083f342bf2b8d90fcc9 Mon Sep 17 00:00:00 2001 From: WindowsAddict Date: Sun, 3 Nov 2024 08:31:56 +0530 Subject: Increase time out --- MAS/Separate-Files-Version/Change_Office_Edition.cmd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'MAS/Separate-Files-Version/Change_Office_Edition.cmd') diff --git a/MAS/Separate-Files-Version/Change_Office_Edition.cmd b/MAS/Separate-Files-Version/Change_Office_Edition.cmd index 5cdbfe0..3031e0f 100644 --- a/MAS/Separate-Files-Version/Change_Office_Edition.cmd +++ b/MAS/Separate-Files-Version/Change_Office_Edition.cmd @@ -537,7 +537,7 @@ find /i "%%#" "%SystemRoot%\Temp\%list%.txt" %nul1% || ( if defined _notfound (set _notfound=%%#, !_notfound!) else (set _notfound=%%#) ) ) -if defined _notfound call :dk_color %Gray% "Office !_notfound! is not in this list because old version of Office is installed." +if defined _notfound call :dk_color %Gray% "Office !_notfound! is not in this list because old version [%_version%] of Office is installed." ) %line% echo: @@ -1374,7 +1374,7 @@ echo sc start sppsvc [Error Code: %spperror%] ) echo: -%psc% "$job = Start-Job { (Get-WmiObject -Query 'SELECT * FROM %sps%').Version }; if (-not (Wait-Job $job -Timeout 20)) {write-host 'sppsvc is not working correctly. Help - %mas%troubleshoot'}" +%psc% "$job = Start-Job { (Get-WmiObject -Query 'SELECT * FROM %sps%').Version }; if (-not (Wait-Job $job -Timeout 30)) {write-host 'sppsvc is not working correctly. Help - %mas%troubleshoot'}" exit /b :: Common lines used in PowerShell reflection code -- cgit v1.2.3