From 3739c276dd592d0aad2eded2090faa568dd18088 Mon Sep 17 00:00:00 2001 From: Lurenaud Date: Tue, 7 Feb 2023 18:10:13 +0100 Subject: [PATCH] try git and python install --- .../python_and_git_install.cmd | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 installFromZeroScript/python_and_git_install.cmd diff --git a/installFromZeroScript/python_and_git_install.cmd b/installFromZeroScript/python_and_git_install.cmd new file mode 100644 index 0000000..b7ede7f --- /dev/null +++ b/installFromZeroScript/python_and_git_install.cmd @@ -0,0 +1,25 @@ +@echo off +@REM Git and python install +set test +python --version 3 > test +echo %test% +if (%test%== 0) GOTO :EOF +ECHO Installing python +@REM curl -o python.exe https://www.python.org/ftp/python/3.11.1/python-3.11.1-amd64.exe +@REM python.exe /quiet InstallAllUsers=1 PrependPath=1 Include_test=0 + +:EOF + +IF EXIST git GOTO :end +ECHO Installing Git +@REM winget install --id Git.Git -e --source winget + +:end + +@echo on +@REM Get the project and install it +@REM git clone https://git.lurenaud.com/lurenaud/SldwrksExporter.git +@REM copy SldwrksExporter\scripts\runExport.cmd runExport.cmd +@REM cd SldwrksExporter +@REM powershell -file "install.ps1" +@REM (goto) 2>nul & del "%~f0" & cmd /c exit /b 10 \ No newline at end of file