If you find that the Camera Control 5.0 script is not working at all on Vista or Win7 it probably is because it is trying to properly set the jpg/raw status during camera initialization and that doesn’t always work properly on non-XP systems.
Because this messes up the whole script camera initialization other things stop working as well. So try this beta version where I have turned off the error checking for that suspect line:
DIYPhotoBits.com Camera Control 5.1 beta
Please let me know in the comments if this helps, and if so I’ll release it in proper packaged format.