Now provide option to selectively enable IPC on install.

wix
Sean McArdle 2017-01-18 14:58:55 -08:00
parent 66349c69d4
commit 921f6d3f71
1 changed files with 3 additions and 1 deletions

View File

@ -200,7 +200,9 @@ USAGE
throw new Exception("HKLM\\" + keyParent + "\\" + VALUE_NAME + " does not exist but was expected.");
}
key.SetValue(VALUE_NAME, origPath.Replace("\"\"", "\"") + " /service");
var opt = " /service";
if ((bool)Configuration.GetOption("enable_ipc")) opt += " /i";
key.SetValue(VALUE_NAME, origPath.Replace("\"\"", "\"") + opt);
}
}
catch (Exception ex)