• 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
How can I Lauch Finder in postinstall or postupgrade?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How can I Lauch Finder in postinstall or postupgrade?


  • Subject: How can I Lauch Finder in postinstall or postupgrade?
  • From: Kazuyoshi Matsumoto <email@hidden>
  • Date: Tue, 07 Oct 2008 20:18:36 +0900

Hi.

I'm looking for the method How the installer lauch Finder
at the end of Installation of an Application.
In other words...
I wanna show some folder after install my application.

I'm trying to write in 'postinstall' script (in AppleScript) like
bellow.....

--[postinstall]---------
osascript -e 'tell app "Finder" to quit'
osascript -e 'tell app "Finder" to activate'
osascript -e 'tell app "Finder" to open folder "MyFolder" of folder
      "Applications:Utilities" of startup disk'
.......
------------------------

But sometime fail launch "Finder".(some environment SUCCESS!!)
In error log.....
  execution error: An error of type -10810 has occurred. (-10810)


[question]
* What is error code mean? What's Happen?
     ---> I can't find any answer in apple web site.....
* Please tell me what is wrong.
* Is there any idea to this problem?

[environment infomation when problem occured]
* OS: MacOS X 10.5 (no revision)
* CPU: PPC

Kazuyoshi


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: How can I Lauch Finder in postinstall or postupgrade?
      • From: Philip Aker <email@hidden>
  • Prev by Date: Install requirement script returning true
  • Next by Date: Re: How can I Lauch Finder in postinstall or postupgrade?
  • Previous by thread: Re: Install requirement script returning true
  • Next by thread: Re: How can I Lauch Finder in postinstall or postupgrade?
  • Index(es):
    • Date
    • Thread