I'm working on a WPF app, and using WiX as an installer.
I'd like to start using SQL Express 2012, but want to resolve installer issues first.
I'm looking for a full-up example of detecting, bootstrapping, installing, upgrading and uninstalling SQL Express 2012 using WiX (although partials will be useful, too).
Also, most of the detection logic I've found so far on the web uses registry keys. However, Microsoft recommends using WMI instead (see http://blogs.msdn.com/b/sqlexpress/archive/2006/07/29/faq-detecting-sql-server-2005-using-wmi.aspx). Is that possible using WiX?
No suggestions worked for me until following 2 changes:
set util:RegistrySearch/@Win64 attribute value to "yes" (default is "no", and it's ok for 32bit systems)
remove ExePackage/@DetectCondition attribute at all (don't aware the cause)
Below is working example:
This is what I have, hope it helps:
You would need to change the install commands to match your requirements.