Re: Installer (Package) question(s)
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com On lundi, janvier 16, 2006, at 08:49 PM, George Lawrence Storm wrote: ----- A few installation questions: Don't install it in /, please... Ask for root even if Administrator would be sufficient. lists.apple.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... VIRGIN ALERT! Warning this is my first attempt at writing an installer / just joined list / and I am not a UNIX head (20+ years Mac). This is my first application which calls for anything more than drag & drop. I have decided to write an installer for my bTop1 UNIX tools <http://groups.yahoo.com/group/bTop-1>. It will install a server, client (which is my command line tool for UNIX) and MAN page. 1) Should I install the client (UNIX tool) (relative to) root so anyone can use it or (relative to) the users home? For my testing I have been using /bin (relative to) root. 2) Where should I install my server daemon? It is an application that communicates by way of Distributed Objects so it is not restricted to where it goes by any UNIX rules, it is only addressed by way of the client (UNIX tool) and the user never talks to it or sees it directly (told you I am not a UNIX head). /Library/StartupItems comes to mind. Or if you're using the launchd thing, maybe /bin is ok too. 3) There is no mention in the documentation as to if I need to shut down my server before (upgrade) installation. Can I leave it run (preferred) or do I need to kill it first? I am trying to avoid altering the server which does not currently have a user command for shutting it down (it is a daemon) and would also prefer not to write a pre-upgrade script. I think the question is more: do you need to kill your server before upgrading it and then relaunch it? You're the one who has the answer to that one. 4) Is there a way I can set the server to always launch at startup using Package Maker? If I end up placing the server at root can I set it to always launch for all users? The server is likely to be installed in a hidden folder so I do not think the user can set the startup status from the preferences. Write a StartupItem or a launchd thing. There is a recent technote about this as a matter of fact (on ADC Website). 5) If I install my tools (relative to) root do I need to request the Root password or is Administrator sufficient? 6) Is there a way I can also provide an un-installer? The Software Distribution documentation leads me to believe I can not, however I have seen installers provide this functionality. Installer.app does not provide any un-installation feature (as of this writing). 7) Does this list have a searchable archive (like cocoabuilder) or only that provided by Apple (dismal)? This email sent to site_archiver@lists.apple.com
participants (1)
-
Stéphane Sudre