• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Cocoa/Obj-C Restart Computer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa/Obj-C Restart Computer


  • Subject: Re: Cocoa/Obj-C Restart Computer
  • From: Dave Camp <email@hidden>
  • Date: Fri, 30 Jul 2004 15:25:48 -0700

The Installer can run executables at various points before the install. Maybe you can have it run your app to gather the needed information instead of having to write your own installer...

Dave

On Jul 30, 2004, at 2:54 PM, Matt Jaffa wrote:

Exactly on, my app is an installer I am making for our product, that needs a Kernel extension and has a Startup daemon in order for it to work.

I would use Apple's package maker to install, but I need input from the user before installing the stuff.

Thanks, I will try these methods.

Matt

On Jul 30, 2004, at 3:50 PM, Nick Zitzmann wrote:


On Jul 30, 2004, at 3:41 PM, Matt Jaffa wrote:

I was wondering if there was any command in Cocoa/Obj-C to restart the computer, so that my app can do that when they push a button.

You can do that with NSAppleScript and a script like "tell application \"System Events\" to restart". But unless your app installs a kernel extension that can't be dynamically loaded, why does it require a restart?

Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Cocoa/Obj-C Restart Computer (From: Matt Jaffa <email@hidden>)
 >Re: Cocoa/Obj-C Restart Computer (From: Nick Zitzmann <email@hidden>)
 >Re: Cocoa/Obj-C Restart Computer (From: Matt Jaffa <email@hidden>)

  • Prev by Date: Re: Cocoa/Obj-C Restart Computer
  • Next by Date: Re: Cocoa/Obj-C Restart Computer
  • Previous by thread: Re: Cocoa/Obj-C Restart Computer
  • Next by thread: Re: Cocoa/Obj-C Restart Computer
  • Index(es):
    • Date
    • Thread