Skip to content

Instantly share code, notes, and snippets.

@kid1412-net
Last active March 17, 2017 08:31
Show Gist options
  • Save kid1412-net/996acb5c31669f71dcac to your computer and use it in GitHub Desktop.
Save kid1412-net/996acb5c31669f71dcac to your computer and use it in GitHub Desktop.
Batch install
@ECHO off
MKDIR LOG
SET "LOG_FOLDER=%CD%/LOG"
SET "LOG_FLASH_ACTIVEX=%LOG_FOLDER%/flash_activex.log"
SET "LOG_FLASH_PLAYER=%LOG_FOLDER%/flash_player.log"
SET "LOG_LIBRE=%LOG_FOLDER%/libre_office.log"
SET "LOG_7Z=%LOG_FOLDER%/7z.log"
SET "LOG_NOTEPADPP=%LOG_FOLDER/npp.log"
SET "LOG_TORTOISESVN=%LOG_FOLDER%/tortoise_svn.log"
SET "LOG_CLASSIC_SHELL=%LOG_FOLDER%/classic_shell.log"
SET "LOG_JRE=%LOG_FOLDER%/jre.log"
SET "LOG_WINSCP=%LOG_FOLDER%/winscp.log"
SET "LOG_WINRAR=%LOG_FOLDER%/winrar.log"
SET "LOG_FIREFOX=%LOG_FOLDER%/firefox.log"
SET "LOG_THUNDERBIRD=%LOG_FOLDER%/thunderbird.log"
SET "LOG_SUBLIME_TEXT_3=%LOG_FOLDER%/sublime_text.log"
SET "LOG_PUTTY=%LOG_FOLDER%/putty.log"
ECHO "Installing WinRAR"
winrar-x64-510.exe /s /l=%LOG_WINRAR%
ECHO "Installing WinSCP"
winscp550setup.exe /SILENT /NORESTART /LOG=%LOG_WINSCP%
ECHO "Installing PuTTY"
putty-0.63-installer.exe /SILENT NORESTART /LOG=%LOG_PUTTY%
cd Office
ECHO "Installing LibreOffice"
msiexec.exe /passive /norestart /l* %LOG_LIBRE% /i LibreOffice_4.3.0_Win_x86.msi
cd ..
ECHO "Installing 7z"
msiexec.exe /passive /norestart /l* %LOG_7Z% /i 7z920-x64.msi
ECHO "Installing TortoiseSVN"
msiexec /passive /norestart /l* %LOG_TORTOISESVN% /i TortoiseSVN-1.8.7.25475-x64-svn-1.8.9.msi
ECHO "Installing Notepad++"
REM msiexec /passive /norestart /l* %LOG_NOTEPADPP% /i npp.6.6.6.installer.msi
npp.6.6.8.Installer.exe /S
ECHO "Installing Classic Start Menu"
ClassicShellSetup_4_1_0.exe /qn ADDLOCAL=ClassicStartMenu /l* %LOG_CLASSIC_SHELL%
ECHO "Installing Skype "
SkypeSetupFull.exe /VERYSILENT /SP- /NOCANCEL /NORESTART /SUPPRESSMSGBOXES /NOLAUNCH /LOG=%LOG_SKYPE%
ECHO "Installing Firefox"
"Firefox Setup 31.0.exe" -ms
ECHO "Installing Thunderbird"
"Thunderbird Setup 31.0.exe" -ms
cd ../Env
ECHO "Installing JRE"
jre-7u67-windows-x64.exe /s /norestart AgreeToLicense=YES JAVAUPDATE=0 AUTOUPDATECHECK=0 JU=0 ADDLOCAL=ALL IEXPLORER=1 MOZILLA=1 SYSTRAY=0 /L %LOG_JRE%
ECHO "Installing Flash Player"
msiexec.exe /passive /l* %LOG_FLASH_PLAYER% /i install_flash_player_14_plugin.msi
ECHO "Installing Flash ActiveX"
msiexec.exe /passive /l* %LOG_FLASH_ACTIVEX% /i install_flash_player_14_plugin.msi
ECHO "Installing Sublime Text 3 Beta"
"Sublime Text Build 3065 x64 Setup.exe" /SILENT /NORESTART /TASKS="contextentry" /LOG=%LOG_SUBLIME_TEXT_3%
cd ../Apps
START UniKeyNT.exe
ECHO "DONE!"
ECHO "Deleting Log..."
CD %LOG_FOLDER%
REM DEL /s *.log
ECHO "SHUTDOWN?"
shutdown -r -f -t 0
REM exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment