Error installing Sims World Adventure

When trying to install the Sims World Adventures, I get this error "The Sims3 needs to be updated before this product can be installed. Setup will now attempt to update the Sims3. Do you want to continue?”
When I hit the Yes button, I get another error stating "Error with the Sims3 update. Setup is unable to continue." What should I do?
