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

@echo pnputil -a "%~dp0Realtek\ExtRtk_APO_Tuning_9785\HDX_WhiteExt_APOT_2-124_2f_on.inf"
pnputil -a "%~dp0Realtek\ExtRtk_APO_Tuning_9785\HDX_WhiteExt_APOT_2-124_2f_on.inf"

@echo pnputil -a "%~dp0Realtek\ExtRtk_APO_Tuning_9785\HDX_WhiteExt_APOT_2-94_2f_on.inf"
pnputil -a "%~dp0Realtek\ExtRtk_APO_Tuning_9785\HDX_WhiteExt_APOT_2-94_2f_on.inf"

@echo pnputil -a "%~dp0Realtek\ExtRtk_APO_Tuning_9785\HDX_WhiteExt_APOT_AE58_C.inf"
pnputil -a "%~dp0Realtek\ExtRtk_APO_Tuning_9785\HDX_WhiteExt_APOT_AE58_C.inf"

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

@echo pnputil -a "%~dp0Realtek\OVWrap2_37\ovwrap2.inf" /install
pnputil -a "%~dp0Realtek\OVWrap2_37\ovwrap2.inf" /install

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

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

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

@echo pnputil -a "%~dp0Realtek\RealtekUAPO2_12_1680\RealtekUAPO2.inf" /install
pnputil -a "%~dp0Realtek\RealtekUAPO2_12_1680\RealtekUAPO2.inf" /install

@echo pnputil -a "%~dp0Realtek\RealtekUAPO2_13_1680\RealtekUAPO2.inf" /install
pnputil -a "%~dp0Realtek\RealtekUAPO2_13_1680\RealtekUAPO2.inf" /install

@echo Done
pause
