Nani, who had seen a penalty saved in normal time before the game finished in a 1-1 draw, made no mistake in the shoot-out with his side's fifth and final spot-kick.
France have won their last 10 meetings with the Portuguese since going down 2-0 in a friendly in 1975. Their head-to-head record includes victories in all three clashes at major competitions
Cristiano Ronaldo scored a magnificent brace as Portugal drew with Hungary 3-3 to qualify for the round of 16 in an exciting Euro 2016 encounter
Nani spent all of last season on loan at his former club Sporting Lisbon and was not expected to figure in manager Louis van Gaal's plans for the coming season.
Nani joined Manchester United from Sporting Lisbon in 2007 and during his time at Old Trafford he has won four Premier League titles and a Champions League crown.
In his autobiography, Alex Ferguson said Liverpool captain Steven Gerrard "was not a top, top player" and questioned some of Kenny Dalglish's signings during his second spell as manager between 2011 and 2012.
Bosnia-Herzegovina -- who had lost to Portugal in play-offs for the 2010 World Cup and Euro 2012 -- reach their first ever major finals.
Earlier this week, Suarez accused Liverpool of breaking promises by preventing him from joining another club, but manager Brendan Rodgers has refuted that and forced the Uruguayan to train on his own.
The 32-year-old joined Manchester City in 2009, and was initially installed as captain. But he lost his place in the starting line-up and moves to Liverpool when his contract expires on July 1.
The game vs QPR brought down the curtain on the 35-year-old defender's illustrious career, and he was afforded a guard of honour from both sets of teams before being handed a memento from the opposition's Liverpool-born captain Clint Hill.