Uploaded image for project: 'Appcelerator Studio'
  1. Appcelerator Studio
  2. TISTUD-5419

Improve detection of existing Node.js installs using registry on Windows

    Details

    • Story Points:
      5
    • Theme:
    • Sprint:
      2013 Sprint 20

      Description

      Our current detection of Node.JS looks in the PATH and some known default locations:
      For Windows:

      	private static final String PROGRAM_FILES_X86_NODEJS_NODE_PATH = "%ProgramFiles(x86)%\\nodejs"; //$NON-NLS-1$
      	private static final String PROGRAM_FILES_NODEJS_NODE_PATH = "%PROGRAMFILES%\\nodejs"; //$NON-NLS-1$
      

      For Mac/Linux:

      	private static final String USR_LOCAL_BIN_NODE = "/usr/local/bin"; //$NON-NLS-1$
      

      While that should generally pick up installs if the user's PATh is set properly, it's also possible we can grab information on Node installs from the Windows registry.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cwilliams Christopher Williams
                Reporter:
                cwilliams Christopher Williams
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: