Changing the name of the solution, I can't install this as a site scoped solution


I've change the name of the solution and the namespace.
I've created a new solution with a new namespace and dragged all the files needed to the solution.
I've altered all the needed files to have the new namespace and solution name.
As I try to install this in my site, I recieve the message that the solution cannot be installed as a web scoped solution.
This means that the list, contenttypes, etc are not created in my site.
Does anyone have a guide to alter this data?