Re: easy uninstaller solution
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:in-reply-to:references :mime-version:content-type:message-id:cc:content-transfer-encoding :from:subject:date:to:x-mailer; bh=wYWAB93IcPyionbKjU+Sr4TiYU528SYyFN0nmfwX7lE=; b=rNQlNu6sqGfL2zSCPqQHOP2NDs6ZCtnUZWzusls3A+0SptQGta/DoG5gou7LF5Em65 x8unttm3yu/AnLMoIC6QzBQUKq36+wVn9rdypwHtE5aVOkgGmGXKP2ELOkuOdhq38xGa lv8pt3FcLtcHZyYr/Ek9kGaofVQr0hR8vNPVA= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=in-reply-to:references:mime-version:content-type:message-id:cc :content-transfer-encoding:from:subject:date:to:x-mailer; b=Ra2oEE2rXx14XBgTDknirqeMLUVhS0mVWlLd+mYMeI5ggdhfGYfaLBTDOqFJ0lqwl/ kxZ83+PS+Uy7O+RIJdtEEmJoff+jGIph/n7MVyPy3XrKKsJDnuzaMLWZE1MiiJ2dz8NM HoLK6VSdjY0tCOe9fhQ7tBmT5KD0i1VyPn/vU= 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: 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. My $0.2 _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... http://adamfisk.wordpress.com/2008/10/22/osx-uninstallers-the-easy- way/ 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. This email sent to site_archiver@lists.apple.com
participants (1)
-
Iceberg-Dev