56 lines
1.5 KiB
Plaintext
56 lines
1.5 KiB
Plaintext
REM #Copy files to PC
|
|
REM #c:\pilotgames\
|
|
REM # credentials.dat
|
|
REM # deployAgent.bat
|
|
REM # deployCabinet.bat
|
|
REM # site_director.cfg
|
|
REM # start.bat
|
|
REM #c:\pilotgames\downloads\
|
|
REM # OHGDRelease-2026.05.07.1.zip
|
|
REM # PilotGameAgentRelease-2026.6.2.1.zip
|
|
REM #Anywhere\
|
|
REM # PG Settings.reg
|
|
REM # windowsdesktop-runtime-8.0.15-win-x64.exe
|
|
cd C:\PilotDownloads\LottoInstall\
|
|
copy credentials.dat c:\pilotgames\ /Y
|
|
copy deployAgent.bat c:\pilotgames\ /Y
|
|
copy deployCabinet.bat c:\pilotgames\ /Y
|
|
copy site_director.cfg c:\pilotgames\ /Y
|
|
copy start.bat c:\pilotgames\ /Y
|
|
copy OHGDRelease-2026.05.07.1.zip c:\pilotgames\downloads\ /Y
|
|
copy PilotGameAgentRelease-2026.6.2.1.zip c:\pilotgames\downloads\ /Y
|
|
|
|
REM #Import new registry settings
|
|
reg import "PG Settings.reg"
|
|
|
|
REM #Install Desktop Runtime 8.0.15
|
|
windowsdesktop-runtime-8.0.15-win-x64.exe /quiet /norestart
|
|
|
|
REM #Remove existing "NVRAM"
|
|
rmdir c:\pilot\ /S /Q
|
|
|
|
REM #Uninstall current agent and install new
|
|
cd c:\pilotgames\
|
|
net stop PilotGameAgent
|
|
c:\pilotgames\RemoveGameAgentService.bat
|
|
rename game_agent game_agent.ND
|
|
mkdir game_agent
|
|
deployAgent.bat 2026.6.2.1
|
|
cd c:\pilotgames\
|
|
InstallGameAgentService.bat
|
|
powershell.exe Set-Service -Name "PilotGameAgent" -StartupType Automatic
|
|
|
|
REM #Deploy new cabinet software
|
|
cd c:\pilotgames\
|
|
del /Q NDGDRelease*.zip
|
|
rmdir /Q /S NDGDRelease.bak
|
|
rmdir /Q /S BRGDRelease.bak
|
|
timeout /t 60
|
|
move NDGDRelease NDGDRelease.bak
|
|
move BRGDRelease BRGDRelease.bak
|
|
deployCabinet.bat 2026.05.07.1
|
|
|
|
REM #Start the system
|
|
Taskkill /IM "explorer.exe" /f
|
|
net start PilotGameAgent
|