Scripts/README.md
2025-07-22 12:44:17 +04:00

66 lines
2.7 KiB
Markdown

# Folder Installer Tool (Embedded Version)
This tool creates an executable that **contains all your folders within itself**. When users run it, they can choose where to install all the folders.
## ✅ **Your executable is ready: `dist\ScriptsInstaller.exe`**
## How it works:
1. **All folders are embedded inside the exe** - The executable contains all your folders (PLACE DPMS, PLACE DPM DEVICES, OTHER SCRIPTS, RESET IGNITION, TAGS) as compressed data
2. **Users only need the exe file** - No other files needed
3. **Users run the exe anywhere** - They can place it on desktop, downloads, etc.
4. **Users select installation location** - A folder selection dialog opens
5. **Folders get extracted and installed** - All folders are extracted to their chosen location
## User Experience:
### What users get:
- **Single file**: `ScriptsInstaller.exe` (12MB)
- **No installation required**: Just run the exe
- **Choose any location**: Install folders wherever they want
### What happens when they run it:
1. User double-clicks `ScriptsInstaller.exe`
2. A folder selection dialog opens: "Select destination folder for installing folders"
3. User chooses where to install (e.g., `C:\Users\John\Desktop\`)
4. User sees confirmation: "Install all folders to: [selected path]"
5. User clicks "Yes" to proceed
6. A `SCRIPTS` folder gets created with all tools inside
7. Success message shows: "Successfully installed 1 folder to: [path]"
## What gets installed:
When users run the executable, a single `SCRIPTS` folder will be installed to their chosen location, containing:
- `SCRIPTS/PLACE DPMS/` (with all subfolders and files)
- `SCRIPTS/PLACE DPM DEVICES/` (with all subfolders and files)
- `SCRIPTS/OTHER SCRIPTS/` (with all subfolders and files)
- `SCRIPTS/RESET IGNITION/` (with all subfolders and files)
- `SCRIPTS/TAGS/` (with all subfolders and files)
## Distribution:
**You only need to give users the `ScriptsInstaller.exe` file.** That's it!
- ✅ No additional files needed
- ✅ No installation process
- ✅ Works on any Windows computer
- ✅ Users choose installation location
- ✅ Complete folder structure preserved
## Technical Details:
- **File size**: ~12MB (contains all your folders compressed)
- **Dependencies**: None (self-contained)
- **Requirements**: Windows 7 or later
- **Method**: Uses base64 encoding to embed zip data within the executable
## Example User Workflow:
1. User downloads `ScriptsInstaller.exe`
2. User places it on desktop
3. User double-clicks the exe
4. User selects: `C:\Users\John\Desktop\`
5. User confirms installation
6. Result: A `SCRIPTS` folder is created at `C:\Users\John\Desktop\SCRIPTS\` containing all tools
This is exactly what you wanted - users get a single exe file that installs all your folders wherever they choose!