Xcode 4.1 can't reinstall. App store says "installed"

Today i update my system to Lion and try to update Xcode. After downloading from app store i get error.

So i remove my old Xcode 4.0 by this command

/Developer/Library/uninstall-devtools –mode=all

But now in app store i have the status "installed" and can't reinstall my Xcode. So what i must do?

p.s Trash is clear.


Solution 1:

When I downloaded Xcode from the Mac App Store it created an Icon in launchpad called 'Install Xcode' and you're able to kick off the install from there.

My installation failed the first time and I was able to reinstall fine.

Solution 2:

sudo /Developer/Library/uninstall-devtools –mode=all

sudo rm -rf /Developer*

sudo rm -rf /Applications/*Xcode.app

Download & Install "Install Xcode.app" or now just "Xcode.app" from the AppStore again, and run it.

Solution 3:

Try a spotlight search for Xcode. I found an Xcode installer app in my applications folder when I did that.

Solution 4:

Delete "Applications/Install Xcode" you can then re-install from app store