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:[EMAIL PROTECTED] 
Verzonden: woensdag 28 maart 2007 15:09
Aan: [EMAIL PROTECTED]
CC: [email protected]
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




-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.20/736 - Release Date: 27-3-2007
16:38


-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.20/736 - Release Date: 27-3-2007
16:38
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.20/736 - Release Date: 27-3-2007
16:38
 

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to