diff --git a/SPTInstaller/Helpers/ProcessHelper.cs b/SPTInstaller/Helpers/ProcessHelper.cs
index 9d8618e..c2ee41a 100644
--- a/SPTInstaller/Helpers/ProcessHelper.cs
+++ b/SPTInstaller/Helpers/ProcessHelper.cs
@@ -103,7 +103,14 @@ public static class ProcessHelper
}
};
- proc.Start();
+ try
+ {
+ proc.Start();
+ }
+ catch (Exception ex)
+ {
+ return ReadProcessResult.FromError(ex.Message);
+ }
proc.BeginOutputReadLine();
proc.BeginErrorReadLine();
diff --git a/SPTInstaller/Installer Tasks/PreChecks/NetCore6PreCheck.cs b/SPTInstaller/Installer Tasks/PreChecks/NetCore6PreCheck.cs
index b9da03c..07d8719 100644
--- a/SPTInstaller/Installer Tasks/PreChecks/NetCore6PreCheck.cs
+++ b/SPTInstaller/Installer Tasks/PreChecks/NetCore6PreCheck.cs
@@ -37,7 +37,7 @@ public class NetCore6PreCheck : PreCheckBase
if (!result.Succeeded)
{
- return PreCheckResult.FromError(result.Message);
+ return PreCheckResult.FromError(result.Message + "\n\nYou most likely don't have .net 6 installed", failedButtonText, failedButtonAction);
}
output = result.StdOut.Split("\r\n");
diff --git a/SPTInstaller/SPTInstaller.csproj b/SPTInstaller/SPTInstaller.csproj
index 4e57f50..4e6fe0c 100644
--- a/SPTInstaller/SPTInstaller.csproj
+++ b/SPTInstaller/SPTInstaller.csproj
@@ -9,8 +9,8 @@
icon.ico
Assets\icon.ico
Debug;Release;TEST
- 2.26
- 2.26
+ 2.27
+ 2.27
SPT-AKI