I ran into this problem recently and a quick search shows at least 5+ issues with DWORD registry searching returning # prefixed to the number that is retrieved. The current suggestion for getting past this is to create a custom action to remove the # from the property.
Quick search results :
http://www.advancedinstaller.com/forums ... =2&t=31286
http://www.advancedinstaller.com/forums ... hp?t=29827
http://www.advancedinstaller.com/forums ... =2&t=30863
http://www.advancedinstaller.com/forums ... =2&t=30034
http://www.advancedinstaller.com/forums ... =2&t=28916