parent
f9b35b9a3d
commit
ec74b06282
1 changed files with 11 additions and 0 deletions
|
|
@ -263,6 +263,7 @@ call :ExtractOrFindPath || goto ErrorProgramNotFound
|
||||||
set "script=%_path%\%L_ITEM%"
|
set "script=%_path%\%L_ITEM%"
|
||||||
|
|
||||||
rem Verify
|
rem Verify
|
||||||
|
"%PYTHON%" --version >nul || goto ErrorPythonUnsupported
|
||||||
if not exist "%script%" goto ErrorScriptNotFound
|
if not exist "%script%" goto ErrorScriptNotFound
|
||||||
|
|
||||||
rem Run
|
rem Run
|
||||||
|
|
@ -435,6 +436,16 @@ echo ERROR: Office version not supported by this script.
|
||||||
start "" "explorer.exe" "%client_dir%\Office"
|
start "" "explorer.exe" "%client_dir%\Office"
|
||||||
goto Abort
|
goto Abort
|
||||||
|
|
||||||
|
:ErrorPythonUnsupported
|
||||||
|
rem The Windows installation lacks Windows update KB2999226 needed to run Python
|
||||||
|
echo.
|
||||||
|
echo ERROR: Failed to run Python, try installing Windows update KB2999226.
|
||||||
|
echo NOTE: That update is from October 2015 so this system is SEVERELY outdated
|
||||||
|
if exist "%bin%\..\Installers\Extras\Windows Updates" (
|
||||||
|
start "" "explorer.exe" "%bin%\..\Installers\Extras\Windows Updates"
|
||||||
|
)
|
||||||
|
goto Abort
|
||||||
|
|
||||||
:ErrorQuickBooksSourceNotFound
|
:ErrorQuickBooksSourceNotFound
|
||||||
echo.
|
echo.
|
||||||
echo ERROR: QuickBooks source "%L_ITEM%" not found.
|
echo ERROR: QuickBooks source "%L_ITEM%" not found.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue