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