I could not get vbgallery 3.01 to install. It took me some time to track the problem down. My server is Windows 2008 R2 with php 5.3.5 NTS and 64bit mysql 5.5.8.
In the setup script you use TYPE = MYISAM. This does not work because it is deprecated. I had to change all queries to ENGINE = MYISAM. Once I did that the install progressed, but, never seemed to finish. The script just stopped running. I checked everything and although it seemed like the install didn't finish it really did.
I just thought I'd post this to let you know that you should remove the deprecated code from the install script.