Re: How to make an application non-executable?
Re: How to make an application non-executable?
- Subject: Re: How to make an application non-executable?
- From: Mario Diana <email@hidden>
- Date: Fri, 16 Jul 2004 16:04:29 -0400
On Friday, July 16, 2004, at 03:15 PM, Bill Cheeseman wrote:
I'm looking for an easy way to make an application non-executable, for
example, by compressing or encrypting it. Any ideas?
I wrote before about the system call as an answer, but I think Cocoa
provides an easier way.
NSFileManager has a method - changeFileAttributes:atPath:
I guess the real problem is knowing exactly what the path of the master
app is? If the user places the setup application somewhere other than
where you've anticipated, perhaps that messes things up.
Mario
=======================================================
Mario Diana Mobile: 845-380-8428
50 Forest Drive Home: 845-221-3989
Poughquag, NY 12570 Email: email@hidden
=======================================================
Programmer - Web development, Java, XML, LAMP, Mac OS X
=======================================================
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.