Wrong ExePackage's InstallCommand in generated wxs file

Nov 2, 2016 at 7:22 AM
Edited Nov 2, 2016 at 7:31 AM
Hello, Oleg!
I've create new ExePackage to install SQLExpress
ExePackage sqlExpr = new ExePackage
{
Name = "SQLEXPRESS",
SourceFile = settings.sqlExpress,
Compressed = true,
PerMachine = true,
Permanent = true,
Vital = true,
DetectCondition = "SQLEXPR",
InstallCommand = "/qs /ACTION=Install /FEATURES=SQL /INSTANCENAME=SQLEXPRESS /SQLSVCACCOUNT=\"NT AUTHORITY\\NETWORK SERVICE\"",
};

In ExePackage's InstallCommand in output wxs file " is replaced by & quot;
<ExePackage Name="SQLEXPRESS" InstallCommand="/qs /ACTION=Install /FEATURES=SQL /INSTANCENAME=SQLEXPRESS /SQLSVCACCOUNT=& quot;NT AUTHORITY\NETWORK SERVICE& quot;" DetectCondition="SQLEXPR" Permanent="yes" SourceFile="..\installers\SQLEXPR_x64_RUS.exe" PerMachine="yes" Compressed="yes" Vital="yes" />

P.S. I've inserted space between & and quot; . My browser display & quot; without space as "
Nov 2, 2016 at 7:38 AM
Edited Nov 2, 2016 at 7:39 AM
I've understood, it's right