text
stringlengths
0
834k
:: Requirements: Run this script with a network admin account
:: Author: reddit.com/user/vocatus ( vocatus.gate@gmail.com ) // PGP key: 0x07d1490f82a211a2
:: Version: 1.0.3-TRON + Add installer for Chrome version of Flash (PPAPI)
:: 1.0.2-TRON * Make version-agnostic. Now just drop the latest Flash installers, named appropriately, in the same directory as this script
:: 1.0.1-TRON * Make architecture-agnostic, now will detect correct system architecture and install relevant package
:: * Replace all hard-coded system file paths with relevant variable for better portability
:: 1.0.0-TRON + Initial build for Tron, modified from PDQ Deploy pack installer version
:: Remove many items not necessary for Tron
:: Script inherits log parameters when called by Tron
:::::::::::::::
:: VARIABLES :: -- Set these to your desired values
:::::::::::::::
:: Package to install. Do not use trailing slashes (\)
set BINARY_VERSION=
set FLAGS=ALLUSERS=1 /q /norestart
::::::::::
:: Prep :: -- Don't change anything in this section
::::::::::
@echo off
set SCRIPT_VERSION=1.0.3-TRON
set SCRIPT_UPDATED=2016-06-27
pushd %~dp0
::::::::::::::::::
:: INSTALLATION ::
::::::::::::::::::
:: Attempt to kill any running instances first
taskkill /f /im firefox.exe /t >> ""%LOGPATH%\%LOGFILE%"" 2>NUL
taskkill /f /im palemoon.exe /t >> ""%LOGPATH%\%LOGFILE%"" 2>NUL
taskkill /f /im iexplore.exe /t >> ""%LOGPATH%\%LOGFILE%"" 2>NUL
taskkill /f /im chrome.exe /t >> ""%LOGPATH%\%LOGFILE%"" 2>NUL
taskkill /f /im chrome64.exe /t >> ""%LOGPATH%\%LOGFILE%"" 2>NUL
wmic process where name=""firefox.exe"" call terminate >> ""%LOGPATH%\%LOGFILE%"" 2>NUL
wmic process where name=""palemoon.exe"" call terminate >> ""%LOGPATH%\%LOGFILE%"" 2>NUL
wmic process where name=""iexplore.exe"" call terminate >> ""%LOGPATH%\%LOGFILE%"" 2>NUL
wmic process where name=""chrome.exe"" call terminate >> ""%LOGPATH%\%LOGFILE%"" 2>NUL
wmic process where name=""chrome64.exe"" call terminate >> ""%LOGPATH%\%LOGFILE%"" 2>NUL
:: Remove prior versions of the Flash player
wmic product where ""name like 'Adobe Flash Player%%Plugin'"" uninstall /nointeractive >> ""%LOGPATH%\%LOGFILE%"" 2>NUL
wmic product where ""name like 'Adobe Flash Player%%NPAPI'"" uninstall /nointeractive >> ""%LOGPATH%\%LOGFILE%"" 2>NUL
wmic product where ""name like 'Adobe Flash Player%%PPAPI'"" uninstall /nointeractive >> ""%LOGPATH%\%LOGFILE%"" 2>NUL
:: Install Firefox and IE versions of Flash
msiexec /i ""install_flash_player_22_plugin.msi"" %FLAGS%
msiexec /i ""install_flash_player_22_active_x.msi"" %FLAGS%
msiexec /i ""install_flash_player_22_ppapi.msi"" %FLAGS%
:: Delete the Adobe Acrobat Update Service
net stop AdobeARMservice >> ""%LOGPATH%\%LOGFILE%"" 2>NUL
sc delete AdobeARMservice >> ""%LOGPATH%\%LOGFILE%"" 2>NUL
:: Delete the Adobe Acrobat Update Service (older version)
net stop armsvc >> ""%LOGPATH%\%LOGFILE%"" 2>NUL
sc delete armsvc >> ""%LOGPATH%\%LOGFILE%"" 2>NUL
:: Delete the Adobe Flash Player Update Service
net stop AdobeFlashPlayerUpdateSvc >> ""%LOGPATH%\%LOGFILE%"" 2>NUL
sc delete AdobeFlashPlayerUpdateSvc >> ""%LOGPATH%\%LOGFILE%"" 2>NUL
:: Delete the scheduled task Adobe installs (against our wishes)
del /F /Q ""%SystemDrive%\Windows\tasks\Adobe Flash Player Updater.job"" >> ""%LOGPATH%\%LOGFILE%"" 2>NUL
:: Delete the annoying Acrobat tray icon
if exist ""%ProgramFiles(x86)%\Adobe\Acrobat 7.0\Distillr\acrotray.exe"" (
taskkill /im ""acrotray.exe"" >> ""%LOGPATH%\%LOGFILE%"" 2>NUL
del /f /q ""%ProgramFiles(x86)%\Adobe\Acrobat 7.0\Distillr\acrotray.exe"" >> ""%LOGPATH%\%LOGFILE%"" 2>NUL
)
:: Return exit code to SCCM/PDQ Deploy/Tron/etc
exit /B %EXIT_CODE%
",48.1538461538,154,0.6892971246
219580,d2fd06d7d9e5083d78b2dcbaf8db344b6cd29149,310,cmd,Batchfile,ci/incremental/build.cmd,alexander-l-stone/pandas,c8ce3d01e9ffafc24c6f9dd568cd9eb7e42c610c,['BSD-3-Clause'],4.0,2021-03-02T19:57:18.000Z,2021-06-20T19:23:57.000Z,ci/incremental/build.cmd,alexander-l-stone/pandas,c8ce3d01e9ffafc24c6f9dd568cd9eb7e42c610c,['BSD-3-Clause'],3.0,2018-09-24T22:09:28.000Z,2018-10-01T21:10:00.000Z,ci/incremental/build.cmd,alexander-l-stone/pandas,c8ce3d01e9ffafc24c6f9dd568cd9eb7e42c610c,['BSD-3-Clause'],1.0,2018-10-14T18:27:49.000Z,2018-10-14T18:27:49.000Z,"@rem https://github.com/numba/numba/blob/master/buildscripts/incremental/build.cmd
call activate %CONDA_ENV%
@rem Build numba extensions without silencing compile errors
python setup.py build_ext -q --inplace
@rem Install pandas locally
python -m pip install -e .
if %errorlevel% neq 0 exit /b %errorlevel%
",28.1818181818,82,0.7838709677
219581,d2fd3074dc413cdee54c3516244514ba7441e87a,95,cmd,Batchfile,iis/get-started/getting-started-with-iis/getting-started-with-appcmdexe/samples/sample55.cmd,aukhalilim/iis-docs,878e164f10b2ae52730ed6a1f8f9975e622bc15e,['CC-BY-4.0' 'MIT'],90.0,2017-06-13T19:56:04.000Z,2022-03-15T16:42:09.000Z,iis/get-started/getting-started-with-iis/getting-started-with-appcmdexe/samples/sample55.cmd,aukhalilim/iis-docs,878e164f10b2ae52730ed6a1f8f9975e622bc15e,['CC-BY-4.0' 'MIT'],453.0,2017-05-22T18:00:05.000Z,2022-03-30T21:07:55.000Z,iis/get-started/getting-started-with-iis/getting-started-with-appcmdexe/samples/sample55.cmd,aukhalilim/iis-docs,878e164f10b2ae52730ed6a1f8f9975e622bc15e,['CC-BY-4.0' 'MIT'],343.0,2017-05-26T08:57:30.000Z,2022-03-25T23:05:04.000Z,"%systemroot%\system32\inetsrv\APPCMD set apppool ""MyAppPool"" /processModel.pingingEnabled:false",95.0,95,0.8526315789
219582,d2fd430a1278fc9c97f9e03227fd13eaf0c9bcc3,232,cmd,Batchfile,node_modules/.bin/x-default-browser.cmd,Dathor/jobsplatform,3d5c53d20f84c297166ba27adad334a2f85726f5,['MIT'],,,,node_modules/.bin/x-default-browser.cmd,Dathor/jobsplatform,3d5c53d20f84c297166ba27adad334a2f85726f5,['MIT'],,,,node_modules/.bin/x-default-browser.cmd,Dathor/jobsplatform,3d5c53d20f84c297166ba27adad334a2f85726f5,['MIT'],,,,"@IF EXIST ""%~dp0\node.exe"" (
""%~dp0\node.exe"" ""%~dp0\..\x-default-browser\bin\x-default-browser.js"" %*
) ELSE (
@SETLOCAL
@SET PATHEXT=%PATHEXT:;.JS;=;%
node ""%~dp0\..\x-default-browser\bin\x-default-browser.js"" %*
)",33.1428571429,77,0.5948275862
219583,d2fd92079ef41a0228fa74511b6a1182bf9f3b28,99,bat,Batchfile,examples/twodtable/load-csv.bat,rexrainbow/phaser4-rex-plugins,eb44030b88864b3d93a296e488e5ab5180ae6820,['MIT'],22.0,2020-04-02T01:52:58.000Z,2022-01-29T23:16:59.000Z,examples/twodtable/load-csv.bat,rexrainbow/phaser4-rex-plugins,eb44030b88864b3d93a296e488e5ab5180ae6820,['MIT'],2.0,2021-07-13T02:34:02.000Z,2021-11-20T01:16:35.000Z,examples/twodtable/load-csv.bat,rexrainbow/phaser4-rex-plugins,eb44030b88864b3d93a296e488e5ab5180ae6820,['MIT'],2.0,2020-04-02T01:52:59.000Z,2021-12-09T02:55:36.000Z,"@echo off
set preview=1
set main=./examples/twodtable/load-csv.ts
cd ..