Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Version control in software

 
Dilshan Edirisuriya
Ranch Hand
Posts: 299
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to disable multiple installation of my application. Only one instance of the .app file should be allowed. In windows I accomplished it by using windows registry.
1) Is it possible to detect whether an application exist in the folder structure in MAC?
2) Is there any sort of registry or directory for that?
3) Also is there any way to detect a particular file types is already available in the OS?

The reason to ask the 3) scenario is, when I am having multiple instance of my application my associated file opens from the very first application I installed. I want to make that the latest .app file I installed.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic