@echo off
set OLDDIR=%CD%

cd /d %0\..

start /wait HGdriverSetup.exe /S /SS 1 /GPS 0 /XTRA 0 /WIN7DRIVER 0

@set errorcode=%ERRORLEVEL%

md c:\programdata\wwan\DRV\
copy version.txt c:\programdata\wwan\DRV\

exit %errorcode%