Quantcast
Channel: wixsharp Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1354

New Post: post-install action in ManagedProject

$
0
0
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 ; 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(";", "&#59;")Replace("=", "=");
...
var conn = MsiRuntime.Data["DATABASE_CONNECTION_STRING"];
conn =  = conn.Replace("&#59;", ";").Replace("=", "=");
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

Viewing all articles
Browse latest Browse all 1354

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>