@ECHO OFF
@rem ******************************************************************
@rem Script: YourCommand.cmd
@rem Purpose: To update all HP Drivers + Symantec + Encryption on end-users laptop
@rem Creation Date: 10/26/09
@rem Last Modified:
@rem Author: Eddie S. Jackson
@rem E-Mail:
MrNetTek@gmail.com
@rem *********************************************************************
Title = HP Drivers
:BEGIN
@rem CREATES A POPUP FOR END-USER
Echo popup = msgbox("Please save and close all your work as a reboot will be required once workstation has been updated. Press the OK button when you are ready to continue.",,"HP Updates") > %temp%\popup_continue.vbs
Start /wait %temp%\popup_continue.vbs
@rem CREATES DRVERUPDATE FOLDER
@MD c:\DriversUpdate
ping 127.0.0.1 -n 1 > nul
Echo MD c:\DriversUpdate > c:\DriversUpdate\MstExeLog.txt
@rem THIS KILLS ANY MSHTA.EXE,SETUP.EXE, MSIEXEC.EXE AND THE EXPLORER.EXE CURRENTLY RUNNNING
@Taskkill /f /im mshta.exe
Echo Taskkill /f /im mshta.exe >> c:\driversupdate\MstExeLog.txt
@Taskkill /f /im setup.exe
Echo Taskkill /f /im setup.exe >> c:\driversupdate\MstExeLog.txt
@Taskkill /f /im msiexec.exe
Echo Taskkill /f /im msiexec.exe >> c:\driversupdate\MstExeLog.txt
@Taskkill /f /im explorer.exe
Echo Taskkill /f /im explorer.exe >> c:\driversupdate\MstExeLog.txt
@rem THIS COPIES OVER SPLASH SCREEN
@XCOPY "d:\files\splash.hta" "C:\DriversUpdate" /Y /V /Q /H
Echo XCOPY "d:\files\splash.hta" "C:\DriversUpdate" /Y /V /Q /H >> c:\driversupdate\MstExeLog.txt
@XCOPY "d:\files\splash.JPG" "C:\DriversUpdate" /Y /V /Q /H
Echo XCOPY "d:\files\splash.JPG" "C:\DriversUpdate" /Y /V /Q /H >> c:\driversupdate\MstExeLog.txt
@XCOPY "d:\files\progressbar.hta" "C:\DriversUpdate" /Y /V /Q /H
Echo XCOPY "d:\files\progressbar.hta" "C:\DriversUpdate" /Y /V /Q /H >> c:\driversupdate\MstExeLog.txt
@XCOPY "d:\files\progress.gif" "C:\DriversUpdate" /Y /V /Q /H
Echo XCOPY "d:\files\progress.gif" "C:\DriversUpdate" /Y /V /Q /H >> c:\driversupdate\MstExeLog.txt
@XCOPY "d:\files\COUNTER.HTA" "C:\DriversUpdate" /Y /V /Q /H
Echo XCOPY "d:\files\COUNTER.HTA" "C:\DriversUpdate" /Y /V /Q /H >> c:\driversupdate\MstExeLog.txt
@XCOPY "d:\files\resplash.vbs" "C:\DriversUpdate" /Y /V /Q /H
Echo XCOPY "d:\files\resplash.vbs" "C:\DriversUpdate" /Y /V /Q /H >> c:\driversupdate\MstExeLog.txt
@rem LAUNCHES SPLASH...
start c:\DriversUpdate\splash.hta & ping 127.0.0.1 > nul
Echo start "" c:\driversupdate\splash.hta >> c:\driversupdate\MstExeLog.txt
@rem LAUNCHES PROGRESS BAR...
rem ping 127.0.0.1 -n 3 > nul
rem Echo ping 127.0.0.1 -n 3 > nul >> c:\driversupdate\MstExeLog.txt
start c:\driversupdate\progressbar.hta & ping 127.0.0.1 > nul
Echo start "" c:\driversupdate\progressbar.hta >> c:\driversupdate\MstExeLog.txt
@rem stops Update Service temporarily, restarts at end of udpates
@net stop wuauserv
Echo net stop wuauserv >> c:\driversupdate\MstExeLog.txt
@rem LAUNCHES THE COUNTER
rem ping 127.0.0.1 -n 3 > nul
rem Echo ping 127.0.0.1 -n 3 > nul >> c:\driversupdate\MstExeLog.txt
start c:\driversupdate\COUNTER.hta & ping 127.0.0.1 > nul
Echo start "" c:\driversupdate\COUNTER.hta >> c:\driversupdate\MstExeLog.txt
@rem COPY DRIVER FILES FROM SOURCE TO TARGET
start "" "C:\DriversUpdate\resplash.vbs"
cls
Echo cls >> c:\driversupdate\MstExeLog.txt
Echo Copying HP Driver Updates...
Echo Echo Copying HP Driver Updates... >> c:\driversupdate\MstExeLog.txt
@XCOPY "d:\files\ATIVideosp43762.exe" "C:\DriversUpdate" /Y /V /Q /H
Echo XCOPY "d:\files\ATIVideosp43762.exe" "C:\DriversUpdate" /Y /V /Q /H >> c:\driversupdate\MstExeLog.txt
@XCOPY "d:\files\Camerasp41512.exe" "C:\DriversUpdate" /Y /V /Q /H
Echo XCOPY "d:\files\Camerasp41512.exe" "C:\DriversUpdate" /Y /V /Q /H >> c:\driversupdate\MstExeLog.txt
@XCOPY "d:\files\Buttonssp44777.exe" "C:\DriversUpdate" /Y /V /Q /H
Echo XCOPY "d:\files\Buttonssp44777.exe" "C:\DriversUpdate" /Y /V /Q /H >> c:\driversupdate\MstExeLog.txt
@XCOPY "d:\files\Intel2567LMGigabitEthernetsp45622.exe" "C:\DriversUpdate" /Y /V /Q /H
Echo XCOPY "d:\files\Intel2567LMGigabitEthernetsp45622.exe" "C:\DriversUpdate" /Y /V /Q /H >> c:\driversupdate\MstExeLog.txt
@XCOPY "d:\files\IntelChipsetsp41388.exe" "C:\DriversUpdate" /Y /V /Q /H
Echo XCOPY "d:\files\IntelChipsetsp41388.exe" "C:\DriversUpdate" /Y /V /Q /H >> c:\driversupdate\MstExeLog.txt
@XCOPY "d:\files\IntelPROWirelesssp44294.exe" "C:\DriversUpdate" /Y /V /Q /H
Echo XCOPY "d:\files\IntelPROWirelesssp44294.exe" "C:\DriversUpdate" /Y /V /Q /H >> c:\driversupdate\MstExeLog.txt
@XCOPY "d:\files\Modemsp42851.exe" "C:\DriversUpdate" /Y /V /Q /H
Echo XCOPY "d:\files\Modemsp42851.exe" "C:\DriversUpdate" /Y /V /Q /H >> c:\driversupdate\MstExeLog.txt
@XCOPY "d:\files\SOUNDsp42375.exe" "C:\DriversUpdate" /Y /V /Q /H
Echo XCOPY "d:\files\SOUNDsp42375.exe" "C:\DriversUpdate" /Y /V /Q /H >> c:\driversupdate\MstExeLog.txt
@XCOPY "d:\files\SynapticTouchpadsp44921.exe" "C:\DriversUpdate" /Y /V /Q /H
Echo XCOPY "d:\files\SynapticTouchpadsp44921.exe" "C:\DriversUpdate" /Y /V /Q /H >> c:\driversupdate\MstExeLog.txt
@XCOPY "d:\files\IntelMatrixStoragesp45106.exe" "C:\DriversUpdate" /Y /V /Q /H
Echo XCOPY "d:\files\IntelMatrixStoragesp45106.exe" "C:\DriversUpdate" /Y /V /Q /H >> c:\driversupdate\MstExeLog.txt
@XCOPY "d:\files\Camerasp39323.exe" "C:\DriversUpdate" /Y /V /Q /H
Echo XCOPY "d:\files\Camerasp39323.exe" "C:\DriversUpdate" /Y /V /Q /H >> c:\driversupdate\MstExeLog.txt
@rem COPIES OVER CUSTOMIZED SETUP SCRIPTS
start "" "C:\DriversUpdate\resplash.vbs"
@XCOPY "d:\files\SP41512setup.iss" "C:\DriversUpdate" /Y /V /Q /H
Echo XCOPY "d:\files\SP41512setup.iss" "C:\DriversUpdate" /Y /V /Q /H >> c:\driversupdate\MstExeLog.txt
@XCOPY "d:\files\SP42375setup.iss" "C:\DriversUpdate" /Y /V /Q /H
Echo XCOPY "d:\files\SP42375setup.iss" "C:\DriversUpdate" /Y /V /Q /H >> c:\driversupdate\MstExeLog.txt
@XCOPY "d:\files\sp43762setup.iss" "C:\DriversUpdate" /Y /V /Q /H
Echo XCOPY "d:\files\sp43762setup.iss" "C:\DriversUpdate" /Y /V /Q /H >> c:\driversupdate\MstExeLog.txt
@XCOPY "d:\files\SP44777setup.iss" "C:\DriversUpdate" /Y /V /Q /H
Echo XCOPY "d:\files\SP44777setup.iss" "C:\DriversUpdate" /Y /V /Q /H >> c:\driversupdate\MstExeLog.txt
@XCOPY "d:\files\ATIFULLsetup.iss" "C:\DriversUpdate" /Y /V /Q /H
Echo XCOPY "d:\files\ATIFULLsetup.iss" "C:\DriversUpdate" /Y /V /Q /H >> c:\driversupdate\MstExeLog.txt
@rem COPY ENCRYPTION FROM SOURCE TO TARGET
start "" "C:\DriversUpdate\resplash.vbs"
@XCOPY "d:\files\ENCRYPTION\ENCRYPTION.exe" "C:\DriversUpdate\ENCRYPTION\" /Y /V /Q /H
Echo XCOPY "d:\files\ENCRYPTION\ENCRYPTION.exe" "C:\DriversUpdate\ENCRYPTION\" /Y /V /Q /H >> c:\driversupdate\MstExeLog.txt
@rem COPY SYMANTEC 11 FROM SOURCE TO TARGET
start "" "C:\DriversUpdate\resplash.vbs"
XCOPY "d:\files\SEP11\*.*" "C:\DriversUpdate\sep11\" /Y /E /V /Q /H
Echo XCOPY "d:\files\SEP11\*.*" "C:\DriversUpdate\sep11\" /Y /E /V /Q /H >> c:\driversupdate\MstExeLog.txt
@rem UNPACKING AREA
CLS
Echo CLS >> c:\driversupdate\MstExeLog.txt
start "" "C:\DriversUpdate\resplash.vbs"
Echo Unpacking HP Driver Update Camerasp41512.exe...
Echo Echo Unpacking HP Driver Update Camerasp41512.exe... >> c:\driversupdate\MstExeLog.txt
START /wait C:\DriversUpdate\Camerasp41512.exe -e -s
Echo START /wait C:\DriversUpdate\Camerasp41512.exe -e -s >> c:\driversupdate\MstExeLog.txt
CLS
Echo CLS >> c:\driversupdate\MstExeLog.txt
start "" "C:\DriversUpdate\resplash.vbs"
Echo Unpacking HP Driver Update Buttonssp44777.exe...
Echo Echo Unpacking HP Driver Update Buttonssp44777.exe... >> c:\driversupdate\MstExeLog.txt
START /wait C:\DriversUpdate\Buttonssp44777.exe -e -s
Echo START /wait C:\DriversUpdate\Buttonssp44777.exe -e -s >> c:\driversupdate\MstExeLog.txt
CLS
Echo CLS >> c:\driversupdate\MstExeLog.txt
start "" "C:\DriversUpdate\resplash.vbs"
Echo Unpacking HP Driver Update Intel2567LMGigabitEthernetsp45622.exe...
Echo Echo Unpacking HP Driver Update Intel2567LMGigabitEthernetsp45622.exe... >> c:\driversupdate\MstExeLog.txt
START /wait C:\DriversUpdate\Intel2567LMGigabitEthernetsp45622.exe -e -s && (Echo START /wait C:\DriversUpdate\Intel2567LMGigabitEthernetsp45622.exe -e -s >> c:\driversupdate\MstExeLog.txt)
CLS
Echo CLS >> c:\driversupdate\MstExeLog.txt
start "" "C:\DriversUpdate\resplash.vbs"
Echo Unpacking HP Driver Update IntelChipsetsp41388.exe...
Echo Echo Unpacking HP Driver Update IntelChipsetsp41388.exe... >> c:\driversupdate\MstExeLog.txt
START /wait C:\DriversUpdate\IntelChipsetsp41388.exe -e -s
Echo START /wait C:\DriversUpdate\IntelChipsetsp41388.exe -e -s >> c:\driversupdate\MstExeLog.txt
CLS
Echo CLS >> c:\driversupdate\MstExeLog.txt
start "" "C:\DriversUpdate\resplash.vbs"
Echo Unpacking HP Driver Update IntelPROWirelesssp44294.exe...
Echo Echo Unpacking HP Driver IntelPROWirelesssp44294.exe... >> c:\driversupdate\MstExeLog.txt
START /wait C:\DriversUpdate\IntelPROWirelesssp44294.exe -e -s
Echo START /wait C:\DriversUpdate\IntelPROWirelesssp44294.exe -e -s >> c:\driversupdate\MstExeLog.txt
CLS
start "" "C:\DriversUpdate\resplash.vbs"
Echo CLS >> c:\driversupdate\MstExeLog.txt
Echo Unpacking HP Driver Update Modemsp42851.exe...
Echo Echo Unpacking HP Driver Update Modemsp42851.exe... >> c:\driversupdate\MstExeLog.txt
START /wait C:\DriversUpdate\Modemsp42851.exe -e -s
Echo START /wait C:\DriversUpdate\Modemsp42851.exe -e -s >> c:\driversupdate\MstExeLog.txt
CLS
start "" "C:\DriversUpdate\resplash.vbs"
Echo CLS >> c:\driversupdate\MstExeLog.txt
Echo Unpacking HP Driver Update SOUNDsp42375.exe...
Echo Echo Unpacking HP Driver Update SOUNDsp42375.exe... >> c:\driversupdate\MstExeLog.txt
START /wait C:\DriversUpdate\SOUNDsp42375.exe -e -s
Echo START /wait C:\DriversUpdate\SOUNDsp42375.exe -e -s >> c:\driversupdate\MstExeLog.txt
CLS
start "" "C:\DriversUpdate\resplash.vbs"
Echo CLS >> c:\driversupdate\MstExeLog.txt
Echo Unpacking HP Driver Update SynapticTouchpadsp44921.exe...
Echo Echo Unpacking HP Driver Update SynapticTouchpadsp44921.exe... >> c:\driversupdate\MstExeLog.txt
START /wait C:\DriversUpdate\SynapticTouchpadsp44921.exe -e -s
Echo START /wait C:\DriversUpdate\SynapticTouchpadsp44921.exe -e -s >> c:\driversupdate\MstExeLog.txt
CLS
start "" "C:\DriversUpdate\resplash.vbs"
Echo CLS >> c:\driversupdate\MstExeLog.txt
Echo Unpacking HP Driver Update ATIVideosp43762.exe...
Echo Echo Unpacking HP Driver Update ATIVideosp43762.exe... >> c:\driversupdate\MstExeLog.txt
START /wait C:\DriversUpdate\ATIVideosp43762.exe -e -s
Echo START /wait C:\DriversUpdate\ATIVideosp43762.exe -e -s >> c:\driversupdate\MstExeLog.txt
CLS
start "" "C:\DriversUpdate\resplash.vbs"
Echo CLS >> c:\driversupdate\MstExeLog.txt
Echo Unpacking HP Driver Update IntelMatrixStoragesp45106.exe...
Echo Echo Unpacking HP Driver Update IntelMatrixStoragesp45106.exe... >> c:\driversupdate\MstExeLog.txt
START /wait C:\DriversUpdate\IntelMatrixStoragesp45106.exe -e -s
Echo START /wait C:\DriversUpdate\IntelMatrixStoragesp45106.exe -e -s >> c:\driversupdate\MstExeLog.txt
rem CLS
rem start "" "C:\DriversUpdate\resplash.vbs"
rem Echo CLS >> c:\driversupdate\MstExeLog.txt
rem Echo Unpacking HP Driver Update Camerasp39323.exe...
rem Echo Echo Unpacking HP Driver Update Camerasp39323.exe... >> c:\driversupdate\MstExeLog.txt
rem START /wait C:\DriversUpdate\Camerasp39323.exe -e -s
rem Echo START /wait C:\DriversUpdate\Camerasp39323.exe -e -s >> c:\driversupdate\MstExeLog.txt
@rem THIS KEEPS THE CAM DRIVER FROM GENERATING ERRORS
rem CLS
rem COPY /y C:\SWSetup\SP39323\Driver\csnp2uvc.dll c:\windows\system32\drivers
rem COPY /y C:\SWSetup\SP39323\Driver\rsnp2uvc.dll c:\windows\system32\drivers
rem COPY /y C:\SWSetup\SP39323\Driver\snp2TUI.dll c:\windows\system32\drivers
rem COPY /y C:\SWSetup\SP39323\Driver\vsnp2uvc.dll c:\windows\system32\drivers
rem COPY /y C:\SWSetup\SP39323\Driver\x64\sncduvc.sys c:\windows\system32\drivers
rem COPY /y C:\SWSetup\SP39323\Driver\x64\snp2uvc.sys c:\windows\system32\drivers
@rem INSTALLATION AREA
CLS
start "" "C:\DriversUpdate\resplash.vbs"
Echo CLS >> c:\driversupdate\MstExeLog.txt
Echo Installing HP Driver SP41388...
Echo Echo Installing HP Driver SP41388... >> c:\driversupdate\MstExeLog.txt
START /wait C:\SWSetup\SP41388\Setup.exe -s -nolic
Echo START /wait C:\SWSetup\SP41388\Setup.exe -s -nolic >> c:\driversupdate\MstExeLog.txt
ping 127.0.0.1 > nul
taskkill /f /im rundll32.exe
Echo ping 127.0.0.1 > nul >> c:\driversupdate\MstExeLog.txt
@rem THIS STOPS THE CAM DRIVER FROM GENERATING ERRORS
CLS
COPY /y C:\SWSetup\SP41512\Driver\csnp2uvc.dll c:\windows\system32\drivers
COPY /y C:\SWSetup\SP41512\Driver\rsnp2uvc.dll c:\windows\system32\drivers
COPY /y C:\SWSetup\SP41512\Driver\snp2TUI.dll c:\windows\system32\drivers
COPY /y C:\SWSetup\SP41512\Driver\vsnp2uvc.dll c:\windows\system32\drivers
COPY /y C:\SWSetup\SP41512\Driver\x64\sncduvc.sys c:\windows\system32\drivers
COPY /y C:\SWSetup\SP41512\Driver\x64\snp2uvc.sys c:\windows\system32\drivers
CLS
start "" "C:\DriversUpdate\resplash.vbs"
Echo CLS >> c:\driversupdate\MstExeLog.txt
Echo Installing HP Driver SP41512...
Echo Echo Installing HP Driver SP41512... >> c:\driversupdate\MstExeLog.txt
START /wait C:\SWSetup\SP41512\setup.exe /s /a /s /sms /f1C:\DriversUpdate\SP41512setup.iss
Echo START /wait C:\SWSetup\SP41512\setup.exe /s /a /s /sms /f1C:\DriversUpdate\SP41512setup.iss >> c:\driversupdate\MstExeLog.txt
ping 127.0.0.1 > nul
taskkill /f /im rundll32.exe
Echo ping 127.0.0.1 > nul >> c:\driversupdate\MstExeLog.txt
CLS
start "" "C:\DriversUpdate\resplash.vbs"
Echo CLS >> c:\driversupdate\MstExeLog.txt
Echo Installing HP Driver SP42375...
Echo Echo Installing HP Driver SP42375... >> c:\driversupdate\MstExeLog.txt
START /wait C:\SWSetup\SP42375\setup.exe /s /a /s /sms /f1C:\DriversUpdate\SP42375setup.iss
Echo START /wait C:\SWSetup\SP42375\setup.exe /s /a /s /sms /f1C:\DriversUpdate\SP42375setup.iss >> c:\driversupdate\MstExeLog.txt
ping 127.0.0.1 > nul
taskkill /f /im rundll32.exe
Echo ping 127.0.0.1 > nul >> c:\driversupdate\MstExeLog.txt
CLS
start "" "C:\DriversUpdate\resplash.vbs"
Echo CLS >> c:\driversupdate\MstExeLog.txt
Echo Installing HP Driver SP42851...
Echo Echo Installing HP Driver SP42851... >> c:\driversupdate\MstExeLog.txt
START /wait C:\SWSetup\SP42851\setup.exe -s -A -s -sms
Echo START /wait C:\SWSetup\SP42851\setup.exe -s -A -s >> c:\driversupdate\MstExeLog.txt
ping 127.0.0.1 > nul
taskkill /f /im rundll32.exe
Echo ping 127.0.0.1 > nul >> c:\driversupdate\MstExeLog.txt
CLS
start "" "C:\DriversUpdate\resplash.vbs"
Echo CLS >> c:\driversupdate\MstExeLog.txt
Echo Installing HP Driver SP44921...
Echo Echo Installing HP Driver SP44921... >> c:\driversupdate\MstExeLog.txt
START /wait C:\SWSetup\SP44921\Setup.exe -s -A -s -sms
Echo START /wait C:\SWSetup\SP44921\Setup.exe -s -A -s >> c:\driversupdate\MstExeLog.txt
ping 127.0.0.1 > nul
taskkill /f /im rundll32.exe
Echo ping 127.0.0.1 > nul >> c:\driversupdate\MstExeLog.txt
CLS
start "" "C:\DriversUpdate\resplash.vbs"
Echo CLS >> c:\driversupdate\MstExeLog.txt
Echo Installing HP Driver ATI Control...
Echo Echo Installing HP Driver ATI Control... >> c:\driversupdate\MstExeLog.txt
START /wait C:\SWSetup\SP43762\issetup.exe -s -a -s -sms /f1C:\DriversUpdate\ATISoftSetup.iss
Echo START /wait C:\SWSetup\SP43762\issetup.exe -s -a -s -sms /f1C:\DriversUpdate\ATIFULLsetup.iss >> c:\driversupdate\MstExeLog.txt
Goto MONITOR2
:MONITOR2
@rem this wil monitor ATI Setup.exe process and wait if still running
TASKLIST /FI "IMAGENAME eq setup.exe" | find /i "setup.exe" && goto WAIT2
Echo TASKLIST /FI "IMAGENAME" >> c:\driversupdate\MstExeLog.txt
Goto NEXT2
:WAIT2
@ping 127.0.0.1 > nul
Echo ping 127.0.0.1 > nul >> c:\driversupdate\MstExeLog.txt
Goto MONITOR2
:NEXT2
taskkill /f /im AtiCim.bin
Echo taskkill /f /im AtiCim.bin > nul >> c:\driversupdate\MstExeLog.txt
ping 127.0.0.1 > nul
Echo ping 127.0.0.1 > nul >> c:\driversupdate\MstExeLog.txt
taskkill /f /im rundll32.exe
Echo taskkill /f /im rundll32.exe > nul >> c:\driversupdate\MstExeLog.txt
CLS
start "" "C:\DriversUpdate\resplash.vbs"
Echo CLS >> c:\driversupdate\MstExeLog.txt
Echo Installing HP Driver SP43762 ATI...
Echo Echo Installing HP Driver SP43762 ATI... >> c:\driversupdate\MstExeLog.txt
START /wait C:\SWSetup\SP43762\Driver\Setup.exe /s /a /s /sms
Echo START /wait C:\SWSetup\SP43762\Driver\Setup.exe /s /a /s /sms >> c:\driversupdate\MstExeLog.txt
ping 127.0.0.1 > nul
taskkill /f /im rundll32.exe
Echo ping 127.0.0.1 > nul >> c:\driversupdate\MstExeLog.txt
Goto MONITOR3
:MONITOR3
@rem this wil monitor ATI Setup.exe process and wait if still running
TASKLIST /FI "IMAGENAME eq setup.exe" | find /i "setup.exe" && goto WAIT3
Echo TASKLIST /FI "IMAGENAME" >> c:\driversupdate\MstExeLog.txt
Goto NEXT3
:WAIT3
@ping 127.0.0.1 > nul
Echo ping 127.0.0.1 > nul >> c:\driversupdate\MstExeLog.txt
Goto MONITOR3
:NEXT3
taskkill /f /im AtiCim.bin
ping 127.0.0.1 > nul
taskkill /f /im rundll32.exe
Echo ping 127.0.0.1 > nul >> c:\driversupdate\MstExeLog.txt
CLS
start "" "C:\DriversUpdate\resplash.vbs"
Echo CLS >> c:\driversupdate\MstExeLog.txt
Echo Installing HP Driver SP43762 ATI Core Components...
Echo Echo Installing HP Driver SP43762... >> c:\driversupdate\MstExeLog.txt
START /wait C:\SWSetup\SP43762\CCC\setup.exe /s /a /a f1C:\SWSetup\SP43762\CCC\setup.iss
Echo START /wait C:\SWSetup\SP43762\CCC\setup.exe /s /a /a f1C:\SWSetup\SP43762\CCC\setup.iss >> c:\driversupdate\MstExeLog.txt
ping 127.0.0.1 > nul
taskkill /f /im rundll32.exe
Echo ping 127.0.0.1 > nul >> c:\driversupdate\MstExeLog.txt
Goto MONITOR4
:MONITOR4
@rem this wil monitor ATI Setup.exe process and wait if still running
TASKLIST /FI "IMAGENAME eq setup.exe" | find /i "setup.exe" && goto WAIT4
Echo TASKLIST /FI "IMAGENAME" >> c:\driversupdate\MstExeLog.txt
Goto NEXT4
:WAIT4
@ping 127.0.0.1 > nul
Echo ping 127.0.0.1 > nul >> c:\driversupdate\MstExeLog.txt
Goto MONITOR4
:NEXT4
taskkill /f /im AtiCim.bin
ping 127.0.0.1 > nul
taskkill /f /im rundll32.exe
Echo ping 127.0.0.1 > nul >> c:\driversupdate\MstExeLog.txt
CLS
start "" "C:\DriversUpdate\resplash.vbs"
Echo CLS >> c:\driversupdate\MstExeLog.txt
Echo Installing HP Driver SP44294...
Echo Echo Installing HP Driver SP44294... >> c:\driversupdate\MstExeLog.txt
START /wait C:\SWSetup\sp44294\iProDifX.exe /silent /install
Echo START /wait C:\SWSetup\sp44294\iProDifX.exe /silent /install >> c:\driversupdate\MstExeLog.txt
ping 127.0.0.1 > nul
taskkill /f /im rundll32.exe
Echo ping 127.0.0.1 > nul >> c:\driversupdate\MstExeLog.txt
CLS
start "" "C:\DriversUpdate\resplash.vbs"
Echo CLS >> c:\driversupdate\MstExeLog.txt
Echo Installing HP Driver SP44777...
Echo Echo Installing HP Driver SP44777... >> c:\driversupdate\MstExeLog.txt
START /wait C:\SWSetup\SP44777\Disk1\setup.exe /s /a /s /sms /f1C:\DriversUpdate\SP44777setup.iss
Echo START /wait C:\SWSetup\SP44777\Disk1\setup.exe /s /a /s /sms /f1C:\DriversUpdate\SP44777setup.iss >> c:\driversupdate\MstExeLog.txt
ping 127.0.0.1 > nul
taskkill /f /im rundll32.exe
Echo ping 127.0.0.1 > nul >> c:\driversupdate\MstExeLog.txt
CLS
start "" "C:\DriversUpdate\resplash.vbs"
Echo CLS >> c:\driversupdate\MstExeLog.txt
Echo Installing HP Driver SP45622...
Echo Echo Installing HP Driver SP45622... >> c:\driversupdate\MstExeLog.txt
START /wait C:\SWSetup\SP45622\Setup.exe -s -A -s -sms
Echo START /wait C:\SWSetup\SP45622\Setup.exe -s -A -s -sms >> c:\driversupdate\MstExeLog.txt
ping 127.0.0.1 > nul
taskkill /f /im rundll32.exe
Echo ping 127.0.0.1 > nul >> c:\driversupdate\MstExeLog.txt
CLS
start "" "C:\DriversUpdate\resplash.vbs"
Echo CLS >> c:\driversupdate\MstExeLog.txt
Echo Installing HP Driver SP45106...
Echo Echo Installing HP Driver SP45106... >> c:\driversupdate\MstExeLog.txt
START /wait C:\SWSetup\SP45106\Setup.exe -s
Echo START /wait C:\SWSetup\SP45106\Setup.exe -s >> c:\driversupdate\MstExeLog.txt
ping 127.0.0.1 > nul
taskkill /f /im rundll32.exe
Echo ping 127.0.0.1 > nul >> c:\driversupdate\MstExeLog.txt
@rem THIS WILL INSTALL SYMANTEC AV 11 4204
start "" "C:\DriversUpdate\sep11\setup.exe" /s /qn
Echo start "" "C:\DriversUpdate\sep11\setup.exe" /s /qn >> c:\driversupdate\MstExeLog.txt
ping 127.0.0.1 > nul
Echo ping 127.0.0.1 > nul >> c:\driversupdate\MstExeLog.txt
Echo Goto MONITOR1 >> c:\driversupdate\MstExeLog.txt
:MONITOR1
@rem this wil monitor setup.exe process and wait if still running
TASKLIST /FI "IMAGENAME eq setup.exe" | find /i "setup.exe" && goto WAIT1
Echo TASKLIST /FI "IMAGENAME" >> c:\driversupdate\MstExeLog.txt
Goto ENCRYPTION
:WAIT1
@ping 127.0.0.1 > nul
Echo ping 127.0.0.1 > nul >> c:\driversupdate\MstExeLog.txt
Goto MONITOR1
:ENCRYPTION
start "" "C:\DriversUpdate\resplash.vbs"
Echo Goto ENCRYPTION >> c:\driversupdate\MstExeLog.txt
@rem THIS WILL INSTALL ENCRYPTION
start /wait c:\DriversUpdate\ENCRYPTION\ENCRYPTION.exe
Echo start /wait c:\DriversUpdate\ENCRYPTION\ENCRYPTION.exe >> c:\driversupdate\MstExeLog.txt
RMDIR "c:\Documents and Settings\All Users\Start Menu\Programs\ENCRYPTION"
Echo RMDIR "c:\Documents and Settings\All Users\Start Menu\Programs\ENCRYPTION" >> c:\driversupdate\MstExeLog.txt
@taskkill /f /im mshta.exe
Echo @taskkill /f /im mshta.exe >> c:\driversupdate\MstExeLog.txt
@rem CREATES A POPUP FOR END-USER
Echo popup = msgbox("Installation is complete! Press the OK button to restart your workstation.",,"HP Updates") > %temp%\popup.vbs
Echo Echo popup = msgbox("Installation is complete! Press the OK button to restart your workstation.",,"HP Updates") > %temp%\popup.vbs >> c:\driversupdate\MstExeLog.txt
Start /wait %temp%\popup.vbs
Echo Start /wait %temp%\popup.vbs >> c:\driversupdate\MstExeLog.txt
@rem BEGINS SHUTDOWN SEQUENCE
@taskkill /f /im psexecsvc.exe
Echo taskkill /f /im psexecsvc.exe >> c:\driversupdate\MstExeLog.txt
@taskkill /f /im iexplore.exe
Echo taskkill /f /im iexplore.exe >> c:\driversupdate\MstExeLog.txt
@taskkill /f /im outlook.exe
Echo taskkill /f /im outlook.exe >> c:\driversupdate\MstExeLog.txt
@taskkill /f /im winword.exe
Echo taskkill /f /im winword.exe >> c:\driversupdate\MstExeLog.txt
@taskkill /f /im excel.exe
Echo taskkill /f /im excel.exe >> c:\driversupdate\MstExeLog.txt
@taskkill /f /im communicator.exe
Echo taskkill /f /im communicator.exe >> c:\driversupdate\MstExeLog.txt
@taskkill /f /im hpqtoaster.exe
Echo taskkill /f /im hpqtoaster.exe >> c:\driversupdate\MstExeLog.txt
@net start wuauserv
echo start wuauserv >> c:\driversupdate\MstExeLog.txt
Echo Exit >> c:\driversupdate\MstExeLog.txt
shutdown -f -r -t 1
exit