Here are some of the frequently asked questions regarding SQL Server Setup.
If your installation fails and you are unable to determine the cause, or you find an error in the Setup program, find and save:
If the Setup program fails, changes to the operating system are rolled back, including removal of any copied files and removal of changes to the registry.
The UnInstallshield installer removes only what it installs.
Files created after installation is complete, such as tempdb, are not part of the installation record and will be unknown to UnInstallshield. Therefore, UnInstallshield is not able to remove these files or their associated directories. Sqlsun.dll, which runs after UnInstallshield is complete, removes files such as tempdb and their associated folders. Sqlsun.dll will not remove error logs, trace files, user data, or their associated folders if they are generated in the original directory structure.