Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-23768] Windows: windowslib should detect installed Win10 SDK versions

GitHub Issuen/a
TypeImprovement
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2016-08-12T15:22:50.000+0000
Affected Version/swindowslib 0.4.16
Fix Version/swindowslib 0.4.17
ComponentsWindows
Labelsn/a
ReporterKota Iguchi
AssigneeKota Iguchi
Created2016-08-12T04:34:26.000+0000
Updated2017-03-21T18:43:34.000+0000

Description

In order to target specific Windows 10 SDK (TIMOB-23760), windowslib should be able to detect available Windows 10 SDK versions. May be something like below:
windowslib.detect(function (err, results) {
	if (err) {
		return done(err);
	}

	should(results).be.an.Object;
	should(results).have.keys('windows');
	should(results.windows).have.keys('10.0');
	should(results.windows['10.0']).have.property('sdks');
	should(results.windows['10.0'].sdks).be.an.Array(); // ['10.0.10240.0", "10.0.10586.0'];
});
Installed SDK versions can be found in following folders:
    C:\Program Files (x86)\Windows Kits\10\Extension SDKs\WindowsDesktop\
     - 10.0.10240.0
     - 10.0.10586.0
     ...
    C:\Program Files (x86)\Windows Kits\10\Extension SDKs\WindowsMobile\
     - 10.0.10240.0
     - 10.0.10586.0
     ...
Where 'C:\Program Files (x86)\Windows Kits\10' can be obtained from windowslib

Comments

  1. Kota Iguchi 2016-08-12

    https://github.com/appcelerator/windowslib/pull/52
  2. Lee Morris 2017-03-21

    Closing ticket as fixed.

JSON Source