Game Development Community

Possible TGBX 1.0.0.4 Install Error

by Tim Tillotson · in Torque X 3D · 12/09/2006 (8:06 pm) · 8 replies

While executing the final installation script, I got the error:

"Failed to open visual studio express registry key: SOFTWARE\Microsoft\VCSExpress\8.0"

and the templates didn't install but showed up as zipfiles in the install directory.

I wasn't sure if this was just a quick way to get the install out, or if it was an error.

I just copied the template zip files to the "C:\Documents and Settings\MyUserName\My Documents\Visual Studio 2005\Templates\ProjectTemplates" directory and they showed up fine in VC# Express.

My configuration:
Didn't uninstall prior TGBX, but put them in different directories.
Have VS2005 on the machine.
Running on Windows XP x64.

#1
12/11/2006 (4:08 pm)
Yeah, the installer should check for express earlier, but it doesn't. However, if it can't find that key, I think it really does mean that express is not there. Do you have pro installed? Does XNA even work with pro (was under the impression that it did not)
#2
12/11/2006 (4:17 pm)
Since XNA is just some .dll's it does in fact "work" with pro. but the whole game studio express dealy doesn't.
So yeah if i were to email the XNA .dll's to a buddy of mine he could dev using C# and visual studio pro. but he could not deploy as thats all in C# Express / Game Studio Express.

Also i think you lose some of the custom build rules but i haven't tested that...
#3
12/11/2006 (4:40 pm)
I have C# Express installed and it works just fine. Does it have different keys on an x64 System?
#4
12/11/2006 (5:01 pm)
I sure hope not. If you fire up regedit, do you have a VisualStudio key under HKLM\SOFTWARE\Microsoft? How about VCExpress?
#5
12/11/2006 (8:12 pm)
I had the exact same prob on my system at home tonight (x64). The regkeys aren't there either. At least the workaround is simple enough. Sigh.
#6
12/11/2006 (8:57 pm)
Ken, can you try to find a registry key that it does install with regedit? We might need to post a patch for the postinstall program that fixes it. Unfortunately I don't think the workaround of putting the templates in "my templates" is good enough. The gac util program will also not run which will cause issues for people who are using binary-only templates.

I would try looking under "current user" for the same key, also VisualStudio under both current user and local machine.
#7
12/11/2006 (10:22 pm)
The key appears to be HKEY_CURRENT_USER\Software\Microsoft\VCSExpress\8.0
#8
12/11/2006 (10:31 pm)
I think we've got this one licked and should have the fix tomorrow. Thanks for the help sleuthing Tim!

Ken