From 6cfd047f8d0f9ca60a005cdfaf93df70231408f8 Mon Sep 17 00:00:00 2001 From: Daniel Habenicht Date: Tue, 7 Jun 2022 14:05:58 +0200 Subject: [PATCH] fix installer we renamed the file earlier and missed this reference --- SettingsInstallerParameters/CustomAction.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/SettingsInstallerParameters/CustomAction.cs b/SettingsInstallerParameters/CustomAction.cs index 028e075..818269e 100644 --- a/SettingsInstallerParameters/CustomAction.cs +++ b/SettingsInstallerParameters/CustomAction.cs @@ -29,7 +29,7 @@ public static ActionResult UpdateConfigXml(Session session) private static void updateConfigXml(Session session) { // Write install path to config file - string xmlPath = Path.Combine(getInstallDir(session), "Jitsi Meet Outlook Add-In.dll.config"); + string xmlPath = Path.Combine(getInstallDir(session), "JitsiMeetOutlookAddIn.dll.config"); session.Log($"Executing on file: {xmlPath}"); if (!File.Exists(xmlPath)) @@ -95,6 +95,10 @@ private static void updateConfigXml(Session session) if (getConferenceSchedulerEndpointSecret(session).Length != 0) { + if (getConferenceSchedulerEndpointSecret(session).Length < 8) + { + session.Log($"WARNING: The secret is to short. This will throw errors in the application."); + } session.Log($"Setting custom conferenceSchedulerEndpointSecret: {getConferenceSchedulerEndpointSecret(session)}"); navigator.SelectSingleNode(@"/configuration/userSettings/JitsiMeetOutlook.Properties.Settings/setting[@name='conferenceSchedulerEndpointSecret']/value").SetValue(getConferenceSchedulerEndpointSecret(session)); }