OK I see.
MsiRuntime.Data at runtime is serialized into semicolon delimited key-value pares and because MSSQL is using the same encoding technique for connection strings it interferes with the Wix# MsiRuntime.Data serialization.
It is a Wix# problem and it will need to take about escaping
Thank you. I'll keep you informed on the fix availability. It will happen very soon. Most likely today.
P.S. I also created the issue on your behalf: https://wixsharp.codeplex.com/workitem/130
MsiRuntime.Data at runtime is serialized into semicolon delimited key-value pares and because MSSQL is using the same encoding technique for connection strings it interferes with the Wix# MsiRuntime.Data serialization.
It is a Wix# problem and it will need to take about escaping
;
and =
in user input values. Currently it does it for line breaks only. As a very temporary work around you can use your own escaping. Something like this:var conn = @"Data Source=.\SQLEXPRESS;Initial Catalog=RequestManagement;Integrated Security=SSPI"; MsiRuntime.Data["DATABASE_CONNECTION_STRING"] = conn.Replace(";", ";")Replace("=", "="); ... var conn = MsiRuntime.Data["DATABASE_CONNECTION_STRING"]; conn = = conn.Replace(";", ";").Replace("=", "=");
P.S. I also created the issue on your behalf: https://wixsharp.codeplex.com/workitem/130