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

Unstalled Open Live Writer - settings are still on computer #119

Open
kathweaver opened this issue Dec 13, 2015 · 9 comments
Open

Unstalled Open Live Writer - settings are still on computer #119

kathweaver opened this issue Dec 13, 2015 · 9 comments
Labels
bug General bugs help wanted high-priority installer Issues related to the application installer
Milestone

Comments

@kathweaver
Copy link
Contributor

Uninstalled Open Live Writer. Folder is still on my computer containing settings, etc.

C:\Users\Kathleen\AppData\Local is still on my computer.

Also all settings were left on my computer for blogs, etc.

@kathweaver
Copy link
Contributor Author

Just deleting that directory did not delete the settings.

@martinwoodward
Copy link
Member

Take a look at the uninstall logic in (PR 75)[https://github.com//pull/75/files] for a complete clean up.

What we might want to do it make OLW use the SquirrelAwareApp class and get it to listen for the uninstall event and clean up the registry keys and files which would mean that logic could be removed from the Chocolatey package in #75

@gep13
Copy link
Contributor

gep13 commented Dec 13, 2015

@martinwoodward let me know if there is anything you want me to remove from the chocolateyUninstall.ps1 file.

@anaisbetts
Copy link

What we might want to do it make OLW use the SquirrelAwareApp class and get it to listen for the uninstall event and clean up the registry keys and files which would mean that logic could be removed from the Chocolatey package in #75

👍

@kathweaver
Copy link
Contributor Author

Doing some diffing.

When I uninstall OpenLiveWriter, and then run from Visual Studio, the following folder is created:
C:\Users\Kathleen\AppData\Local\OpenLiveWriter\AutoRecover

It's currently empty as I have done nothing. All of my prior settings are still available. However the autorecover must be saving my blog post.

My settings must be somewhere else on my computer.

@kathweaver
Copy link
Contributor Author

Found them in the registery:

HKEY_CURRENT_USER\Software\OpenLiveWriter

Deleting the keys let the program start by displaying the "Configure Open Live Writer".

This is information we may need for testing in addition to Uninstalling gracefully.

@willduff willduff added bug General bugs help wanted high-priority installer Issues related to the application installer labels Dec 19, 2015
@willduff willduff added this to the v0.6 milestone Dec 19, 2015
@hashhar
Copy link
Contributor

hashhar commented Dec 24, 2015

Should I add some code in the uninstaller to remove that registry key upon uninstalling?

@gep13
Copy link
Contributor

gep13 commented Dec 24, 2015

@hashhar the changes that you are making will only work when the user has installed OLW via Chocolatey. I am guessing that additional work will be required, elsewhere, to remove these files/keys, when OLW is installed directly from the exe from the site.

@hashhar
Copy link
Contributor

hashhar commented Dec 25, 2015

@gep13 Where is the uninstaller's code? I guess the same changes will need to be added to the uninstaller.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug General bugs help wanted high-priority installer Issues related to the application installer
Projects
None yet
Development

No branches or pull requests

7 participants