Solved

mac registry?

Posted on 2006-10-28
2
1,805 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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…
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
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.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

763 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