Cannot install the latest cuda wizard on visualstudio 2010
Brought to you by:
openhero
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?
Me neither. Doe's it even support Visual Studio 2010?
Thanks.
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.