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

PR: Update Windows installer assets URL to add previous installation validation #17209

Merged
merged 1 commit into from
Jan 19, 2022

Conversation

dalthviz
Copy link
Member

@dalthviz dalthviz commented Jan 18, 2022

Description of Changes

  • Wrote at least one-line docstrings (for any new functions)
  • Added unit test(s) covering the changes (if testable)
  • Included a screenshot or animation (if affecting the UI, see Licecap)

Adds a validation for previous installations with the Windows installer. Before launching the installer a validation for an old installation is run. If an old installation is detected a messagebox appears to ask the users if they want to launch the uninstaller:

imagen

Clicking Sí/Yes:

imagen

Depends on spyder-ide/windows-installer-assets#6 and a new release (0.0.5)

Note: After the uninstall the installer needs to be relaunched to do the install

Issue(s) Resolved

Fixes #17025

Affirmation

By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.

I certify the above statement is true and correct: dalthviz

@dalthviz dalthviz added this to the v5.2.2 milestone Jan 18, 2022
@dalthviz dalthviz self-assigned this Jan 18, 2022
@ccordoba12
Copy link
Member

ccordoba12 commented Jan 18, 2022

Could you add a screenshot to the description above to see how this new functionality looks?

@ccordoba12
Copy link
Member

Thanks @dalthviz! What happens if the user clicks No? Does the installation process abort?

@dalthviz
Copy link
Member Author

Yes, the installation process exits @ccordoba12

@ccordoba12
Copy link
Member

ccordoba12 commented Jan 19, 2022

Ok, great! That's what I'd like to enforce too, but I wanted to check with you before proceeding.

@dalthviz dalthviz changed the title [WIP] PR: Update Windows installer assets URL PR: Update Windows installer assets URL Jan 19, 2022
@dalthviz dalthviz changed the title PR: Update Windows installer assets URL PR: Update Windows installer assets URL to add previous installation validation Jan 19, 2022
Copy link
Member

@ccordoba12 ccordoba12 left a comment

Choose a reason for hiding this comment

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

Thanks @dalthviz! Great work here.

@ccordoba12 ccordoba12 merged commit c05ec53 into spyder-ide:5.x Jan 19, 2022
ccordoba12 added a commit that referenced this pull request Jan 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants