-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.bat
More file actions
109 lines (102 loc) · 3.15 KB
/
install.bat
File metadata and controls
109 lines (102 loc) · 3.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
@echo off
echo ====================================================
echo ANA MAX - Windows AI Agent Installer
echo ====================================================
echo.
echo [1/5] Checking Python installation...
python --version >nul 2>&1
if %errorlevel% neq 0 (
echo ERROR: Python not found!
echo Please install Python 3.9+ from https://python.org
echo IMPORTANT: Check "Add Python to PATH" during install
pause
exit /b 1
)
echo OK: Python installed
echo.
echo [2/5] Checking Visual C++ Build Tools (for Frida)...
if exist "C:\Program Files (x86)\Microsoft Visual Studio\Installer\vs_installer.exe" (
echo OK: Visual Studio found
) else (
echo WARNING: Visual C++ Build Tools not found
echo Frida may fail to install without it.
echo Download from: https://visualstudio.microsoft.com/visual-cpp-build-tools/
echo Install "Desktop development with C++" workload
echo.
set /p continue="Continue anyway? (y/n): "
if /i not "%continue%"=="y" exit /b 1
)
echo.
echo [3/5] Installing Python dependencies...
pip install -r requirements.txt
if %errorlevel% neq 0 (
echo.
echo ERROR: Failed to install dependencies
echo.
echo Common issues:
echo 1. Frida needs Visual C++ Build Tools
echo 2. Run as Administrator if permission denied
echo 3. Check Python version (need 3.9+)
echo.
pause
exit /b 1
)
echo OK: Dependencies installed
echo.
echo [3.5/5] Installing optional OCR dependencies...
echo Installing mss and pillow (for screenshots and OCR)...
pip install mss pillow
if %errorlevel% neq 0 (
echo WARNING: Failed to install mss/pillow
echo OCR and screenshot features may not work
) else (
echo OK: mss and pillow installed
)
echo.
echo OPTIONAL DEPENDENCIES:
echo OCR (choose one):
echo pip install paddleocr paddlepaddle (recommended, more accurate)
echo pip install pytesseract (requires Tesseract.exe installed)
echo.
echo Voice ^& Notifications:
echo pip install pyttsx3 win10toast
echo.
echo [4/5] Checking ADB (optional - for Android tools)...
adb version >nul 2>&1
if %errorlevel% neq 0 (
echo WARNING: ADB not found (optional)
echo Android tools will be disabled
echo Download from: https://developer.android.com/studio/releases/platform-tools
) else (
echo OK: ADB found
)
echo.
echo [5/5] Creating .env file...
if not exist .env (
copy .env.example .env
echo OK: .env file created
echo IMPORTANT: Edit .env with your API keys!
) else (
echo OK: .env file already exists
)
echo.
echo ====================================================
echo Installation Complete!
echo ====================================================
echo.
echo To start ANA MAX:
echo python main.py
echo.
echo Then connect your MCP client to:
echo http://127.0.0.1:8765
echo.
echo Features installed:
echo - 51+ MCP Tools (including 9 AI Core tools)
echo - Desktop Control (UIA, screenshots, window management)
echo - AI Intelligence (context, memory, evolution, orchestration)
echo - Security Tools (pentest, MITM, scanning)
echo - Mobile Tools (ADB, Frida, APK analysis)
echo.
echo For detailed instructions, see: INSTALL_GUIDE.md
echo.
pause