/build/static/layout/Breadcrumb_cap_w.png

Riot Games League of Legends

Version: 1

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login
Views: 839  |  Created: 12/18/2010

Average Rating: 0
League of Legends has 3 inventory records, 0 Questions, 0 Blogs and 0 links. Please help add to this by sharing more!

Deployment Tips (1)

Most Common Setup Type
Windows Installer (Delivered as an EXE)
Average Package Difficulty Rating
Rated 3 / 5 (Average) based on 1 ratings
Most Commonly Reported Deployment Method
Vendor Provided Command Line (switch driven)
0
Command Line

1. Download installer

https://signup.oce.leagueoflegends.com/en/signup/index#/


2. Deploy software with a batch script

Obtain fsync.exe - http://www.vicosoft.it/en/fsync.html

NB - This script was initially created in Silent Batch Maker, a very useful tool to help create silent installers quickly - https://github.com/nsy16/SilentBatchMaker/releases

install.cmd

@echo off&cls
for %%a in ("%~dp0\.") do set _parentdir=%%~nxa
title %_parentdir%

:: Install LoL

set _fPath=%~dp0League of Legends installer OC1.exe
set _swtch=--unattendedmodeui minimal --mode unattended --license_agreement 1
set _regKy=League of Legends 1.0
set _regDN=League of Legends
set _regDV=1.0

:: query registry for DisplayVersion 64bit and 32bit uninstall locations
for /f "tokens=3" %%a in ('reg query "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%_regKy%" /v "DisplayVersion" 2^>nul') do if "%%a" geq "%_regDV%" goto :end
for /f "tokens=3" %%a in ('reg query "HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\%_regKy%" /v "DisplayVersion" 2^>nul') do if "%%a" geq "%_regDV%" goto :end

:: install software
echo Installing %_regDN% %_regDV%
start /wait "" "%_fPath%" %_swtch%

:: overwrite folder with 'good' version
echo Updating cache files 1400+...
if not exist "%temp%\fsync.exe" copy "%~dp0fsync.exe" "%temp%" >nul
"%temp%\fsync.exe" "%~dp0RADS" "C:\Riot Games\League of Legends\RADS" /k /f

:end

:: cleanup
del "C:\Users\Public\Desktop\League of Legends.lnk" 2>nul
del "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\League of Legends\Uninstall League of Legends.lnk" 2>nul


3. Update local cache

Launch game and ensure it is updated

Use the following script to update your local installer cache


update-admininstall-cache.cmd
@echo off&cls
for %%a in ("%~dp0\.") do set _parentdir=%%~nxa
title %_parentdir%

:: Update Cache LoL

:: cleanup
del "C:\Users\Public\Desktop\League of Legends.lnk" 2>nul
del "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\League of Legends\Uninstall League of Legends.lnk" 2>nul

:: overwrite folder with 'good' version
echo Updating cache files 1400+...
if not exist "%temp%\fsync.exe" copy "%~dp0fsync.exe" "%temp%" >nul
"%temp%\fsync.exe" "C:\Riot Games\League of Legends\RADS" "%~dp0RADS" /k /f

:end
pause

Setup Information:
Setup Type: Windows Installer (Delivered as an EXE)
Deployment Method Used: Vendor Provided Command Line (switch driven)
Deployment Difficulty: Average
Platform(s): Windows

Inventory Records (3)

View inventory records anonymously contributed by opt-in users of the K1000 Systems Management Appliance.

League of Legends

Version

1.0020

Contact

Customer Support Department

Uninstall String

"C:\Program Files\InstallShield Installation Information\{92606477-9366-4D3B-8AE3-6BE4B29727AB}\setup.exe" -runfromtemp -l0x0409 -removeonly

Questions & Answers (0)

Questions & Answers related to Riot Games League of Legends

Blogs (0)

Blog posts related to Riot Games League of Legends

Reviews (0)

Reviews related to Riot Games League of Legends