[GHC] Visual Haskell install error
Liam Clarke
ml.cyresse at gmail.com
Wed Mar 28 10:31:02 EDT 2007
Hi Dennis,
Ah, interesting, ... incidentally, that last regsvr32 call should be for
the file vs_haskell_dlg.dll of course... late night coding and all.
Good luck with it,
Liam
Dennis van der Pool wrote:
> Hi Liam,
>
> Please note that i (re)installed both VS2005 and Visual Haskell in the
> default directories. Didn't seem to resolve the problem. I'll look into this
> tomorrow and will let you know. Having the setup.vbs should help me anyway
> :-)
>
> Dennis
>
> -----Oorspronkelijk bericht-----
> Van: Liam Clarke [mailto:ml.cyresse at gmail.com]
> Verzonden: woensdag 28 maart 2007 15:09
> Aan: dennisvanderpool at home.nl
> CC: glasgow-haskell-bugs at haskell.org
> Onderwerp: Re: Re: [GHC] Visual Haskell install error
>
> Hi Dennis,
>
> 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
>
>
>
>
>
More information about the Glasgow-haskell-bugs
mailing list