private void InstallFont(string fontFileName) { if (FontRegistry.IsValidFont(fontFileName)) { WriteToLog("Found font file: " + fontFileName); WriteToLog("Starting install"); var t = Task.Run(() => { (new FontInstallerGUIService(new Logger(this, InstallLog))).InstallFont(fontFileName); }); } else { WriteToLog("Invalid or unknown font file: " + fontFileName); } }