0% found this document useful (0 votes)
7 views1 page

Install

This script automates the installation of the Synaptics TouchPad driver on a Windows system. It creates a log file to track the installation process and records the driver version information. The script checks for necessary files and executes driver installation commands while logging the output for troubleshooting purposes.

Uploaded by

or37
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views1 page

Install

This script automates the installation of the Synaptics TouchPad driver on a Windows system. It creates a log file to track the installation process and records the driver version information. The script checks for necessary files and executes driver installation commands while logging the output for troubleshooting purposes.

Uploaded by

or37
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

@echo off

REM Create by MVP v2.0.8.6


title Installing Synaptics TouchPad TouchPad
if not exist C:\OEM\AcerLogs md C:\OEM\AcerLogs
SET LogPath=C:\OEM\AcerLogs\DriverInstallation.log
ECHO.>>%LogPath%
ECHO Installing, please wait...
pushd "%~dp0"

ECHO %DATE% %TIME%[Log START] ============ %~dpnx0 ============ >> %LogPath%

if exist C:\OEM\Preload\Command\POP*.ini ECHO [Synaptics TouchPad TouchPad]>> C:\


OEM\Preload\OEMINFLIST.ini
for /f "tokens=*" %%v in (InfFiles.txt) do (
ECHO %DATE% %TIME%[Log TRACE] pnputil /add-driver "%%v" /install >> %LogPath%
pnputil /add-driver "%%v" /install >> %LogPath% 2>&1
ECHO %DATE% %TIME%[Log TRACE] pnputil -i -a "%%v" >> %LogPath%
pnputil -i -a "%%v" >> %LogPath% 2>&1
ECHO.>>%LogPath%

for /f "skip=1 tokens=2 delims=,;" %%s in ('find /i "DriverVer" "%%v"') do (


if exist C:\OEM\Preload\Command\POP*.ini ECHO %%~nxv=%%s>> C:\OEM\Preload\
OEMINFLIST.ini
)
)
if exist C:\OEM\Preload\Command\POP*.ini ECHO.>> C:\OEM\Preload\OEMINFLIST.ini

ECHO %DATE% %TIME%[Log Leave] ============ %~dpnx0 ============ >> %LogPath%


ECHO.>>%LogPath%

popd
ECHO Install finished

You might also like