Code Monkey home page Code Monkey logo

Comments (3)

malxau avatar malxau commented on July 26, 2024 2

I just released 1.21 which I believe improves things with better errors when trying to uninstall Yori from within itself. The installer makes registering an uninstall handler optional for users who want installation without registry modifications. If you find any additional problems, please either reopen this issue or file a new one describing that problem. Thanks for the report!

from yori.

malxau avatar malxau commented on July 26, 2024 1

Yori doesn't write things around the machine except as instructed. The best way to remove it today is to just remove the directory it was installed to - use cmd to run rd /s/q "C:\Program Files\Yori" or similar.

I'll look into what it takes to have a true uninstall that removes things like shortcuts that were requested when ysetup runs, and where the uninstaller program will request Windows to delete it on next restart (since it can't delete itself.)

from yori.

malxau avatar malxau commented on July 26, 2024

1.20 is released with an uninstaller, although I'm not really happy with it and will probably keep looking at it more.

It is designed to be operated via control panel, and appears to work okay in that case. Unfortunately it can't delete in use binaries, and the "official" way to do this is to defer deletion to the next reboot, but that implies Administrator access. This sucks because a non-admin can install it. What I've seen on the Internet for how others do this is to launch a cmd process to schedule a future delete after the process terminates, which seems incredibly hacky.

I also found after releasing 1.20 that launching uninstall from within the Yori shell is a bad idea, because the shell process is in use, which causes it to fail to uninstall yori-core, and it leaves things in a messed up state. I'll look into improving this.

from yori.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.