@echo off
%1 mshta vbscript:CreateObject("Shell.Application").ShellExecute("cmd.exe","/c %~s0 ::","","runas",1)(window.close)&&exit
cd /d "%~dp0"
@echo pnputil -a "%~dp0Realtek\ExtRtk_9514.1\HDX_WhiteExt_RTK.inf"
pnputil -a "%~dp0Realtek\ExtRtk_9514.1\HDX_WhiteExt_RTK.inf"

@echo pnputil -a "%~dp0Realtek\Codec_9514.1\HDXWHITE.inf" /install
pnputil -a "%~dp0Realtek\Codec_9514.1\HDXWHITE.inf" /install

@echo pnputil -a "%~dp0Realtek\RealtekAPO_1096\RealtekAPO.inf" /install
pnputil -a "%~dp0Realtek\RealtekAPO_1096\RealtekAPO.inf" /install

@echo pnputil -a "%~dp0Realtek\RealtekASIO_10\RealtekASIO.inf" /install
pnputil -a "%~dp0Realtek\RealtekASIO_10\RealtekASIO.inf" /install

@echo pnputil -a "%~dp0Realtek\RealtekHSA_294\RealtekHSA.inf" /install
pnputil -a "%~dp0Realtek\RealtekHSA_294\RealtekHSA.inf" /install

@echo pnputil -a "%~dp0Realtek\RealtekService_616\RealtekService.inf" /install
pnputil -a "%~dp0Realtek\RealtekService_616\RealtekService.inf" /install

@echo Done
pause
