@Echo Off
net stop "STI Simulator"
copy %WinDir%\PixArt\PAC207\PAStiSvc.exe %WinDir%\SysWow64
reg add "HKLM\System\CurrentControlSet\Services\STI Simulator\PAC207" /v {E5BAEA70-7F2C-49F3-BEC5-BAEDEA26DFB4} /t REG_DWORD /d 0 /f
reg add "HKLM\System\CurrentControlSet\Services\STI Simulator\PAC207" /v {9D4927A8-C814-47F7-BA2D-8A66EE610B23} /t REG_SZ /d "%WinDir%\PixArt\PAC207\AmCap.exe" /f
reg add "HKLM\System\CurrentControlSet\Services\STI Simulator\PAC207" /v {EF852090-1686-450C-8B60-E0EA43CFC531} /t REG_SZ /d "%WinDir%\PixArt\PAC207\PASnap.exe /FN:C:\PA207.dat /RP:Software\PixArt\PAC207 /RN:ImageArrived" /f
%WinDir%\SysWow64\PAStiSvc.exe /i
net start "STI Simulator"
exit
@Echo On

