Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > registering application for all users on mac

registering application for all users on mac
Thread Tools
Fresh-Faced Recruit
Join Date: Oct 2007
Status: Offline
Reply With Quote
Oct 16, 2007, 06:17 AM
 
Hi all

I have created an application to handle a protocol. If i copies this application directly to "/Applications" folder and then logs in to some other user then my application works fine.

But if i copies my application under some hierarchy say "/Applications/abc/xyz/myapplicaton" and then if i log in with some other user then MAC OS does not recognize my application. On the other hand if i intenstionally clicked my application then it works fine.

I have tried it for registering with "LSRegisterFSRef" API available in MAC, but this too doesn't helped, also i have ended up by setting the permission for the application.

Is there any problem in creating the application. How can i solve this problem please help me as i m in the urgent need.

Regards
Shobhit Jain
(Last edited by shobhit; Oct 16, 2007 at 06:19 AM. (Reason:subscription type))
     
Mac Elite
Join Date: Oct 1999
Location: San Jose, Ca
Status: Offline
Reply With Quote
Oct 16, 2007, 06:28 PM
 
The Finder is actually the thing that is responsible for it. It goes through and reads all of the application plists to see who should be registered for what. And it automatically looks in /Applications and ~/Applications, so you are going to want to be in there. Sadly I don't think there is anything else you can do.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 09:33 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2