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

[BUG]: Can't uninstall old application files #44

Closed
TimPietrusky opened this issue Feb 17, 2024 · 4 comments
Closed

[BUG]: Can't uninstall old application files #44

TimPietrusky opened this issue Feb 17, 2024 · 4 comments

Comments

@TimPietrusky
Copy link
Member

Describe the bug
When running the installer again after Captain was already installed, the installer doesn't finish. Instead it shows the message "Can't uninstall old application files" after some time.

Expected behavior
I can run the installer as many times as I want, especially when there is a new version of Captain and the setup completes.

Versions:

  • OS: Windows 11
  • Captain: v1.0.0-beta.9
@pixelass
Copy link
Member

@pixelass
Copy link
Member

pixelass commented Mar 20, 2024

@pixelass
Copy link
Member

debug logging
electron-userland/electron-builder#5119

@pixelass
Copy link
Member

pixelass commented Mar 23, 2024

I did some additional research and think this issue has actually been fixed by our new install mechanism.
While it will still affect versions prior our alpha branch, it doesn't seem to occur anymore.

Steps to take for any version that was tagged as "beta" (we have removed all those releases now, as we decided to restart from alpha) as beta was a premature decision.

  1. Navigate to the folder where captain is installed e.g. C:\Users\yourname\AppData\Local\Programs\captain
  2. manually the folder
  3. install the new latest version

From now on this issue should not happen anymore

Optional other method:
Please follow this guide: https://support.microsoft.com/en-us/windows/uninstall-or-remove-apps-and-programs-in-windows-4b55f974-2cc6-2d2b-d092-5905080eaf98

Find Captain and uninstall the application

ℹ️ I'll close this as it cannot be reproduced anymore.

Please open a new issue if you encouter this problem. Feel free to comment here for help or even better, open a discussion on our GitHub Discussions for Captain

Thank you for your patience on this issue. It has been a nerve-wrecking journey to debug but we seem to have found the root cause (an error in our previous installation of the embedded python). We have since implemented a cleaner process and hope that the problem is now finally resolved

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

No branches or pull requests

2 participants