I would like to give the end user the option to install SQL Server 2005 Express. This is because we are trying to give demo users a choice between a client or a server install. I don't want to install SQL Server 2005 Express as a prerequisite, unless I have to.
I have 4 checkboxes for .NET 2.0 Framework, Windows Installer 3.1, MDAC 2.8 and SQL Server 2005 Express. If the associated checkbox is selected, via an UI Custom Action (Add Predefined Custom Action, Launch File or Open URL) the product is installed (that's the plan, at least.)
The installs for the SQL Server 2005 Express prereqs (NET FW, WI 3.1 & MDAC 2.8) finish successfully but SQL Server 2005 Express fails.
I have tried 2 different methods for SQL Server install.
1. Launch SQLEXPR.exe. This failed with:
MainEngineThread is returning 110
The system cannot open the device or file specified.
2. I exploded the files out of SQLEXPR.exe. I can install with these files by clicking on setup.exe. But when I included all these files into my install package & ran it I just get a messagebox saying setup failed.
It looks to me, from my research, that this can't be done this way. I would appreciate any feedback if someone has succeeded with this.
Thanks
FOLLOW US
Get the latest news in Application Packaging