private void SaveLog(InstallLog installLog)
{
XmlDocument logDoc = new XmlDocument();
if (File.Exists(this.InstallLogFile))
logDoc.Load(this.InstallLogFile);
else
logDoc.LoadXml(string.Format("<plugin name='{0}'></plugin>", this.Name));
logDoc.DocumentElement.AppendChild(installLog.ToXml(logDoc));
logDoc.Save(this.InstallLogFile);
}