Uninstaller for a cocoa application

前端 未结 2 1382
滥情空心
滥情空心 2021-02-06 15:44

I am using PackageMaker for the installer of my application (which is more than a simple bundle). I am wondering how to create an uninstaller, where to install it and how to pro

2条回答
  •  情话喂你
    2021-02-06 15:50

    There is no official un-installation method on OS X. There are apps that will take your app binary, and find the associated files it installs with it, and delete those as well, but apart from those, your only uninstallation options are:

    1) Write your own uninstaller script.

    2) Use an installer that features un-installation capabilities. I'm not familiar with what the VISE installer has to offer these days, but back in the early days, I remember it had un-installation capabilities.

    3) Do what most applications do, and don't worry about un-installation. Seriously - 98% of Mac apps don't offer an uninstaller, and if most people want the app uninstalled, they will just drag the app to the trash, or (if they are slightly more savvy) use an uninstaller app like AppZapper or AppDelete.

提交回复
热议问题