The major focus of the visit was to improve bilateral relations with particular emphasis on ways and means to enhance economic cooperation between the two countries.Russia wants to set energy deals with Pakistan.The Russians want to invest $500 million on the CASA-1000 electric transmission line to supply Pakistan with the Central Asian power from Tajikistan and Kyrgyzstan.
With deterioration of Islamabads ties with Washington, Moscow is seeking a closer relationship with Indias arch-rival with the blessing of China
http://ipripak.org/factfiles/ff87.pdf
http://www.defence.pk/forums/pakistan-defence-industry/139288-pakistan-russia-s-most-important-partner-south-asia-putin.html
http://www.forum-adb.org/inner.php?sec=13&ref=extras&id=141
$500 million investment is peanuts. And Pakistan is hardly a huge energy market. India is an energy mega-market. Pakistan already had oil and gas pipeline from Iran. If India is a big huge pie, Pakistan is a breadcrumb. Russian military industrial complex will die overnight if India stops investing or importing from Russia.