Ms. Zia 's Bangladesh Nationalist Party has vowed to boycott the country 's parliamentary elections , set for December , unless the former prime minister is released from detention .