Re: Uninstaller for Mac OSX Application
Re: Uninstaller for Mac OSX Application
- Subject: Re: Uninstaller for Mac OSX Application
- From: John Cebasek <email@hidden>
- Date: Fri, 05 Oct 2007 15:26:48 -0400
- Thread-topic: Uninstaller for Mac OSX Application
Title: Re: Uninstaller for Mac OSX Application
Hi All:
What I did was to use Applescript to build an uninstaller application. It’s basically a bunch of:
set fileToDelete to quoted form of ("/Library/Application Support/MyApp/")
displayStatus(fileToDelete)
try
do shell script "rm -r " & fileToDelete with administrator privileges
on error errorMessage
errorDialog(fileToDelete, errorMessage)
end try
DisplayStatus is some debugging code and errordialog displays an the error message returned from the shell.
The with administrator privileges prompts for an administrator password so you can make sure the user does have administrator privileges.
Hope that helps.
John
On 10/5/07 3:19 PM, "Wayne Linder" <email@hidden> wrote:
One of the things I install is a shell script that uninstalls all of the components, itself, rereads the kextcache and then restarts the computer (since I’m uninstalling KEKTs).
So, there is indeed no uninstall feature in PackageMaker, but it is doable to “roll your own.”
Wayne
From: JanakiRam <email@hidden>
Date: Sat, 6 Oct 2007 00:24:45 +0530
To: <email@hidden>
Subject: Uninstaller for Mac OSX Application
Hi All,
I'm new to installer / uninstaller stuff in Mac OS X. I'm doing a port of Windows application to Mac.My Application has kext , mac application and some files in /opt folder.
I've managed to create an installer using Package Maker in Mac OS X Tiger. But couldn't find any application which creates Uninstaller for my application.
I've googled for it , many blogs say that there is no Uninstaller in Mac till now. Is it True ?
My application installer should have an UI which should be similar to installer and delete the required files in background.
Can any one provider some pointers for creating uninstaller for my application.
Are there any third party freeware/sharewares uninstaller applications available in Mac OS X.
Please help me to solve this. Thanks in Advance.
-JanakiRam.
_______________________________________________
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
_______________________________________________
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
_______________________________________________
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