From the point of view of the Opposition, Musharraf was not elected in October. I would assume that means that from the point of view of the opposition, his name will appear on the ballot if he wants to run for President.
This is from Wikipedia:
http://en.wikipedia.org/wiki/Pervez_Musharraf#Resignation_from_the_ArmyIn an interview in March 2007, Musharraf said that he intends to stay in the office for another five years.<63>
A nine-member panel of Supreme Court judges deliberated on six petitions ... for disqualification of Musharraf as presidential candidate. Bhutto stated that her party may join other opposition groups, including Sharif's. Attorney-general Malik Mohammed Qayyum stated that, pendente lite, the Election Commission was "reluctant" to announce the schedule for the presidential vote. Bhutto's party Farhatullah Babar stated that the Constitution could bar Musharraf from being elected again because he holds the army chief's post. "As Gen. Musharraf is disqualified from contesting for President, he has prevailed upon the Election Commission to arbitrarily and illegally tamper with the Constitution of Pakistan."
...
On October 2, 2007, 85 Pakistani opposition lawmakers resigned from the country's parliament to derail Musharraf's reelection bid. National Assembly Speaker Chaudhry Amir Hussain stated that the resignations would not affect the presidential election. Under Pakistani law, the national parliament and provincial assemblies choose the president. The current parliament is expected to elect a president before October 15, with the new five-year term starting on November 15.
On October 6, 2007, Musharraf won a vote to be re-elected Pakistan's president. However, the Supreme Court ruled that no winner would be proclaimed until it decides on the legality issue.
On November 3, 2007 Musharraf declared emergency rule across Pakistan. He suspended the Constitution, imposed State of Emergency, and fired the chief justice of the Supreme Court.<68> While addressing the nation on State Television, Musharraf declared that the state of emergency was imposed in the country to safeguard the national interests and counter growing terrorism and the downward trend of economy. In Islamabad, troops entered the Supreme Court building, arrested the judges and kept them under detention in their homes. Troops have been deployed inside state-run TV and radio stations, while independent channels have gone off air. Land and mobile telephone lines are down in Islamabad. The court was to decide whether Musharraf was eligible to run for election last month while remaining army chief.