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

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

@echo pnputil -a "%~dp0Realtek\RealtekAPO_13_1097\RealtekAPO.inf" /install
pnputil -a "%~dp0Realtek\RealtekAPO_13_1097\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_642\RealtekService.inf" /install
pnputil -a "%~dp0Realtek\RealtekService_642\RealtekService.inf" /install

@echo Done
pause
