Thank you for this tutorial, Catalin. It was very helpful.
Is there a reason you didn't use the Office "Bitness" registry setting to check the bitness of the installation?
I found this other article on this that seems to work for me. Are there cases where it won't?