[wix-users] WIX CreateDatabase fails without TLS 1.0

sudriptan at sarangsoft.co.in sudriptan at sarangsoft.co.in
Tue Dec 13 23:32:52 PST 2016


 


Hello All,
    Our setup program was running successfully until we disabled TLS 1.0 (client protocol) keeping TLS 1.1 and 1.2 enabled in the system due to security reasons. We are using the WIX element 'SQLDatabase' for creating our database and it seems that it has started failing after the change. We are using SQL Server 2016 on Windows Server 2012. Here is the error log that was generated:

CreateDatabase: Error 0x80004005: failed to check if database exists: 'MyDatabase', error: unknown error Error 26201. Error -2147467259: failed to create SQL database: MyDatabase, error detail: unknown error.
MSI (s) (AC!80) [06:27:39:850]: Product: MySetup -- Error 26201. Error -2147467259: failed to create SQL database: MyDatabase, error detail: unknown error.
CustomAction CreateDatabase returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)

 
Seems CreateDatabase custom action needs TLS 1.0 to work and cannot work with TLS 1.1 or 1.2. I am using WIX 3.10.

Any ideas on how to workaround this problem. We need to use only TLS 1.1 or 1.2 in our product due to security concerns with TLS 1.0.


I hope someone has a solution to it. Thanks in advance.


 
Thanks.
With Regards,
// Sudripta.


More information about the wix-users mailing list