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

Synaptics TouchPad Installation Script

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)
27 views1 page

Synaptics TouchPad Installation Script

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

@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\[Link]
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\[Link]
for /f "tokens=*" %%v in ([Link]) 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\
[Link]
)
)
if exist C:\OEM\Preload\Command\POP*.ini ECHO.>> C:\OEM\Preload\[Link]

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


ECHO.>>%LogPath%

popd
ECHO Install finished

You might also like