Thanks for that, will do. :)
Simon Marlow wrote:
Thanks for the analysis. You can use the GHC bug tracker for tickets
against Visual Haskell - just set the Component field to "Visual
Haskell". Unfortunately we can't guarantee to fix anything promptly;
Krasimir Angelov is the only person actively working on Visual
Haskell, and he's been quiet recently.
Cheers,
Simon
Liam Clarke wrote:
Did you use the default install directory or a custom one? A custom
directory what caused this error for me. The simple solution was to
uninstall and reinstall to the default Program Files\Visual Haskell
path.
Alternately, have a look at this file here -
http://darcs.haskell.org/vshaskell/vs_haskell_setup/setup.vbs
What's failing is the calls to regsvr32.exe - if you search your
system for vs_haskell.dll, you'll most likely find that it's in...
C:\Program Files\Visual Haskell\bin, no matter what install directory
you specified.
If you check the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Visual
Haskell\<Visual Studio version>\InstallDir you'll see that it's set
to the one you specified (where Visual Studio version is 7.1 for 2003
and 8.0 for VS 2005.
So what's happening is that regsvr32 is trying to find the DLL's in
the \bin directory of your specified install dir, but the DLL's are
over in Program Files... not sure what other bugs this could
introduce, hence why I reinstalled to Progam Files <etc>. If you run
the following three commands in a command prompt, it should work to
some extent, but I'll reiterate that I haven't tested this.
regsvr32.exe /i:8.0 /n /s "C:\Program Files\bin\vs_haskell.dll"
regsvr32.exe /i:8.0 /n /s "C:\Program Files\bin\vs_haskell_babel.dll"
regsvr32.exe /i:8.0 /n /s "C:\Program Files\bin\vs_haskell_babel.dll"
VS 2003 users should replace 8.0 with 7.1...
Now, is there a bug tracker anywhere for this, or is it just the
mailing list? I think the hardcoded paths in
http://darcs.haskell.org/vshaskell/vs_haskell_setup/Common.wxs need
to be tweaked, or the reg key(s) modified. :-)
Anyway, hope that helps you, good luck.
Liam Clarke
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs