Install SQL Server 2014 with Installaware


For my application an instance of SQL Server Express 2014 needs to be installed. I use Installaware (runtimes) to install the SQL Server and my app on a Windows OS. Before installation Installaware checks if the name of the instance is already installed on the system. If not, it will be installed as a pre-requisite.
As the installation of the pre-requisite (SQL Server) is done silently, there is no info about the progress. If for some reason the installation fails the PC of my customer has a partly installed SQL Server with all issues that go with that.
If installation fails it's mostly because there is already another instance of SQL Server running. This might lock certain files or it requires to install SQL Server as an update in stead of a full installation (if installed version is older then 2014).

But even if there is no previous installation of SQL Server it still might give issues, like:

So I'm looking for a way to smooth the installation for my customers.
Can anyboby help me with setting things up in Installaware (add certain checks to script) or give any tips?
Stef MerlijnDeveloperAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

EugeneZ ZhitomirskySQL SERVER EXPERTCommented:
can you check sql log on the failed box? %ProgramFiles%\Microsoft SQL Server\120\Setup Bootstrap\Log
try to install manually to see what is wrong..
you need to make sure that all what sql 2014 needs is pre-installed: e.g.  Net3.5...

Hardware and Software Requirements for Installing SQL Server 2014

to use with Installaware
Stef MerlijnDeveloperAuthor Commented:
All pre-requisites for SQL Server 2014 were installed.
I currently don't have access to such logfile as this is on the customer's computer. Maybe next time when I do an install for a new customer.
After a failed installation, I tried to install it manually, and in that case the install freezes at installing the SQL Server Browser. I then uninstalled SQL Server completely, deleted all SQL Server entries from the registry, restarted the PC and then installed SQL Server manually again. Then it worked.
Removing and especially deleting registry entries takes a lot of time, so I don't want to do that.
Therefore I want to solve the problem at the root.
EugeneZ ZhitomirskySQL SERVER EXPERTCommented:
it is a good news that you could manually install..
however, without logs it is not easy to find the failure issue source ..

...also, pc\server reboot before install may help to avoid some installation issues...

also you can check as an alternative

Install SQL Server 2014 from the Command Prompt


View and Read SQL Server Setup Log Files

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Stef MerlijnDeveloperAuthor Commented:
Reboot is a very good tip. This might overcome problems with Windows updates that need rebooting to complete installation and issues where files are in use.
Stef MerlijnDeveloperAuthor Commented:
Thank you very much. Rebooting the customer's PC helped a lot.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server

From novice to tech pro — start learning today.