September 6, 201114 yr Author Hi!!!! I'm thinking that it would be nice if the batch could skip the ECHO of the updates not installed. For example, if i put some hotfixes for x64 architecture on a x86 S.O., actually the installation is skipped, but the ECHO not. Is it feasible?
October 24, 201114 yr Author Hi guys! taking this script:@ECHO OFFCOLOR F9ECHO=_%~1|FINDSTR/X "_-? _/?">NUL 2>&1||GOTO ErrorSETLOCAL ENABLEEXTENSIONSSET "_="PUSHD %~dp0FOR /R %%A IN (ApplicationSetup.EXE) DO ( SET _=T ECHO=Installation of %%~nA...>>install.log >NUL PING -n 4 127.0.0.1:: Extracting ApplicationSetup file "%%A" /S:: Killing processes that automatically start bin\KillProcess Setup.exe bin\KillProcess InstallApp.exe:: Start Silent Installation of the extracted files %SystemDrive%\ApplicationSetup\%%~nA\Setup.exe /S:: Delete Folder where ApplicationSetup is extracted RD /S /Q %SystemDrive%\ApplicationSetup)IF NOT DEFINED _ GOTO Error:: ECHO=>>install.logECHO=Install complete.>>install.log>NUL PING -n 4 127.0.0.1EXITGOTO :EOF:ErrorECHO=Error.>>install.log>NUL PAUSESo, for you is it correct? Is it better to add "START /WAIT" at the begin of every command?This script works, but i want to be sure that it can't give me errors.Thank you in advance!! Edited October 24, 201114 yr by Caml Light
Create an account or sign in to comment