Re: easy uninstaller solution
Re: easy uninstaller solution
- Subject: Re: easy uninstaller solution
- From: Iceberg-Dev <email@hidden>
- Date: Thu, 23 Oct 2008 19:15:48 +0200
On Oct 23, 2008, at 2:54 AM, Adam Fisk wrote:
Hi Everyone- I just posted a really great (I think) uninstaller
solution on my blog I think people here may find useful. Basically,
you just perform your entire uninstall in a bash script that's called
from an AppleScript application bundle (so the user can double click
it). Once you've got the application bundle set up, you just need to
update and maintain the bash script and never worry about building the
bundle or editing the AppleScript (a bit of a pain) again since the
AppleScript will always just call whatever's in your bash file.
The post is here:
http://adamfisk.wordpress.com/2008/10/22/osx-uninstallers-the-easy-
way/
Any feedback in the comments is most welcome. There may very well be
a better way of doing this I'm unaware of.
That's a nice tutorial.
There might be 2 things to take into account here that are related to
security:
- it's better to use absolute path for tools to avoid calling an
alias. For instance, use /bin/rm instead of just rm
- Since the script will be executed with administration privileges,
there's always the issue that someone can change the script to do bad
things.
My $0.2
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden