{ "id": "168738", "key": "TIMOB-24922", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "18414", "description": "", "name": "Release 6.2.0", "archived": false, "released": true, "releaseDate": "2017-09-13" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-07-25T20:45:45.000+0000", "created": "2017-07-03T13:47:59.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "19301", "name": "windowslib 0.4.29", "archived": false, "released": true, "releaseDate": "2017-03-17" }, { "id": "18414", "description": "", "name": "Release 6.2.0", "archived": false, "released": true, "releaseDate": "2017-09-13" } ], "issuelinks": [ { "id": "55731", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "164806", "key": "TIMOB-24189", "fields": { "summary": "Windows: Add support for Visual Studio 2017", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "updated": "2017-08-22T09:29:54.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "13103", "name": "CLI", "description": "Node-based command line interface" }, { "id": "10207", "name": "Tooling" }, { "id": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "h5.Description\r\n\r\nPackaging a Windows application with VS2017 errors out with the below on cert creation (added logging to show the error message), based off other changes in the VS2017 addition I swapped this (and other occurrences of vcvarsalll) to vsdevcmd and it worked\r\n\r\n{code}\r\n'MakeCert' is not recognized as an internal or external command,\r\noperable program or batch file.\r\n\r\n[ERROR:~nx0] Error in script usage. The correct usage is:\r\nSyntax:\r\n vcvarsall.bat [arch]\r\n or\r\n vcvarsall.bat [arch] [version]\r\n or\r\n vcvarsall.bat [arch] [platform_type] [version]\r\nwhere :\r\n [arch]: x86 | amd64 | x86_amd64 | x86_arm | x86_arm64 | amd64_x86 | amd64_arm | amd64_arm64\r\n [platform_type]: {empty} | store | uwp\r\n [version] : full Windows 10 SDK number (e.g. 10.0.10240.0) or \"8.1\" to use the Windows 8.1 SDK.\r\n\r\nThe store parameter sets environment variables to support Universal Windows Platform application\r\ndevelopment and is an alias for 'uwp'.\r\n\r\nFor example:\r\n vcvarsall.bat x86_amd64\r\n vcvarsall.bat x86_amd64 10.0.10240.0\r\n vcvarsall.bat x86_arm uwp 10.0.10240.0\r\n vcvarsall.bat x86_arm onecore 10.0.10240.0\r\n vcvarsall.bat x64 8.1\r\n vcvarsall.bat x64 store 8.1\r\n\r\nPlease make sure either Visual Studio or C++ Build SKU is installed.\r\n{code}\r\n\r\nh5.Steps to reproduce\r\n\r\n# Create an app {{appc new -t titanium -n myawesomeapp --id com.foo --no-services}}\r\n# Build the app using {{appc run -p windows -T dist-phonestore}}\r\n# Follow the prompts\r\n\r\nh5.Actual\r\n\r\nWhen creating a cert the process will error out\r\n\r\nh5.Expected\r\n\r\nProcess should not error out, cert should be created after prompting", "attachment": [], "flagged": false, "summary": "Windows: Unable to package with VS 2017", "creator": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "subtasks": [], "reporter": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "environment": "Windows 10 Pro\r\nVisual Studio 2017 \r\nTi SDK: 6.2.0.v20170630062735 (custom build with titanium_mobile_windows#959 vs 2017 support)", "closedSprints": [ { "id": 912, "state": "closed", "name": "2017 Sprint 13 Tooling", "startDate": "2017-06-18T16:15:17.914Z", "endDate": "2017-07-02T16:15:00.000Z", "completeDate": "2017-07-06T23:54:40.012Z", "originBoardId": 199 } ], "comment": { "comments": [ { "id": "423327", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~eharris] Isn't this happen in {{windowslib}}? Then {{affectVersion}} should have {{windowslib}}. I guess the bug is around [here|https://github.com/appcelerator/windowslib/blob/master/lib/certs.js#L224], and it needs changes similar to [this|https://github.com/appcelerator/titanium_mobile_windows/pull/959/commits/ee65518a8a24a923fffdaa61feec2cbc8a3adeff#diff-3c070925992beb37da472db6eddf146d].", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-07-03T13:59:08.000+0000", "updated": "2017-07-03T13:59:08.000+0000" }, { "id": "423330", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "[~kiguchi] Yeah it's fixed by switching to vsDevCmd, I'm gonna push a PR for it in a little while once I've switched back to my main machine\r\n\r\nJust read your comment fully sorry. I'll add it now", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2017-07-03T14:17:40.000+0000", "updated": "2017-07-03T14:23:14.000+0000" }, { "id": "423335", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "PR: https://github.com/appcelerator/windowslib/pull/71", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2017-07-03T15:11:52.000+0000", "updated": "2017-07-03T15:11:52.000+0000" }, { "id": "423458", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{{windowslib}} updated. (windowslib 0.5.1) Now {{titanium_mobile}} needs this changes in order to resolve this ticket.", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-07-04T23:09:09.000+0000", "updated": "2017-07-04T23:09:09.000+0000" }, { "id": "423758", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/9203", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2017-07-10T08:59:55.000+0000", "updated": "2017-07-10T08:59:55.000+0000" }, { "id": "424693", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Merged as part of TIMOB-24591", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2017-07-25T20:45:34.000+0000", "updated": "2017-07-25T20:46:25.000+0000" }, { "id": "427016", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Verified changes in 6.2.0.v20170821203442", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2017-08-22T09:29:54.000+0000", "updated": "2017-08-22T09:29:54.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }