Upgrading a Pavilion DM4 1162's cpu

No. No cpu upgrades are listed; the i7 may run too hot for the stock heatsink; Laptops are designed with energy saving in mind to extend the battery life between charges. It's going to be a castrated i7 if it works, and the leftover i5 will be difficult to sell.