Solved

mac registry?

Posted on 2006-10-28
2
1,796 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Question regarding Copy/Paste 16 91
ODBC Connection Logging, ADO.NET 6 56
Path of Workbook 3 61
Problem to open Excel file 15 99
Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
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.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

863 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

20 Experts available now in Live!

Get 1:1 Help Now