How did you install the framework in the first place? If you used Delphy's monkey thing then just get it to install again. If not then get the framework from
here, extract it and put it in your sims 3 directory (usually Program files\ Electronic Arts\ The Sims 3). Also, what Liz said- make sure your CC is enabled.