The current version of vBGallery will not install or de-install from the vB
3.6 beta previews. Some of the coding methods, such as using phrasetypeid, has been replaced in the new vB
3.6 beta so any scripts that use those (in this case vBGallery uses it for both the install and uninstall scripts) won't run.
Which hack are you trying to install?