Is there a concept of an uninstaller on a Mac?
Or perhaps a way to take an action if your program dragged to the trash can or being deleted?
The reason I ask this is that my app installer puts files in a few places in the system and I would like to cleanup if my app is being deleted / thrown in the trash. On Windows you have the Add/Remove programs, and on OS X you just have installer packages, but no uninstaller mechanism that I know of.
TheSilverHammer wrote:
I am not sure what a BOM is. I just used the basic package maker tool and wrote a simple pre and postflight script.
It is a Bill Of Materials file. PackageMaker creates them as part of your installer package. The Installer saves them in your Receipts folder so that (non-Apple) tools can clean up later. The important thing is that you can create files in your installer scripts, but there will be no record of files created that way. If you make sure they are in the BOM, they can be found and cleaned up later. You can even have the BOM version an empty stub file and then flesh it out with the scripts, just make sure it is in the BOM.
There is an "lsbom" command line tool you can use to inspect BOM files with.
The thing is, I edit some PList files which would need to be unedited, not simply deleted. I do not think there is harm in leaving this extra stuff, like launching a program that isn't there (there is a check before the attempt) in a script in /etc. I just do not like leaving junk on people's system.
I recommend you do not edit files that aren't your own. There is no way to be sure you can successfully un-edit them automatically. Whomever really owns that file could have edited it after your app did. If you then try to edit it again, you could render some part of the system inoperable. If you want to elaborate on this topic, there might be alternatives.
Like I hate it when you uninstall a game or something on windows, and after it's done in your users directory there is a folder for some game data with 128 megs of junk in it. Actually the other day on my windows box, I noticed a UO Kingdoms folder. I had uninstalled that several months ago. I checked with the add/remove programs and it was not listed. So I looked at the dirs, (it had two of them) and the total was over 200 megs of data. Sure, I have 250 GIGs of space, but still. It just rubs me the wrong way.
A decent uninstaller should at least ask you if you want to delete these files. Speaking of Windows, look at InnoSetup for an example of what a really good installer builder would look like. It pleases me when multinational corporations are so thoroughly bested by one guy with some freeware. I just wish he would port it the Mac.
It seems from what you have said, the answer is no, simply because the average mac user probably will not be using a 3rd party uninstaller.
This is a bit of a speculation, so it may be against the TOS, but the installation architecture could be changing over the next couple of years. Apple no longer recommends the old "drag-n-drop" installers that work so well. They now officially recommend people use the horrible PackageMaker. I think the idea is to improve security using signing certificates and such. I would mind that so much if there was an official uninstaller architecture too. Any time you give some random installer package your admin password, there is no limit (literally) to what that thing could install. Then, if you try to drag the app into the trash, it could easily leave your system completely dead. Things are a mess right now.
Similar Messages
-
I s there any concept relating to Schema in HFM?
Hi Peers?
Please guide me is there any concept in HFM relating to Schema? The purpose of this?Where to use?Why?Hi Lee!
I'm thinking to use 1260 AP.
As I know now, there is some antennas which can operate in this temperature range : from -30° to +70° C.
It is AIR-ANT5160V-R for 5GHz range:
http://www.cisco.com/en/US/docs/wireless/antenna/installation/guide/ant5160v.pdf
And AIR-ANT2506 for 2.4GHZ range :
http://www.cisco.com/en/US/docs/wireless/antenna/installation/guide/ant2506.html
But these are high gain antennas. I need to cover just little outdoor coffe
Because I never tried this, I can't predict interoperability with 1260 AP also.
Thanks for your time, answer and opinion guys ! -
In ical, there is supposed to be a on my mac menu on the left. Mine is not there, how do I get it back?
There is that option in Mail > select the show option towards the top toolbar on the left.
I have never seen that option in iCal. -
The circuit of my macbook is dead yet the hard drive is fine. I need to access a file from the hard drive, how can i do this? The mac turns on the screen freezes as bright blue. Is there a cable i can connect to another mac that will let me transfer the file?
There is another option if the Macbook will start up in Target Disk Mode.
Restart the computer while holding down the T key. If you see the firewire symbol moving around on the screen you can connect this one to another one in TDM. You will need a suitable cable to connect the two Macs.
http://support.apple.com/kb/ht1661
Firewire symbol: -
Hello,
I am trying to connect my laptop to my TV. The computer flashes blue after I plug the cable in but the TV says there is no signal.
I have a Mac Book Pro 2009 and a Samsung 32" Class (31.5" Diag.) 450 Series 720p LCD HDTV (2010 model).
I am using a mini display port to VGA adapter. I have sucessfully hooked up boh devices but it stopped working after a handful of times. I was wondering if there is anything I can do to fix the problem or is my cable broken?Some things you can try.
Startup Issues - Resolve
Startup Issues - Resolve (2) -
Is there any way to create an installer for Mac OS and Linux OS once a stand alone application is created? I have created an executable application that I want to distribute to Mac and Linux users (different applications were created in the respective OS). I was wondering if there is any way to create an installer? I think there probably isn't... If the user were to simply download the Labview Run-time Engine from ni.com would they be able to run the application or is it more complicated than that?
Thanks so much for your time.I think Shane tried to say, that it is on the Mac OS X installation DVD, NOT the LabVIEW for Mac OS X installation medium. And that could very well have changed in recent Mac OS X versions as well. They used to have Xcode on it too, but that seems gone as well.
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions -
Hi there. Can anyone help with restoring my Mac to it's origin white, it has got very grubby. Thanking you.
From here:
http://forums.macrumors.com/archive/index.php/t-863188.html
"You can use the Magic Eraser to clean the white plastic."
"thanks for the Magic Eraser tip, I willtry that..so far I've been using disinfectant wipes, which work pretty well, too because of the alcohol in them" -
When I try to sync my iPod classic with iTunes 11 Contacts and Calendars, I get a message saying there are no Contacts or Calendars on my Mac. There are.
Go to Settings > General > Usage and see how much is shown available and how much is in "Other".
-
Is there any way to transfer itunes from a mac running 10.4 to an iphone 5
Is there any way to transfer itunes from a mac running 10.4 to an iphone 5?
Nope. Very least is to have Snow Leopard and the latest iTunes on the Mac.
-
Hi,
I have lost all data on my iphone by mistake. I needed to restore the phone and I didnt realize my back-up was 1yr old, and now the phone is restored and I've got a year old contact list and iMessage chat history. Luckily my iMessage on the Mac is still valid and has all the chat history. My question is how can I restore iMessage chats on my iPhone 4 from my Mac? I have all the chat history on my Mac, but there seems to be no sync function from Mac to iphone. Please advice.If things seem to be going haywire with your phone, it seems that it MAY be a software issue.
Now, that being said, that does not necessarily mean that it is a virus. Software issues do happen sometimes. It is probably just coincidence.
What you need to do is restore the device using iTunes. This will fix any software issues. After you have done this, you can restore from an iCloud backup.
iCloud does not back up the actual software, so no, the "virus" would not have gotten into the backups.
The link below provides steps on restoring your device using iTunes as well as how to restore from an iCloud backup.
http://support.apple.com/kb/ht1766
Don't worry! Everything should be back to normal if you follow these steps. -
BNSF help desk says it was an internal update by java and mac users won't be able to use firefox to log on. The update changed things for mac users. The window that popped up said sun.security validator exception. MD2 with RSA disabled. Cannot be verified by trusted source. I really need this web site for my work. I'm also computer illiterate. Is there some kind of patch or fix for mac lion. HELP.
That file could be set as a Launch Agent or Daemon in your ~/Library or /Library, You could try to look for it or Safeboot your computer and then empty the trash. Safebooting disables Launch Agents/Daemon and Third Party Kernal extensions. Here's the article to Safeboot OS X: What is Safe Boot, Safe Mode? - Apple Support
-
Is there any option to install SQL server in mac os 10.9
is there any option to install SQL server in mac os 10.9
Hi PREM,
If I understand correctly, you want to use SQL Server Authentication log to SQL Server Integration Services.
Based on my research, only Microsoft Windows Authentication is available for SSIS. So we cannot use SQL Server Authentication log to SQL Server Integration Services. Besides, we can only add OS users in the DCOM Config permission area.
Reference:
Connect to Server (Integration Services)
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
Is there an external graphics card available for the Mac Mini?
Is there an external graphics card available for the Mac Mini?
All you have to do is google your question.
http://eshop.macsales.com/shop/Thunderbolt/ -
Need to do projects for CP C++ course , have team viewer, Xcode, bought Parallels, but were told there's no need to buy anthing since Mac can code. Do I need a compiler then, which one? Thanks.
Xcode. Download it for free from the Mac App Store.
-
I want to watch 2d movies converted to 3d, is there any software which can do this for mac, i know there are many for windows.Or any player which can do this?
Or may be i can can watch normal 3d movies on my macbookpro with a glass?Xilisoft 3D Video Converter for Mac - 3D converter to convert 3D ...
Mac 3D Video Converter - 3D Converter convert 2D video to 3D, 3D ...
Convert DVD Movies to 3D Mac - Best 2D to 3D Converter
4Media 2D to 3D Video Converter for Mac: Convert 2D video to 3D ...
Convert 2D Video to 3D for Mac- Tutorial for You about Using 2D ...
Maybe you are looking for
-
Text in different font or different style
hi, im writing text in my window.i want to have some text in one font size &some part of the text in different font size or in different font family.i tried but all the fontsize is same (which i created in STYLE).how can i do this?please help
-
Do I need a computer to use my ipad for the very first time?
I would like to know if I buy an iPad, shall I need to have a computer to start it for the very first time? I mean do I need to do plug in or can I start without plug in?
-
Font problem in reports, IAS Version: 10.1.2.2.0
Dear all, I have installed about 20 applications servers on windows but never met this problem before. I am facing the problem in viewing the report output on the Windows 2003, Oracle Application server Installation Type: Forms and Reports Services V
-
Data load from workrequest to work order in enetrprise asset management(eAM
Hi all, I want to load data from work request to work work order in enterprise asset management(eAM) module. Pls send me any body having code for EAM_PROCESS_WO_PUB API Thanks&Regards, Hanimi
-
Hi All: I have created two optional/ready for input variables - one is for cost center values and the other is for nodes of the cost center hierarchy. I want to make sure that the user populates one of the two variables. For this reason, I cannot m