Printer not detected on installing software for canon MP287

when you try to install the software you will get an error that printer detected please wait but after some time it will display printer not detected so to solve this problem you need to go to control panel and then devices and printers and then manually install drivers.