README in Russian

This commit is contained in:
paravis committed 2026-11-07 20:46:28 +03:00
1 parent ce8b49d0ec
commit 497cb9560d
1 file changed
+47 -48
+47 -48
View File
@@ -1,74 +1,73 @@
# Paravis installer — C++ port # Установщик флешки PARAVIS
Native Win32 port of `USBInstaller\usb-install.au3` with the same layout, Нативная Win32-версия `USBInstaller\usb-install.au3` на C++ с той же
behaviour and data flow. разметкой, поведением и потоком данных.
## Build ## Сборка
Requirements: Требования:
- Visual Studio 2022 with the Desktop C++ workload - Visual Studio 2022 с рабочей нагрузкой Desktop C++;
- CMake 3.20 or newer - CMake 3.20 или новее.
From this directory run: Из этого каталога:
```bat ```bat
build.cmd build.cmd
``` ```
The executable is produced at: Результат:
``` ```
build\Release\ParavisInstaller.exe build\Release\ParavisInstaller.exe
``` ```
The target is 32-bit (`Win32`) like the original AutoIt build, and the Цель 32-битная (`Win32`), как и оригинальная сборка на AutoIt; манифест
application manifest requests administrator rights. запрашивает права администратора.
## What is implemented ## Что реализовано
- 376 × 183 custom-drawn window, header, custom disk dropdown, status line, - Окно 376×183 с собственной отрисовкой: шапка, выпадающий список дисков,
progress bar, install/cancel button and hover/pressed states. строка состояния, индикатор прогресса, кнопка установки/отмены и
- USB disk enumeration by storage bus type, nominal size formatting and состояния наведения/нажатия.
Windows-system-disk protection. - Перечисление USB-дисков по типу шины, форматирование номинального размера
- Diskpart layout: FAT32 PARAVIS 16 GB, FAT VTOYEFI 32 MB, exFAT DATA и защита системного диска Windows.
(remaining space minus 3 MB). - Разметка через diskpart: FAT32 `PARAVIS` 16 ГБ, FAT `VTOYEFI` 32 МБ,
- Offline disk is brought online before partitioning. exFAT `DATA` (остаток минус 3 МБ).
- Layout verification from the partition table and volume labels. - Отключённый диск переводится в онлайн перед разметкой.
- DISM apply of images 1 → PARAVIS, 2 → VTOYEFI, 3 → DATA with progress - Проверка разметки по таблице разделов и меткам томов.
parsing and cancellation of the DISM process tree. - Распаковка DISM: образ 1 → `PARAVIS`, 2 → `VTOYEFI`, 3 → `DATA`, с
- Pressing the cancel button during installation asks for confirmation first. разбором прогресса и остановкой дерева процессов DISM при отмене.
- VTOYEFI drive letter removal after a successful install. - Нажатие «Отмена» во время установки сначала запрашивает подтверждение.
- Success warning, launch of `Change_BootLoader.exe` from the PARAVIS - После успешной установки буква диска `VTOYEFI` удаляется.
partition, then immediate exit. - Предупреждение об успехе, запуск `Change_BootLoader.exe` с раздела
- If a `Change_BootLoader.exe` is present next to the installer, it is copied PARAVIS и немедленный выход.
to the PARAVIS partition after unpacking and used instead of the copy from - Если рядом с установщиком есть `Change_BootLoader.exe`, он копируется на
`Data.pf`. раздел PARAVIS после распаковки и используется вместо копии из `Data.pf`.
- Service modes: `/selftest`, `/verify=N`, `/testdisk=N`, `/wim=path`. - Служебные режимы: `/selftest`, `/verify=N`, `/testdisk=N`, `/wim=путь`.
## Notes ## Примечания
- `Data.pf` is searched next to the executable, exactly like the AutoIt - `Data.pf` ищется рядом с exe, как и в AutoIt-версии. `/wim=` остаётся
version. `/wim=` remains a service/testing override. служебным/тестовым переопределением.
- DISM command lines are built without the outer `cmd /c "..."` quote pair, - Командные строки DISM собираются без внешней пары кавычек `cmd /c "..."`,
so paths containing spaces work correctly. поэтому пути с пробелами работают корректно.
- The debug log is disabled by default. Set the environment variable - Отладочный лог по умолчанию выключен. Переменная
`PARAVIS_DEBUG_LOG=1` to write `%TEMP%\paravis_cpp_debug.log`. `PARAVIS_DEBUG_LOG=1` включает запись в `%TEMP%\paravis_cpp_debug.log`.
- Message boxes use the native `MessageBoxW` dialog; text, buttons and - Диалоги — нативный `MessageBoxW`; тексты, кнопки и поведение совпадают с
behavior are the same as the AutoIt version. AutoIt-версией.
## Repository layout ## Структура репозитория
``` ```
src/ C++ sources and resources src/ исходники и ресурсы C++
legacy-au3/ original AutoIt script legacy-au3/ исходная версия на AutoIt
build.cmd release build build.cmd сборка релиза
``` ```
## License ## Лицензия
MIT. See [`LICENSE`](LICENSE). MIT, см. [`LICENSE`](LICENSE).
This repository contains source code only. Installation archives В репозитории только исходный код. Архивы установки (`Data.pf`), образы
(`Data.pf`), Windows images (`*.wim`, `*.esd`) and third-party binaries are Windows (`*.wim`, `*.esd`) и сторонние бинарники не распространяются.
not distributed here.