• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

Version control in software

 
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.
 
permaculture is giving a gift to your future self. After reading this tiny ad:
Enterprise-grade Excel API for Java
https://products.aspose.com/cells/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!