@cd /d "%~dp0"

@goto %PROCESSOR_ARCHITECTURE%
@exit

:AMD64
@cmd /c deviceinstaller64 stop usbmmidd
@cmd /c deviceinstaller64 remove usbmmidd
@goto end

:x86
@cmd /c deviceinstaller stop usbmmidd
@cmd /c deviceinstaller remove usbmmidd

:end
@pause
