Skip to content

July 23, 2011

20

“In order to continue the installation, please close the following application: iTunes”

lion1110224140813

Mac OS X 10.7 Lion is finally out and so far, it seems pretty cool. There are a lot of nice new features that make a great OS even greater and it is will worth the £21 price tag!

I’ve always liked tinkering around with some basic development and creating some small apps for myself that help me do what I want to do. Usually no use to anyone else, but they help me :) The one thing that put me off trying to develop anything for Mac OS X though was that by the time I came to actually be interested in tinkering with Mac development, Apple had started charging for their Xcode aplication. It was only a small price, but considering how often I’d use it, I wasn’t prepared to purchase it unless I was serious about development. I did notice though, that since upgrading to Lion, Xcode is now free in the Apple App Store, so I jumped on the opportunity before they start charging for it again.

When you download Xcode from the App Store, it downloads an installer to run when you like, rather than installing itself straight away, and it uses the operating system’s Installer program. I did however, come across an interesting problem trying to install it, and it appears I’m not alone in this one…

Before upgrading to Lion, I did a clean install of Snow Leopard to make sure taht nothing would break, so this is a completely fresh system. I’ve never used iTunes since I did the clean install, however while doing the installer, I came across an error that said the following:

In order to continue the installation, please close the following applications:

iTunes

I checked the dock bar, and iTunes wasn’t running at all. I also have an app called QuitsAppsMBI which is a handy tool for quitting applications, nothing on there to say iTunes was running. Lastly, I checked Force Quit to see if there was anything, and there was nothing in there at all.

Not wanting to potentially ruin the installation, I wasn’t sure I wanted to just kill the Installer, so I seeked the help of Google to see if there were any suggestions on what to do. I came across the following post on James Greenhalgh’s blog: http://james.greenhalgh.eu/2011/in-order-to-continue-the-installation-please-close-the-following-application-itunes

This post detals exactly the problem I was having, and a really simple fix! Open up Terminal (found in Applications\Utilities) and type in the following command:

ps x | grep iTunes

This will list all the processes running on your computer with iTunes in the path. This returned the following for me:

174   ??  S     0:00.04 /Applications/iTunes.app/Contents/MacOS/iTunesHelper.app/Contents/MacOS/iTunesHelper -psn_0_57358
2613 s001  S+     0:00.00 grep iTunes

So this shows that the iTunes Helper is still running in the background. To kill this off, you then enter the following command:

kill 174

The first number from the first command is a process ID, so you’re telling it to kill the process with ID 174. Change the 174 to whatever the ID shows as from the first command, and it’ll end the iTunes Helper. After a few seconds, the Xcode installer will clock onto this and continue the installation!

Thanks again to James Greenhalgh for that tip! (Y)

20 Comments Post a comment
  1. Jul 23 2011

    Glad to see that the post was helpful to you. I didn’t really explain the solution very well so its nice to see that you went into more detail.

    Reply
  2. Andrew
    Jul 28 2011

    Thanks, worked like a charm!

    Reply
  3. Heber
    Jul 29 2011

    Thanks! Just what I needed as well

    Reply
  4. Aron
    Jul 29 2011

    Thanks a bunch, I was getting stuck on this also

    Reply
  5. Saad M. Waraich
    Jul 30 2011

    You are both good men for sharing this. I tried ps to look for the process a couple of times but forgot to capitalize the ‘t’ of iTunes.

    Thanks.
    Br
    SMW

    Reply
  6. Marcus
    Aug 1 2011

    I couldn’t kill the process with the process ID because it kept changing. Instead I opened Activity Monitor, filtered for iTunes and quit the process that way.

    For anyone with the same problem.

    Reply
    • iToun
      Oct 20 2011

      Cheers buddy… that’s far more simple!!!! Great help and thankyou!!

      Reply
  7. ajax
    Aug 2 2011

    Thanks a lot!

    Reply
  8. Aug 2 2011

    @Marcus – your method worked for me! Great idea, thank you. The Terminal method didn’t work.

    Reply
  9. ro
    Aug 5 2011

    i have the same problem. thanks for sharing the solutions.

    Reply
  10. Eoin
    Aug 7 2011

    Thanks – it worked!

    Reply
  11. deepblue
    Aug 22 2011

    Dude! Saved my life ;) , thanks!

    Reply
  12. anhkiet_1992
    Aug 31 2011

    Thank you!It worked..

    Reply
  13. anhkiet_1992
    Aug 31 2011

    no xcode for lion is the main reason that make my eclipse cannot be worked!great,How ever i cannot use itunes 10.5 beta

    Reply
  14. anhkiet_1992
    Aug 31 2011

    can everyone help me?my email address anhkiet_1992@yahoo.com

    Reply
  15. Kenny
    Sep 5 2011

    Guys thank you all so much for the info, Ive been stuck on this for 3 days solid, much appreciated and thanks for the share.

    Reply
  16. SoDoo
    Oct 4 2011

    Yeah, it worked like a charm.

    Reply
  17. Li
    Oct 12 2011

    Thank you very much. It helped me calm down at all. :D

    Reply
  18. Peter (in Canberra, Australia)
    Oct 17 2011

    The Terminal solution did the trick for me. Many thanks to James and Mike for highlighting the solution.

    Reply
  19. Chris
    Oct 18 2011

    Thank you good sir. Terminal knowledge +1

    Reply

Share your thoughts, post a comment.

(required)
(required)

Note: HTML is allowed. Your email address will never be published.

Subscribe to comments