Menu ▾ ▴

#2 Cannot install the latest cuda wizard on visualstudio 2010

open
nobody
None
5
2019-04-23
2010-08-17
Anonymous
No

I Cannot install the latest cuda wizard on visualstudio 2010. The installer says cannot find visual studio directory and terminates.

Why would this error be? MAy be the installer is looking for some env variables cud u let me know which?

Discussion

  • Aros

    Aros - 2010-10-26

    Me neither. Doe's it even support Visual Studio 2010?

    Thanks.

     
  • William Edgington

    In the code, the NSIS/version 2.0/win64/CUDA VS Wizard.nsi file contains
    a hard-code list of registry keys to find the installation directory of VS:

    Function .onInit
    IntOp $b $b + 1
    ReadEnvStr $SysVersion PROCESSOR_ARCHITECTURE
    ReadRegStr $R0 HKLM "SOFTWARE\Microsoft\VisualStudio\8.0" "InstallDir"
    ReadRegStr $R1 HKLM "SOFTWARE\Microsoft\VCExpress\8.0" "InstallDir"
    ReadRegStr $R2 HKLM "SOFTWARE\Microsoft\VisualStudio\9.0" "InstallDir"
    ReadRegStr $R3 HKLM "SOFTWARE\Microsoft\VCExpress\9.0" "InstallDir"

    This needs to be expanded or generalized but I'm not familiar with this language.
    In particular, it would be nice to simply start at 99 (or whatever) and count down
    until the registry key is found.

     

Log in to post a comment.