- @echo off
- start %systemdrive%\123\Setup.exe -s -f1"%systemdrive%\123\setup.iss"
- echo 安装完毕窗口会自动关闭
- set /p =正在安装<nul
- :loop
- ping /n 2 127.1 >nul
- for /l %%a in (1 1 6) do (
- set /p =.<nul
- ping /n 2 127.1 >nul
- )
- set /p = <nul
- tasklist | findstr "Setup.exe" >nul
- if errorlevel 1 (
- goto :eof
- ) else (
- goto :loop
- )
复制代码
|