Solved

mac registry?

Posted on 2006-10-28
2
1,798 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
ID: 17878113
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
ID: 17900966
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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Decoding 32 bit binary streams 6 42
Pressing cancel button with C# UI Automation 3 66
Smart Camera scanning and reading information 3 106
java ^ examples 8 65
In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
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.
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

813 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

18 Experts available now in Live!

Get 1:1 Help Now