diff --git a/OutlookCaseHelper/Form1.cs b/OutlookCaseHelper/Form1.cs index 290a049..9e303cc 100644 --- a/OutlookCaseHelper/Form1.cs +++ b/OutlookCaseHelper/Form1.cs @@ -39,6 +39,7 @@ namespace OutlookCaseHelper public Form1() { InitializeComponent(); + this.Icon = new Icon(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "casenew.ico")); //adding the icon this.WindowState = FormWindowState.Minimized; this.ShowInTaskbar = false; outlookHelper = new OutlookHelper(); @@ -46,7 +47,8 @@ namespace OutlookCaseHelper InitializeTray(); InitializeTimer(); SetStartupWithWindows(true); - Task.Run(() => outlookHelper.ScanInboxOnStartup()); + // Task.Run(() => outlookHelper.ScanInboxOnStartup()); + trayIcon.ShowBalloonTip(3000, "Outlook Case Manager", "App is running and monitoring your emails.", ToolTipIcon.Info); } private void SetStartupWithWindows(bool enable) @@ -431,6 +433,7 @@ namespace OutlookCaseHelper this.MaximizeBox = false; this.MinimizeBox = false; this.StartPosition = FormStartPosition.CenterScreen; + try { this.Icon = new Icon(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "casenew.ico")); } catch { } var lblCreate = new Label { Text = "Create Rule shortcut:", Left = 20, Top = 15, Width = 350, Height = 20, Font = new Font(Font, FontStyle.Bold) }; chkCreateAlt = new CheckBox { Text = "Alt", Left = 20, Top = 40, Width = 60, Checked = (createMod & 0x0001) != 0 }; @@ -547,6 +550,7 @@ namespace OutlookCaseHelper this.MaximizeBox = false; this.MinimizeBox = false; this.StartPosition = FormStartPosition.CenterScreen; + try { this.Icon = new Icon(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "casenew.ico")); } catch { } var lblId = new Label { Text = "TrackingID (required):", Left = 20, Top = 15, Width = 370, Height = 20 }; txtId = new TextBox { Left = 20, Top = 38, Width = 370, Height = 24, Text = trackingId, ReadOnly = readonlyId }; @@ -613,6 +617,7 @@ namespace OutlookCaseHelper this.MaximizeBox = false; this.MinimizeBox = false; this.StartPosition = FormStartPosition.CenterScreen; + try { this.Icon = new Icon(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "casenew.ico")); } catch { } var label = new Label { Text = prompt, Left = 20, Top = 15, Width = 330, Height = 25 }; txtInput = new TextBox { Left = 20, Top = 45, Width = 330, Height = 24 }; diff --git a/OutlookCaseHelper/OutlookCaseHelper.csproj b/OutlookCaseHelper/OutlookCaseHelper.csproj index d2fccbc..911ff6a 100644 --- a/OutlookCaseHelper/OutlookCaseHelper.csproj +++ b/OutlookCaseHelper/OutlookCaseHelper.csproj @@ -6,7 +6,7 @@ enable true enable - bin\Release\net8.0-windows\casenew.ico + casenew.ico @@ -48,7 +48,13 @@ - + + Always + + + + + \ No newline at end of file diff --git a/OutlookCaseHelper/OutlookHelper.cs b/OutlookCaseHelper/OutlookHelper.cs index e700425..470a020 100644 --- a/OutlookCaseHelper/OutlookHelper.cs +++ b/OutlookCaseHelper/OutlookHelper.cs @@ -4,14 +4,15 @@ using System.Text.RegularExpressions; using System.IO; using System.Text.Json; using System.Windows.Forms; +using System.Threading.Tasks; using Outlook = Microsoft.Office.Interop.Outlook; namespace OutlookCaseHelper { public class OutlookHelper { - private Outlook.Application outlookApp; - private Outlook.NameSpace outlookNamespace; + private Outlook.Application? outlookApp; + private Outlook.NameSpace? outlookNamespace; private HashSet activeRules = new HashSet(); private readonly string rulesFilePath; private Outlook.Items? inboxItems; @@ -19,15 +20,31 @@ namespace OutlookCaseHelper public OutlookHelper() { - outlookApp = new Outlook.Application(); - outlookNamespace = outlookApp.GetNamespace("MAPI"); rulesFilePath = Path.Combine( Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "OutlookCaseHelper", "active_rules.json"); Directory.CreateDirectory(Path.GetDirectoryName(rulesFilePath)!); LoadRules(); - RegisterEmailEvents(); + // Não tenta ligar ao Outlook aqui — liga só quando necessário + } + + private bool EnsureOutlookConnected() + { + if (outlookApp != null && outlookNamespace != null) return true; + + try + { + var outlookProcess = System.Diagnostics.Process.GetProcessesByName("OUTLOOK"); + if (outlookProcess.Length == 0) return false; + + outlookApp = new Outlook.Application(); + outlookNamespace = outlookApp.GetNamespace("MAPI"); + outlookNamespace.Logon(Type.Missing, Type.Missing, false, false); + RegisterEmailEvents(); + return true; + } + catch { return false; } } private void RegisterEmailEvents() @@ -35,9 +52,9 @@ namespace OutlookCaseHelper try { Outlook.Folder? inboxFolder = - outlookNamespace.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderInbox) as Outlook.Folder; + outlookNamespace?.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderInbox) as Outlook.Folder; Outlook.Folder? sentFolder = - outlookNamespace.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderSentMail) as Outlook.Folder; + outlookNamespace?.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderSentMail) as Outlook.Folder; if (inboxFolder != null) { @@ -57,6 +74,7 @@ namespace OutlookCaseHelper { try { + if (outlookNamespace == null) return; if (activeRules.Count == 0) return; if (item is not Outlook.MailItem mail) return; if (mail.Subject == null) return; @@ -86,6 +104,7 @@ namespace OutlookCaseHelper { try { + if (outlookNamespace == null) return; if (activeRules.Count == 0) return; if (item is not Outlook.MailItem mail) return; if (mail.Subject == null) return; @@ -131,8 +150,9 @@ namespace OutlookCaseHelper { try { + if (!EnsureOutlookConnected()) return false; Outlook.Folder? inboxFolder = - outlookNamespace.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderInbox) as Outlook.Folder; + outlookNamespace!.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderInbox) as Outlook.Folder; if (inboxFolder == null) return false; Outlook.Folder? casesFolder = GetFolder(inboxFolder, "Cases"); @@ -175,9 +195,10 @@ namespace OutlookCaseHelper public string? GetSelectedEmailTrackingId() { + if (!EnsureOutlookConnected()) return null; try { - Outlook.Explorer activeExplorer = outlookApp.ActiveExplorer(); + Outlook.Explorer activeExplorer = outlookApp!.ActiveExplorer(); if (activeExplorer == null) return null; Outlook.Selection selection = activeExplorer.Selection; @@ -197,10 +218,11 @@ namespace OutlookCaseHelper public bool ReopenFromClosed(string trackingId, Outlook.MailItem? triggerEmail = null) { + if (!EnsureOutlookConnected()) return false; try { Outlook.Folder? inboxFolder = - outlookNamespace.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderInbox) as Outlook.Folder; + outlookNamespace!.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderInbox) as Outlook.Folder; if (inboxFolder == null) return false; Outlook.Folder casesFolder = GetOrCreateFolder(inboxFolder, "Cases"); @@ -230,10 +252,11 @@ namespace OutlookCaseHelper public bool CreateFolderAndMoveEmails(string trackingId, string folderName) { + if (!EnsureOutlookConnected()) return false; try { Outlook.Folder? inboxFolder = - outlookNamespace.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderInbox) as Outlook.Folder; + outlookNamespace!.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderInbox) as Outlook.Folder; if (inboxFolder == null) return false; Outlook.Folder casesFolder = GetOrCreateFolder(inboxFolder, "Cases"); @@ -263,7 +286,6 @@ namespace OutlookCaseHelper activeRules.Add(folderName); SaveRules(); - return true; } catch (Exception ex) @@ -275,10 +297,11 @@ namespace OutlookCaseHelper public bool RemoveRuleAndMoveToClosed(string folderName) { + if (!EnsureOutlookConnected()) return false; try { Outlook.Folder? inboxFolder = - outlookNamespace.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderInbox) as Outlook.Folder; + outlookNamespace!.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderInbox) as Outlook.Folder; if (inboxFolder == null) return false; Outlook.Folder? casesFolder = GetFolder(inboxFolder, "Cases"); @@ -295,7 +318,6 @@ namespace OutlookCaseHelper activeRules.Remove(folderName); SaveRules(); - return true; } catch { return false; } @@ -304,11 +326,12 @@ namespace OutlookCaseHelper public void ScanInboxOnStartup() { if (activeRules.Count == 0) return; + if (!EnsureOutlookConnected()) return; try { Outlook.Folder? inboxFolder = - outlookNamespace.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderInbox) as Outlook.Folder; + outlookNamespace!.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderInbox) as Outlook.Folder; if (inboxFolder == null) return; Outlook.Folder? sentFolder = @@ -376,9 +399,10 @@ namespace OutlookCaseHelper public Outlook.MailItem? GetSelectedEmail() { + if (!EnsureOutlookConnected()) return null; try { - Outlook.Explorer activeExplorer = outlookApp.ActiveExplorer(); + Outlook.Explorer activeExplorer = outlookApp!.ActiveExplorer(); if (activeExplorer == null) return null; Outlook.Selection selection = activeExplorer.Selection; if (selection.Count == 0) return null; diff --git a/OutlookCaseHelper/Program.cs b/OutlookCaseHelper/Program.cs index 1d57e52..5cd91c4 100644 --- a/OutlookCaseHelper/Program.cs +++ b/OutlookCaseHelper/Program.cs @@ -6,11 +6,31 @@ namespace OutlookCaseHelper internal static class Program { [STAThread] - static void Main() + static void Main(string[] args) { - Application.EnableVisualStyles(); - Application.SetCompatibleTextRenderingDefault(false); - Application.Run(new Form1()); + try + { + if (args.Length > 0 && args[0] == "/postinstall") + { + string exePath = System.Diagnostics.Process.GetCurrentProcess().MainModule!.FileName; + + var psi = new System.Diagnostics.ProcessStartInfo + { + FileName = exePath, + UseShellExecute = true, + CreateNoWindow = false + }; + + System.Threading.Thread.Sleep(12000); // aguarda 12 segundos + System.Diagnostics.Process.Start(psi); + return; + } + + Application.EnableVisualStyles(); + Application.SetCompatibleTextRenderingDefault(false); + Application.Run(new Form1()); + } + catch { } } } } diff --git a/OutlookCaseHelper/casenew.ico b/OutlookCaseHelper/casenew.ico new file mode 100644 index 0000000..7630736 Binary files /dev/null and b/OutlookCaseHelper/casenew.ico differ diff --git a/OutlookCaseHelperSetup/OutlookCaseHelperSetup.vdproj b/OutlookCaseHelperSetup/OutlookCaseHelperSetup.vdproj index a3234c7..780684f 100644 --- a/OutlookCaseHelperSetup/OutlookCaseHelperSetup.vdproj +++ b/OutlookCaseHelperSetup/OutlookCaseHelperSetup.vdproj @@ -16,44 +16,44 @@ { "Entry" { - "MsmKey" = "8:_1BB18DD6889F413ABD4B4D9154F1BE57" + "MsmKey" = "8:_20E8A2E3188C435B800533011482D2FC" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { - "MsmKey" = "8:_230530C8E66442899F289ED7E541F937" + "MsmKey" = "8:_55185199A62E492BB1143878267EE2E9" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { - "MsmKey" = "8:_40267211E716429082BE64E37E0BDD6D" + "MsmKey" = "8:_5F57D6A4E8444DDBB326576FFBD250C5" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { - "MsmKey" = "8:_54323F93E4284786AED71AEDEFC787E5" + "MsmKey" = "8:_77817CCBFF694940A914F0B5A4CF0A29" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { - "MsmKey" = "8:_99B87D0337064BF9AB53980132C343E6" + "MsmKey" = "8:_9F7218B22E4345B5B910EC5074D7E47E" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { - "MsmKey" = "8:_FE396339D9AE492E9BE8136537F459C7" + "MsmKey" = "8:_F218356900FA429DAE98B6D2EB95FD68" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_40267211E716429082BE64E37E0BDD6D" + "OwnerKey" = "8:_77817CCBFF694940A914F0B5A4CF0A29" "MsmSig" = "8:_UNDEFINED" } } @@ -128,6 +128,20 @@ { "CustomAction" { + "{4AA51A2D-7D85-4A59-BA75-B0809FC8B380}:_DD81DF56EF8A4C8E95F2B3F1B9E1759D" + { + "Name" = "8:OutlookCaseHelper.exe" + "Condition" = "8:LAUNCH_APP=\"1\"" + "Object" = "8:_20E8A2E3188C435B800533011482D2FC" + "FileType" = "3:2" + "InstallAction" = "3:1" + "Arguments" = "8:/postinstall" + "EntryPoint" = "8:" + "Sequence" = "3:1" + "Identifier" = "8:_BB6F4E07_E0B7_4049_9B93_6BD9670746E7" + "InstallerClass" = "11:FALSE" + "CustomActionData" = "8:" + } } "DefaultFeature" { @@ -161,7 +175,7 @@ } "File" { - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_1BB18DD6889F413ABD4B4D9154F1BE57" + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_20E8A2E3188C435B800533011482D2FC" { "SourcePath" = "8:..\\OutlookCaseHelper\\bin\\Release\\net8.0-windows\\OutlookCaseHelper.exe" "TargetName" = "8:OutlookCaseHelper.exe" @@ -181,7 +195,7 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_230530C8E66442899F289ED7E541F937" + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_55185199A62E492BB1143878267EE2E9" { "SourcePath" = "8:..\\OutlookCaseHelper\\bin\\Release\\net8.0-windows\\OutlookCaseHelper.runtimeconfig.json" "TargetName" = "8:OutlookCaseHelper.runtimeconfig.json" @@ -201,14 +215,34 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } - "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_40267211E716429082BE64E37E0BDD6D" + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_5F57D6A4E8444DDBB326576FFBD250C5" + { + "SourcePath" = "8:..\\OutlookCaseHelper\\bin\\Release\\net8.0-windows\\OutlookCaseHelper.deps.json" + "TargetName" = "8:OutlookCaseHelper.deps.json" + "Tag" = "8:" + "Folder" = "8:_AC75D4F5EDF14629A9F064045458FC4F" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_77817CCBFF694940A914F0B5A4CF0A29" { "AssemblyRegister" = "3:1" "AssemblyIsInGAC" = "11:FALSE" "AssemblyAsmDisplayName" = "8:OutlookCaseHelper, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL" "ScatterAssemblies" { - "_40267211E716429082BE64E37E0BDD6D" + "_77817CCBFF694940A914F0B5A4CF0A29" { "Name" = "8:OutlookCaseHelper.dll" "Attributes" = "3:512" @@ -232,47 +266,7 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_54323F93E4284786AED71AEDEFC787E5" - { - "SourcePath" = "8:..\\OutlookCaseHelper\\bin\\Release\\net8.0-windows\\OutlookCaseHelper.pdb" - "TargetName" = "8:OutlookCaseHelper.pdb" - "Tag" = "8:" - "Folder" = "8:_AC75D4F5EDF14629A9F064045458FC4F" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_99B87D0337064BF9AB53980132C343E6" - { - "SourcePath" = "8:..\\OutlookCaseHelper\\bin\\Release\\net8.0-windows\\OutlookCaseHelper.deps.json" - "TargetName" = "8:OutlookCaseHelper.deps.json" - "Tag" = "8:" - "Folder" = "8:_AC75D4F5EDF14629A9F064045458FC4F" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_FE396339D9AE492E9BE8136537F459C7" + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_9F7218B22E4345B5B910EC5074D7E47E" { "SourcePath" = "8:..\\OutlookCaseHelper\\bin\\Release\\net8.0-windows\\casenew.ico" "TargetName" = "8:casenew.ico" @@ -292,6 +286,26 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_F218356900FA429DAE98B6D2EB95FD68" + { + "SourcePath" = "8:..\\OutlookCaseHelper\\bin\\Release\\net8.0-windows\\OutlookCaseHelper.pdb" + "TargetName" = "8:OutlookCaseHelper.pdb" + "Tag" = "8:" + "Folder" = "8:_AC75D4F5EDF14629A9F064045458FC4F" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } } "FileType" { @@ -360,7 +374,7 @@ "Name" = "8:Microsoft Visual Studio" "ProductName" = "8:Outlook Case Manager" "ProductCode" = "8:{D8A20294-9095-4817-808A-8B9144CD168F}" - "PackageCode" = "8:{A2E06DA5-CC01-49D2-BD55-1A03E20DF29B}" + "PackageCode" = "8:{F9F5DDD8-2BB9-40B2-89C9-074DFFBBBC2A}" "UpgradeCode" = "8:{AAF43788-D89F-4285-AC74-CA5E1413DADC}" "AspNetVersion" = "8:2.0.50727.0" "RestartWWWService" = "11:FALSE" @@ -480,18 +494,18 @@ } "Shortcut" { - "{970C0BB2-C7D0-45D7-ABFA-7EC378858BC0}:_ADACFD25B8814E05AC900592A062FAE2" + "{970C0BB2-C7D0-45D7-ABFA-7EC378858BC0}:_4C143AD9ADB744768244DF77656AB36B" { - "Name" = "8:Outlook Case Helper" + "Name" = "8:OLCaseManager" "Arguments" = "8:" "Description" = "8:" "ShowCmd" = "3:1" "IconIndex" = "3:0" "Transitive" = "11:FALSE" - "Target" = "8:_1BB18DD6889F413ABD4B4D9154F1BE57" + "Target" = "8:_20E8A2E3188C435B800533011482D2FC" "Folder" = "8:_F66DBC3EB3F247C29BAF8010BFB5C784" "WorkingFolder" = "8:_AC75D4F5EDF14629A9F064045458FC4F" - "Icon" = "8:" + "Icon" = "8:_9F7218B22E4345B5B910EC5074D7E47E" "Feature" = "8:" } } @@ -690,6 +704,262 @@ } } } + "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_7D04F05A2A1149FCB26D59521B1E8172" + { + "Sequence" = "3:110" + "DisplayName" = "8:Checkboxes (A)" + "UseDynamicProperties" = "11:TRUE" + "IsDependency" = "11:FALSE" + "SourcePath" = "8:\\VsdCustomCheck1Dlg.wid" + "Properties" + { + "BannerBitmap" + { + "Name" = "8:BannerBitmap" + "DisplayName" = "8:#1001" + "Description" = "8:#1101" + "Type" = "3:8" + "ContextData" = "8:Bitmap" + "Attributes" = "3:4" + "Setting" = "3:1" + "UsePlugInResources" = "11:TRUE" + } + "BannerText" + { + "Name" = "8:BannerText" + "DisplayName" = "8:#1014" + "Description" = "8:#1114" + "Type" = "3:3" + "ContextData" = "8:" + "Attributes" = "3:0" + "Setting" = "3:2" + "Value" = "8:Launch options" + "DefaultValue" = "8:#1214" + "UsePlugInResources" = "11:TRUE" + } + "BodyText" + { + "Name" = "8:BodyText" + "DisplayName" = "8:#1015" + "Description" = "8:#1115" + "Type" = "3:3" + "ContextData" = "8:" + "Attributes" = "3:0" + "Setting" = "3:2" + "Value" = "8:Select additional options" + "DefaultValue" = "8:#1215" + "UsePlugInResources" = "11:TRUE" + } + "Checkbox1Label" + { + "Name" = "8:Checkbox1Label" + "DisplayName" = "8:#1034" + "Description" = "8:#1134" + "Type" = "3:3" + "ContextData" = "8:" + "Attributes" = "3:0" + "Setting" = "3:2" + "Value" = "8:Launch Outlook Case Manager after installation" + "DefaultValue" = "8:#1234" + "UsePlugInResources" = "11:TRUE" + } + "Checkbox1Property" + { + "Name" = "8:Checkbox1Property" + "DisplayName" = "8:#1030" + "Description" = "8:#1130" + "Type" = "3:14" + "ContextData" = "8:Public" + "Attributes" = "3:2" + "Setting" = "3:2" + "Value" = "8:LAUNCH_APP" + "DefaultValue" = "8:CHECKBOXA1" + "UsePlugInResources" = "11:TRUE" + } + "Checkbox1Value" + { + "Name" = "8:Checkbox1Value" + "DisplayName" = "8:#1038" + "Description" = "8:#1138" + "Type" = "3:2" + "ContextData" = "8:Unchecked=;Checked=1" + "Attributes" = "3:0" + "Setting" = "3:2" + "Value" = "8:1" + "DefaultValue" = "8:" + "UsePlugInResources" = "11:TRUE" + } + "Checkbox1Visible" + { + "Name" = "8:Checkbox1Visible" + "DisplayName" = "8:#1026" + "Description" = "8:#1126" + "Type" = "3:5" + "ContextData" = "8:1;True=1;False=0" + "Attributes" = "3:0" + "Setting" = "3:0" + "Value" = "3:1" + "DefaultValue" = "3:1" + "UsePlugInResources" = "11:TRUE" + } + "Checkbox2Label" + { + "Name" = "8:Checkbox2Label" + "DisplayName" = "8:#1035" + "Description" = "8:#1135" + "Type" = "3:3" + "ContextData" = "8:" + "Attributes" = "3:0" + "Setting" = "3:1" + "Value" = "8:#1235" + "DefaultValue" = "8:#1235" + "UsePlugInResources" = "11:TRUE" + } + "Checkbox2Property" + { + "Name" = "8:Checkbox2Property" + "DisplayName" = "8:#1031" + "Description" = "8:#1131" + "Type" = "3:14" + "ContextData" = "8:Public" + "Attributes" = "3:2" + "Setting" = "3:2" + "Value" = "8:CHECKBOXA2" + "DefaultValue" = "8:CHECKBOXA2" + "UsePlugInResources" = "11:TRUE" + } + "Checkbox2Value" + { + "Name" = "8:Checkbox2Value" + "DisplayName" = "8:#1039" + "Description" = "8:#1139" + "Type" = "3:2" + "ContextData" = "8:Unchecked=;Checked=1" + "Attributes" = "3:0" + "Setting" = "3:2" + "Value" = "8:" + "DefaultValue" = "8:" + "UsePlugInResources" = "11:TRUE" + } + "Checkbox2Visible" + { + "Name" = "8:Checkbox2Visible" + "DisplayName" = "8:#1027" + "Description" = "8:#1127" + "Type" = "3:5" + "ContextData" = "8:1;True=1;False=0" + "Attributes" = "3:0" + "Setting" = "3:0" + "Value" = "3:0" + "DefaultValue" = "3:1" + "UsePlugInResources" = "11:TRUE" + } + "Checkbox3Label" + { + "Name" = "8:Checkbox3Label" + "DisplayName" = "8:#1036" + "Description" = "8:#1136" + "Type" = "3:3" + "ContextData" = "8:" + "Attributes" = "3:0" + "Setting" = "3:1" + "Value" = "8:#1236" + "DefaultValue" = "8:#1236" + "UsePlugInResources" = "11:TRUE" + } + "Checkbox3Property" + { + "Name" = "8:Checkbox3Property" + "DisplayName" = "8:#1032" + "Description" = "8:#1132" + "Type" = "3:14" + "ContextData" = "8:Public" + "Attributes" = "3:2" + "Setting" = "3:2" + "Value" = "8:CHECKBOXA3" + "DefaultValue" = "8:CHECKBOXA3" + "UsePlugInResources" = "11:TRUE" + } + "Checkbox3Value" + { + "Name" = "8:Checkbox3Value" + "DisplayName" = "8:#1040" + "Description" = "8:#1140" + "Type" = "3:2" + "ContextData" = "8:Unchecked=;Checked=1" + "Attributes" = "3:0" + "Setting" = "3:2" + "Value" = "8:" + "DefaultValue" = "8:" + "UsePlugInResources" = "11:TRUE" + } + "Checkbox3Visible" + { + "Name" = "8:Checkbox3Visible" + "DisplayName" = "8:#1028" + "Description" = "8:#1128" + "Type" = "3:5" + "ContextData" = "8:1;True=1;False=0" + "Attributes" = "3:0" + "Setting" = "3:0" + "Value" = "3:0" + "DefaultValue" = "3:1" + "UsePlugInResources" = "11:TRUE" + } + "Checkbox4Label" + { + "Name" = "8:Checkbox4Label" + "DisplayName" = "8:#1037" + "Description" = "8:#1137" + "Type" = "3:3" + "ContextData" = "8:" + "Attributes" = "3:0" + "Setting" = "3:1" + "Value" = "8:#1237" + "DefaultValue" = "8:#1237" + "UsePlugInResources" = "11:TRUE" + } + "Checkbox4Property" + { + "Name" = "8:Checkbox4Property" + "DisplayName" = "8:#1033" + "Description" = "8:#1133" + "Type" = "3:14" + "ContextData" = "8:Public" + "Attributes" = "3:2" + "Setting" = "3:2" + "Value" = "8:CHECKBOXA4" + "DefaultValue" = "8:CHECKBOXA4" + "UsePlugInResources" = "11:TRUE" + } + "Checkbox4Value" + { + "Name" = "8:Checkbox4Value" + "DisplayName" = "8:#1041" + "Description" = "8:#1141" + "Type" = "3:2" + "ContextData" = "8:Unchecked=;Checked=1" + "Attributes" = "3:0" + "Setting" = "3:2" + "Value" = "8:" + "DefaultValue" = "8:" + "UsePlugInResources" = "11:TRUE" + } + "Checkbox4Visible" + { + "Name" = "8:Checkbox4Visible" + "DisplayName" = "8:#1029" + "Description" = "8:#1129" + "Type" = "3:5" + "ContextData" = "8:1;True=1;False=0" + "Attributes" = "3:0" + "Setting" = "3:0" + "Value" = "3:0" + "DefaultValue" = "3:1" + "UsePlugInResources" = "11:TRUE" + } + } + } "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_8D58EEEC23E14DBC9F4D9DB32472B784" { "Sequence" = "3:300"