Re: Best Design Advice
If it displays a window it should be an app. If its an app it should be in /Applications and it should be started from Login Items. You can't install it automatically by security design. But once you get the user to install and run it, there are no permissions issues in adding it to login items (although asking the user is polite), and connecting to your web site. From: David Blanton To: cocoa-dev List Sent: Sunday, 15 November, 2009 4:21:31 AM Subject: Best Design Advice I need to create an app the is auto downloaded and installed from a web site when the user clicks a web page button. The app needs to be installed so that it always runs when the user logs in. The app needs to periodically (by user preference setting) connect to a web server. The app needs to display a window with information gleaned from its last web server connect. = 1. Where should the app be installed. 2. Are there any permission issues. 3. Is this a background service or status like item. 4. Is it's periodic web connect fired by a timer or some other means. 5. Any other general tips / tricks. = Thanks in advance! db ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/idou747%40yahoo.com This email sent to idou...@yahoo.com __ Get more done like never before with Yahoo!7 Mail. Learn more: http://au.overview.mail.yahoo.com/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Best Design Advice
On 14 Nov, 2009, at 22:25, David Blanton wrote: Jens - I am not sure from your response how the app will run when the user logs in. Should not the app be installed in a particular location so that it starts when the user logs in? And, does this not imply that the user should not have the option of specifying where the app is installed. And, if there is a particular location to be installed so that the app runs at login are there not permission issues? A user can decide which apps to start automatically when logging in, by selecting System Preferences > Accounts > LoginItems and then clicking on "+". A finder type window opens and the user can select any program to have it start up automatically. So, no, the app doesn't have to be in a particular location and no, there aren't special permission issues. Perhaps you could explain the need for the whole automation aspect. The first time I read your first post I also thought malware/spyware. I need to create an app the is auto downloaded and installed from a web site when the user clicks a web page button. The app needs to be installed so that it always runs when the user logs in. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Best Design Advice
Hi, Am 14.11.2009 um 22:25 schrieb David Blanton: Should not the app be installed in a particular location so that it starts when the user logs in? You can add any app, located at any location (nearly at any) to the Startup Items of a user and the app gets started. No need to be in a special place for that. Just has to be available at user login time. And, does this not imply that the user should not have the option of specifying where the app is installed. The user should have free choice - let it be /Applications or ~/ Applications for example. Since nothing is implied from the first step, no problem. And, if there is a particular location to be installed so that the app runs at login are there not permission issues? The user can not install the app to locations where he doesn't have write access to or where he can't get temporary write access. What have you looked into? Your current questions are rather vague and not Cocoa related so far. ? http://whathaveyoutried.com/ Volker ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Best Design Advice
Jens - I am not sure from your response how the app will run when the user logs in. Should not the app be installed in a particular location so that it starts when the user logs in? And, does this not imply that the user should not have the option of specifying where the app is installed. And, if there is a particular location to be installed so that the app runs at login are there not permission issues? Thanks. db On Sep 27, 2009, at 10:38 AM, Jens Alfke wrote: On Nov 14, 2009, at 9:21 AM, David Blanton wrote: I need to create an app the is auto downloaded and installed from a web site when the user clicks a web page button. It can be downloaded when the user clicks a button, but of course it can't automatically run or be installed that way; that would be a security issue. The user needs to explicitly open the app after it's downloaded. 1. Where should the app be installed. Wherever the user wants. You shouldn't need an installer for this, just package the app as a .zip or .dmg file. 2. Are there any permission issues. No. But setting your app to launch at login without the user's consent would be a bad idea, unless of course you're writing malware ;). Please either put up an alert asking the user on first launch, or make it a checkbox in the prefs. 3. Is this a background service or status like item. Only if you want it to be. Is there any UI? (If not, how does the user configure it or turn it off?) Should it have a dock item? If not, how does the user access its UI? 4. Is it's periodic web connect fired by a timer or some other means. Probably an NSTimer. —Jens ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Best Design Advice
On Nov 14, 2009, at 9:21 AM, David Blanton wrote: I need to create an app the is auto downloaded and installed from a web site when the user clicks a web page button. It can be downloaded when the user clicks a button, but of course it can't automatically run or be installed that way; that would be a security issue. The user needs to explicitly open the app after it's downloaded. 1. Where should the app be installed. Wherever the user wants. You shouldn't need an installer for this, just package the app as a .zip or .dmg file. 2. Are there any permission issues. No. But setting your app to launch at login without the user's consent would be a bad idea, unless of course you're writing malware ;). Please either put up an alert asking the user on first launch, or make it a checkbox in the prefs. 3. Is this a background service or status like item. Only if you want it to be. Is there any UI? (If not, how does the user configure it or turn it off?) Should it have a dock item? If not, how does the user access its UI? 4. Is it's periodic web connect fired by a timer or some other means. Probably an NSTimer. —Jens___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Best Design Advice
I need to create an app the is auto downloaded and installed from a web site when the user clicks a web page button. The app needs to be installed so that it always runs when the user logs in. The app needs to periodically (by user preference setting) connect to a web server. The app needs to display a window with information gleaned from its last web server connect. = 1. Where should the app be installed. 2. Are there any permission issues. 3. Is this a background service or status like item. 4. Is it's periodic web connect fired by a timer or some other means. 5. Any other general tips / tricks. = Thanks in advance! db ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com