As suggested on net(see http://social.technet.microsoft.com/Forums/en/ITCG/thread/87867142-17e7-4c07-bfb7-2e333ff6e1b7), I added lines to TieRegistry to support 64 rgistry's accessing. I copied and rename the TieRegistry copy to TieRegistry64 in the same folder, as well as updating the package and the "use TieRegistry64". But I got an error not recognize the $Registry:
Global symbol "$Registry" requires explicit package name. How ca I do?