Wright was given the chance to open the scoring after Mark Perry brought down Ally McCoist.
Kevin McGowne came close to doubling the lead but his header was cleared the line by Andy Dow.
Aberdeen hit back after the break but Eoin Jess's powerful header was superbly saved by Gordon Marshall.