Re: Application that uninstalls itself

2011-01-06 Thread James Bucanek
eveningnick eveningnick wrote (Tuesday, January 4, 2011 10:55 AM -0800): Thanks everyone for advices! 2011/1/4 James Bucanek : In my application, I have a special "Uninstall and Quit" menu item. I shutdown and delete launchd configuration files and them move the

Re: Application that uninstalls itself

2011-01-04 Thread eveningnick eveningnick
Thanks everyone for advices! 2011/1/4 James Bucanek : > In my application, I have a special "Uninstall and Quit" menu item. I > shutdown and delete launchd configuration files and them move the active > components (plug-ins, helpers, ...) to the trash. I find this avoid the > problem of deleting f

Re: Application that uninstalls itself

2011-01-04 Thread James Bucanek
eveningnick eveningnick wrote (Monday, January 3, 2011 8:48 AM +0200): In any sane operating system it is impossible (at least, directly) for an application to remove a file that is running. Hence i am searching for a detour. Who said OS X / BSD had to sane? As

Re: Application that uninstalls itself

2011-01-04 Thread Macdev
___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com

Re: Application that uninstalls itself

2011-01-03 Thread Scott Ribe
On Jan 3, 2011, at 8:48 AM, eveningnick eveningnick wrote: > In any sane operating system it is impossible (at least, directly) for > an application to remove a file that is running. Not true. Of course if you do start deleting the files of a running executable, you can't count on doing much of

Re: Application that uninstalls itself

2011-01-03 Thread Jean-Daniel Dupas
Le 3 janv. 2011 à 16:48, eveningnick eveningnick a écrit : > Hello > I am writing an application that for users convenience has a button > "Uninstall". > Inside, this "uninstaller" stops several launchd services, > "kextunloads" a driver, deletes this driver and services and finally > is suppose

Application that uninstalls itself

2011-01-03 Thread eveningnick eveningnick
Hello I am writing an application that for users convenience has a button "Uninstall". Inside, this "uninstaller" stops several launchd services, "kextunloads" a driver, deletes this driver and services and finally is supposed to delete itself. In any sane operating system it is impossible (at leas