During setup I get several errors like the one bellow and none of the service for SQL server get installed. I did quick google search but it seems like the only solution for resolving this issue is re-installation of the whole system which is not an option. Please if you had this problem and resolved it without any drastic measures, please share it.
TITLE: Microsoft SQL Server 2008 R2 Setup
The following error has occurred:
Updating permission setting for folder 'D:\Program Files\Microsoft SQL Server\100\DTS\' failed. The folder permission setting were supposed to be set to 'D:(A;OICI;FA;;;BA)(A;OICI;FA;;;SY)(A;OICI;FA;;;CO)(A;OICI;0x1200a9;;;BU)'.
Click 'Retry' to retry the failed action, or click 'Cancel' to cancel this action and continue setup.
This post on MSDN forums worked for me:
I posted something on the Avast forums and got back a response that explains/solves the issue. Avast has a self-defense module that locks down permissions on the C:\Windows\Temp folder. It may lock down other folders, but I don't know that for sure.
This can be disabled. Doing so allows the installation to complete without error. To disable the Avast self-defence module:
Systray -> Right Click Avast -> Open Avast user interface -> Settings -> Troubleshooting -> Enable self-defense module.
Symantec does not cause the SQL installation to fail like Avast does. And, this problem does not happen on Windows 7.
I'm late to the party here, I realize, but I just wandered across this after having the same problem. The comment from @fission led me to the following KB article:
http://support.microsoft.com/kb/2000257
The key information is here: