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

OS X .pkg installer can't be uninstalled #20597

Closed
brson opened this issue Jan 5, 2015 · 6 comments
Closed

OS X .pkg installer can't be uninstalled #20597

brson opened this issue Jan 5, 2015 · 6 comments
Assignees
Labels
P-medium Medium priority
Milestone

Comments

@brson
Copy link
Contributor

brson commented Jan 5, 2015

This is pretty unfriendly. From some cursory googling I don't see an obvious easy way to make this possible.

@brson
Copy link
Contributor Author

brson commented Jan 8, 2015

Nominating because of first impressions.

@inod
Copy link

inod commented Jan 10, 2015

Just a comment, I downloaded rust to try it out and I installed the .pkg instead of the script because on the website it says: Recommended Version: nightly (Mac installer). Because the .pkg installer is encouraged, I thought it would at least come with an easy way to remove it.

@brson
Copy link
Contributor Author

brson commented Jan 13, 2015

@inod It's unfortunate :(

@brson
Copy link
Contributor Author

brson commented Jan 13, 2015

My current plan to fix this is to just have .pkg delegate to the tarball installer, which is thoroughly tested.

@brson brson self-assigned this Jan 13, 2015
@brson brson added P-medium Medium priority and removed I-nominated labels Jan 15, 2015
@brson brson added this to the 1.0 milestone Jan 15, 2015
@bleibig
Copy link
Contributor

bleibig commented Jan 30, 2015

It's possible to create a .pkg that does not install any files but only runs preinstall/postinstall scripts by passing in --nopayload to pkgbuild (and specifying the install scripts with --scripts). You can try that technique to make a separate uninstaller .pkg that simply runs an uninstall script as a postinstall script, that way OS X users can uninstall rust in a way similar to how they installed it.

@brson
Copy link
Contributor Author

brson commented Apr 7, 2015

Done.

@brson brson closed this as completed Apr 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P-medium Medium priority
Projects
None yet
Development

No branches or pull requests

3 participants