[DAEMON-161] Windows: Visual Studio path is incorrect in the system-info
GitHub Issue | n/a |
Type | Bug |
Priority | None |
Status | Resolved |
Resolution | Invalid |
Resolution Date | 2017-11-22T18:00:41.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Appc Daemon 1.0.0 |
Components | appcd-plugin-windows |
Labels | n/a |
Reporter | Kondal Kolipaka |
Assignee | Chris Barber |
Created | 2017-11-17T10:23:59.000+0000 |
Updated | 2017-11-22T18:00:41.000+0000 |
Description
Visual studio path is incorrect in the windows system-info path
*Actual:*
C: /ProgramFiles(x86)/MicrosoftVisualStudio14.0/
*Expected:*
C:\Program Files (x86)\Microsoft Visual Studio 14.0
Same goes for the Windows Phone SDK path
*Actual:*
C: \ProgramFiles(x86)\MicrosoftSDKs\WindowsPhone\v8.1\
*Expected:*
C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v8.1
Attachments
[~kkolipaka] Is this through appcd exec or when querying through the websocket in Studio? The windows plugin is running the same windowslib as ti info, does that report the same?
Here's my visualstudio info for reference
I was using appcd exec. Look for windows->selectedVisualStudio->path Ah, okay. It's the same problem in the ti info as well.
Haven't checked with the latest daemon in the Windows machine, but I was talking about the below path. !VS_PATH.png|thumbnail!
[~kkolipaka] If possible could you run the below on the machine
reg query HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\14.0_Config /v *
, windowslib populates the information based off what that command reportsI tried to reproduce this but was unable to. Are the logs/data from DAEMON-163 and DAEMON-162 from different machines? They both have the user as Admin, but one has the bad logs the other doesn't. Windowslib calls the query I pasted above and then parses the value out of the response, that response looks fine, I think to debug this we'd need access to the machine
[~eharris] Both are captured from the same windows machine at the same time almost. [~ssekhri] verified just now with the latest daemon on 7.0.0-master.40. We still see the issue. Please find the below screenshot. !VS_PATH.png|thumbnail! *Actual Paths from Ti info:* Microsoft (R) Visual Studio 14.0 (selected) Path = C:\Program Files (x86)\Microsoft Visual Studio 14.0\ CLR Version = v4.0.30319 MSBuild Version = v14.0.25420.1 Windows Phone SDKs = not installed Microsoft (R) Windows Phone SDK 10.0 Path = C:\Program Files (x86)\Windows Kits\10\ 8.1 (selected) Path = C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v8.1\
If you're curious why and how we use that in the studio. https://github.com/appcelerator/titanium_studio/blob/ff4d05c84dc2da37f806be3ddf7ed313a21d7014/plugins/com.appcelerator.titanium.windows.core/src/com/appcelerator/titanium/windows/core/DaemonWindowsSDKLocator.java#L293 Check the line numbers - 282 and 293
[~kkolipaka] And this doesn't occur from ti info? I have 4 different installs of Windows running various VS combinations and cant reproduce it, [~cbarber] is setting up Windows now and I guess he'll check. This is just through and appc appc exec right?
[~eharris] Sorry! for the confusion. Problem is not with the VS path but with the http://jsonviewer.stack.hu which I generally use to view the json structure. Looks like formatting removing the spaces! Thanks [~ssekhri] for finding this!