{ "id": "171018", "key": "TIMOB-25743", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": "19957", "description": "", "name": "Release 7.1.0", "archived": false, "released": true, "releaseDate": "2018-03-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2018-02-22T22:36:26.000+0000", "created": "2018-02-02T04:12:27.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [ { "id": "17609", "description": "", "name": "Release 7.0.0", "archived": false, "released": true, "releaseDate": "2017-12-07" } ], "issuelinks": [ { "id": "56290", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "169092", "key": "TIMOB-25017", "fields": { "summary": "Windows: App re-deployment with 6.1.1.GA fail", "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": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "56291", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "170638", "key": "TIMOB-25616", "fields": { "summary": "Windows: Add option to suppress/force uninstallation on deploy", "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": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2018-05-16T23:37:55.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": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "We might want to introduce automatic-increment for build number during build due to deployment issues (See TIMOB-25616 and TIMOB-25017).\r\n\r\nHere's some starting point to discuss:\r\n\r\n- Do we accept the difference between version numbering in tiapp.xml and actual app? Note that Developers may want to determine specific version number for the release build.\r\n- We could introduce special placeholder like {{1.0.*}} but this may cause breaking change and parity issue between platforms. Do we wan to do like this? Or we could just say \"If you omit the build number, we just automatically increment it behind scenes, only on Windows platform\".\r\n- Do we accept this breaking change regarding new version numbering spec? \r\n- Do we want to enable it by default? Otherwise do we want to introduce new property in tiapp.xml like {{ or so}}?\r\n- Do we want to introduce this new version numbering spec for other platforms? Do we want to keep parity for it?\r\n- Do we want to make it configurable from Appc Studio? For instance [\"Automatically increment\" checkbox in UWP packager|https://docs.microsoft.com/en-us/windows/uwp/packaging/images/packaging-screen5.jpg]\r\n", "attachment": [], "flagged": false, "summary": "Windows: Auto-increment version numbering", "creator": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 1000, "state": "closed", "name": "2018 Sprint 04 SDK", "startDate": "2018-02-12T04:23:01.913Z", "endDate": "2018-02-26T04:23:00.000Z", "completeDate": "2018-02-26T19:36:01.769Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "434070", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile_windows/pull/1177", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2018-02-06T03:59:28.000+0000", "updated": "2018-02-06T03:59:28.000+0000" }, { "id": "434794", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Master and 7_1_X merged. test and other information can be found at: \r\n\r\nMaster: https://github.com/appcelerator/titanium_mobile_windows/pull/1177\r\n7_1_x: https://github.com/appcelerator/titanium_mobile_windows/pull/1199", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-02-22T22:36:20.000+0000", "updated": "2018-02-22T22:36:20.000+0000" }, { "id": "435135", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket; Verified fix in SDK Version: 7.1.0.v20180228160738 and SDK Version: 7.2.0.v20180301101144.", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-03-02T20:51:10.000+0000", "updated": "2018-03-02T20:51:10.000+0000" }, { "id": "435405", "author": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "body": "[~kiguchi]\r\n\r\nCustomer update that, please check\r\n\r\nWe've been testing the version auto-increment Appc just implemented for Windows and we noticed that an error is being thrown every time if we run a ti build. \r\n\r\nSample project (which is really an empty app) \r\n\r\nSteps: \r\n1) Compile and install app (ti build -p windows -T ws-local) \r\n2) Wait for it to complete and the app to be launched. Then close it. \r\n3) Run a ti clean \r\n4) Compile and install the app again \r\n5) Observe error \r\n\r\n[INFO] Project built successfully in 1m 5s 162ms \r\n\r\n[ERROR] Error: Failed to install app: Found bundle: C:\\Users\\karom\\.titanium\\vsbuild\\BlankApp\\win10.x86\\AppPackages\\BlankApp\\BlankApp_1.16.10.1_Test\\BlankApp_1.16.10.1_x86.appxbundle \r\n\r\nInstalling app... \r\nFound dependency package(s): \r\nC:\\Users\\karom\\.titanium\\vsbuild\\BlankApp\\win10.x86\\AppPackages\\BlankApp\\BlankApp_1.16.10.1_Test\\Dependencies\\x86\\Microsoft.VCLibs.x86.14.00.appx \r\nC:\\Users\\karom\\.titanium\\vsbuild\\BlankApp\\win10.x86\\AppPackages\\BlankApp\\BlankApp_1.16.10.1_Test\\Dependencies\\x64\\Microsoft.VCLibs.x64.14.00.appx \r\nAdd-AppxPackage : Deployment failed with HRESULT: 0x80073CFB, The provided package is already installed, and reinstallation of the package was blocked. Check the AppXDeployment-Server event log for details. \r\n\r\nDeployment of package com.propelics.blankApp_1.16.10.1_x86__d7c8pgvss6ysm was blocked because the provided package has the same identity as an already-installed package but the contents are different. Increment the version number of the package to be installed, or remove the old package for every user on \r\nthe system before installing this package. \r\n\r\nNOTE: For additional information, look for [ActivityId] b4aafe06-b585-0004-3ead-bcb485b5d301 in the Event Log or use the command line Get-AppxLog -ActivityID b4aafe06-b585-0004-3ead-bcb485b5d301 \r\n\r\nAt C:\\Users\\karom\\.titanium\\vsbuild\\BlankApp\\win10.x86\\AppPackages\\BlankApp\\BlankApp_1.16.10.1_Test\\Add-AppDevPackage.ps1:388 char:13 \r\n+ Add-AppxPackage -Path $DeveloperPackagePath.FullName -Dep ... \r\n+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ \r\n+ CategoryInfo : ResourceExists: (C:\\Users\\karom\\..._x86.appxbundle:String) [Add-AppxPackage], PSInvalidOperationException \r\n+ FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand \r\n\r\nError: Could not install the app. \r\n\r\nat C:\\ProgramData\\Titanium\\mobilesdk\\win32\\7.1.0.v20180301114750\\node_modules\\windowslib\\lib\\winstore.js:104:14 \r\nat ChildProcess. (C:\\ProgramData\\Titanium\\mobilesdk\\win32\\7.1.0.v20180301114750\\node_modules\\node-appc\\lib\\subprocess.js:60:3) \r\nat emitTwo (events.js:126:13) \r\nat ChildProcess.emit (events.js:214:7) \r\nat maybeClose (internal/child_process.js:925:16) \r\nat Process.ChildProcess._handle.onexit (internal/child_process.js:209:5) \r\n\r\n\r\nThis is a bug, right? \r\n\r\n\r\n\r\nEnvironment details: \r\n{quote}\r\n$ appc info \r\nAppcelerator Command-Line Interface, version 7.0.2 \r\nCopyright (c) 2014-2018, Appcelerator, Inc. All Rights Reserved. \r\n\r\nOperating System \r\nName = Microsoft Windows 10 Pro \r\nVersion = 10.0.16299 \r\nArchitecture = 64bit \r\n# CPUs = 8 \r\nMemory = 15.9GB \r\n\r\nNode.js \r\nNode.js Version = 8.9.3 \r\nnpm Version = 5.5.1 \r\n\r\nAppcelerator CLI \r\nInstaller = 4.2.12 \r\nCore Package = 7.0.2 \r\n\r\nTitanium CLI \r\nCLI Version = 5.0.14 \r\nnode-appc Version = 0.2.41 \r\n\r\nTitanium SDKs \r\n7.1.0.v20180301114750 \r\nVersion = 7.1.0 \r\nInstall Location = C:\\ProgramData\\Titanium\\mobilesdk\\win32\\7.1.0.v20180301114750 \r\nPlatforms = android, windows \r\ngit Hash = 764bcdd \r\ngit Timestamp = 3/1/2018 19:52 \r\nnode-appc Version = 0.2.43 \r\n7.0.2.GA \r\nVersion = 7.0.2 \r\nInstall Location = C:\\ProgramData\\Titanium\\mobilesdk\\win32\\7.0.2.GA \r\nPlatforms = android, windows \r\ngit Hash = 5ef0c56 \r\ngit Timestamp = 2/9/2018 19:02 \r\nnode-appc Version = 0.2.43 \r\n\r\nMicrosoft (R) Visual Studio \r\n14.0 (selected) \r\nPath = C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\ \r\nCLR Version = v4.0.30319 \r\nMSBuild Version = v14.0.25420.1 \r\nWindows Phone SDKs = not installed \r\n\r\nMicrosoft (R) Windows Phone SDK \r\n10.0 (selected) \r\nPath = C:\\Program Files (x86)\\Windows Kits\\10\\ \r\n8.1 **Not supported by Titanium SDK 7.1.0.v20180301114750** \r\nPath = C:\\Program Files (x86)\\Microsoft SDKs\\Windows Phone\\v8.1\\ \r\n\r\nWindows PowerShell \r\nEnabled = yes \r\n{quote}", "updateAuthor": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "created": "2018-03-09T02:00:26.000+0000", "updated": "2018-03-09T02:00:26.000+0000" }, { "id": "435407", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{quote}\r\n 3) Run a ti clean\r\n{quote}\r\n\r\nYou don't need to run {{ti clean}} on each time on build. Would you try it without {{ti clean}}? It means resets the auto increment numbering. We actually designed it that way, in this case you need to \r\n\r\n* Stop using {{ti clean}} on each build\r\n\r\nOr,\r\n\r\n* Use {{--forceUnInstall}} flag to explicitly uninstall existing app\r\n\r\nI would think this is by design but we could improve error message though.\r\n", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2018-03-09T03:16:18.000+0000", "updated": "2018-03-09T03:16:18.000+0000" }, { "id": "435408", "author": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "body": "Thanks a lot for info. Will forward to customer. ", "updateAuthor": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "created": "2018-03-09T03:19:46.000+0000", "updated": "2018-03-09T03:19:46.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }