feat: add flsol direct win7 evaluation support
This commit is contained in:
29
desktop_env/server_win7/extract_and_install.bat
Normal file
29
desktop_env/server_win7/extract_and_install.bat
Normal file
@@ -0,0 +1,29 @@
|
||||
@echo off
|
||||
echo ========================================
|
||||
echo Unzip + Install (Win7 32bit Python3.8)
|
||||
echo ========================================
|
||||
echo.
|
||||
|
||||
set "ZIPFILE=%~dp0win7_server_packages.zip"
|
||||
set "DESTDIR=%~dp0"
|
||||
|
||||
if not exist "%ZIPFILE%" (
|
||||
echo [ERROR] win7_server_packages.zip not found!
|
||||
echo Please put this bat and the zip in the same folder.
|
||||
pause
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
echo [1/3] Unzipping via Shell.Application (Win7 compatible) ...
|
||||
powershell -NoProfile -ExecutionPolicy Bypass -Command "$s=New-Object -ComObject Shell.Application; $d=$s.NameSpace('%DESTDIR%'); $z=$s.NameSpace('%ZIPFILE%'); $d.CopyHere($z.Items(), 20); Start-Sleep -s 5"
|
||||
|
||||
echo.
|
||||
if not exist "%~dp0win7_offline_packages\install_win7.bat" (
|
||||
echo [ERROR] Unzip failed. Folder win7_offline_packages not found.
|
||||
pause
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
echo [2/3] Unzip OK. Starting install ...
|
||||
echo.
|
||||
call "%~dp0win7_offline_packages\install_win7.bat"
|
||||
Reference in New Issue
Block a user