Solved

mac registry?

Posted on 2006-10-28
2
1,792 Views
Last Modified: 2013-12-26
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
Comment
Question by:COwebmaster
2 Comments
 
LVL 24

Expert Comment

by:slyong
Comment Utility
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
 
LVL 6

Accepted Solution

by:
clausbroch earned 500 total points
Comment Utility
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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now