• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Uninstaller for Mac OSX Application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Uninstaller for Mac OSX Application


  • Subject: Re: Uninstaller for Mac OSX Application
  • From: "Annette Brooks" <email@hidden>
  • Date: Fri, 5 Oct 2007 16:20:14 -0500
  • Seal-send-time: Fri, 5 Oct 2007 16:20:14 -0500

Title: Re: Uninstaller for Mac OSX Application
can you use this same idea to delete the receipts that are left after installing?  So a customer would be able to uninstall - and then reinstall - if they had a problem?
----- Original Message -----
From: John Cebasek
To: Wayne Linder ; JanakiRam ; email@hidden
Sent: Friday, October 05, 2007 2:26 PM
Subject: 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:


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your 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

  • Follow-Ups:
    • Re: Uninstaller for Mac OSX Application
      • From: John Cebasek <email@hidden>
References: 
 >Re: Uninstaller for Mac OSX Application (From: John Cebasek <email@hidden>)

  • Prev by Date: Re: Uninstaller for Mac OSX Application
  • Next by Date: Re: Uninstaller for Mac OSX Application
  • Previous by thread: Re: Uninstaller for Mac OSX Application
  • Next by thread: Re: Uninstaller for Mac OSX Application
  • Index(es):
    • Date
    • Thread