private void CreateManifest() { ManifestFile = Path.Combine(TempInstallFolder, Path.GetFileNameWithoutExtension(FileName) + ".dnn"); StreamWriter manifestWriter = new StreamWriter(ManifestFile); manifestWriter.Write(LegacyUtil.CreateSkinManifest(FileName, rblLegacySkin.SelectedValue, TempInstallFolder)); manifestWriter.Close(); }
private static string CreateManifest(Installer installer, string fileName, string legacySkin) { var manifestFile = Path.Combine(installer.TempInstallFolder, Path.GetFileNameWithoutExtension(fileName) + ".dnn"); using (var manifestWriter = new StreamWriter(manifestFile)) { manifestWriter.Write(LegacyUtil.CreateSkinManifest(fileName, legacySkin ?? "Skin", installer.TempInstallFolder)); manifestWriter.Close(); } return(manifestFile); }