Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TIMOB-23800] CLI hangs on install of app when a different app installed #54

Merged
merged 1 commit into from Aug 25, 2016

Conversation

infosia
Copy link
Contributor

@infosia infosia commented Aug 23, 2016

TIMOB-23800

Steps to reproduce

  • Build an application to a Windows mobile device or emulator
  • Without uninstalling the previous app, build a different app to a Windows mobile device or emulator

Expected result

As with previous SDKs the CLI should log an error to the user telling them to uninstall the other app

} else {
// Windows cannot remove the app because the current user does not have that package installed.
callback(new Error('A debug application is already installed, please remove existing debug application'));
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: How this works:

  1. When different app is installed with same product id, the command fails to install new one
  2. It returns the code 2148734208, and then we try to uninstall it (wpToolInstall)
  3. Then the command fails to uninstall because it has different package name
  4. It returns the code 2148734208 again with message current user does not have that package installed
  5. Then we end up displaying error message

@garymathews
Copy link

CR: PASS
FR: PASS

@garymathews garymathews merged commit ba73dc7 into appcelerator-archive:master Aug 25, 2016
@infosia infosia deleted the TIMOB-23800 branch August 25, 2016 22:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants