From 4edaa0e6cf890cc5d4d157dba876226b1989fd91 Mon Sep 17 00:00:00 2001 From: "pavel.muhortov" Date: Wed, 1 Sep 2021 20:28:30 +0300 Subject: [PATCH] updated installer --- setup.cmd | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup.cmd b/setup.cmd index 483ba5c..5bd2c8b 100644 --- a/setup.cmd +++ b/setup.cmd @@ -14,8 +14,10 @@ goto :Start :Start set PTCVER=7.0.2.0 -set LAUNCHER="'C:\Program Files\PTC\Creo %PTCVER%\Parametric\launcher\CreoLauncher.ps1'" if "%~2" NEQ "" (set PTCVER=%~2) +if not exist "C:\Program Files\PTC\Creo %PTCVER%\Parametric\bin\parametric.exe" ( + goto :Exit + ) :Check_Admin net session >nul 2>&1