:: Admin check net session >nul 2>&1 if %errorLevel% neq 0 ( echo [ERROR] Administrator rights required! pause exit /b 1 )
:: Check if installation was successful if exist "%ProgramFiles%\StartAllBack\StartAllBackX64.dll" ( echo [SUCCESS] StartAllBack installed successfully! echo [%date% %time%] Installation successful >> "%LOG_FILE%" set "INSTALL_SUCCESS=1" ) else if exist "%ProgramFiles(x86)%\StartAllBack\StartAllBackX86.dll" ( echo [SUCCESS] StartAllBack installed successfully! echo [%date% %time%] Installation successful >> "%LOG_FILE%" set "INSTALL_SUCCESS=1" ) else ( echo [WARNING] Could not verify installation. Check manually. echo [%date% %time%] Installation verification failed >> "%LOG_FILE%" set "INSTALL_SUCCESS=0" ) StartAllBack AiO 3.8.7.5149 Silent Install msh...
:: Restart explorer.exe echo [INFO] Restarting explorer.exe... start explorer.exe timeout /t 2 /nobreak >nul :: Admin check net session >nul 2>&1 if
# Wait for installation Start-Sleep -Seconds 5 start explorer
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\StartIsBack] "TaskbarStyle"=dword:00000001 "StartMenuStyle"=dword:00000002 "ShowUser"=dword:00000001 "ShowComputer"=dword:00000001
"%INSTALLER_PATH%" /S /HIDE
Write-ColorOutput "========================================" "Cyan" Write-ColorOutput "" Write-ColorOutput "Log file: $LogFile" "Gray"