Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1822
  • Last Modified:

mac registry?

Hi.  I built an app for windows..works great.  I'm currently building app for mac on os x 10.2.X and higher platform.  When my user pops in the cd to install app, I want it (like windows) to detect if:

1.) app already exists on machine
     a.) If not, install app, online reg, throw back something to mac registry that unlocks app.
     b.) If app already exists on machine, don't install


I can do all of that on windows because of registry.  Is this doable on mac?  If not, what is the alternative to prevent app piracy?  How does mac prevent others from moving exe from one mac to another without some sort of system check on the app?
0
COwebmaster
Asked:
COwebmaster
1 Solution
 
slyongCommented:
In OS X, preferences can be use as a similar function to what you want in Registry.  Have a look at this http://www.oreillynet.com/pub/a/mac/2001/08/24/cocoa.html
0
 
clausbrochCommented:
Apple's installer has a built-in check to see if the same version of the software has already been installed. Once an application has been installed it will place a "receipt" on the computer to prevent unneeded reinstallation.
The installer also allows for post-installation scripts that can do just about anything you want, including online registration.
More information about Apple's installer is available from
http://developer.apple.com/documentation/DeveloperTools/Conceptual/SoftwareDistribution/index.html
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now