Permission and convert leaf->digitalcoin ref in setup.nsi

I'm going to merge every little change I make so the dev version says up to date.