Merge pull request 'remove net6 pre-check' (#75) from waffle.lord/SPT-AKI-Installer:rm/net6-check into master

Reviewed-on: CWX/SPT-AKI-Installer#75
This commit is contained in:
IsWaffle 2024-04-23 14:49:46 +00:00
commit 958eb295fb
4 changed files with 14 additions and 14 deletions

View File

@ -1,20 +1,20 @@
# SPT-AKI Installer made for EFT. # SPT-AKI Installer made for EFT.
![Installer Image](https://media.discordapp.net/attachments/875707258074447904/1107352250705268807/image.png?width=1148&height=671) <img src="https://i.imgur.com/jtlwLsr.png" alt="spt installer 2.59" width="700"/>
### Pre install checks: ### Pre install checks:
- Checks if .net 4.7.2 (or higher) is installed - Checks if .net 4.7.2 (or higher) is installed
- Checks if .net 6 desktop runtime is installed - Checks if .net 8 runtime is installed
- Checks if EFT is installed, - Checks if EFT is installed
- Checks if there is enough space before install, - Checks if there is enough space before install
- Checks installer is not in OG game directory, - Checks installer is not in a problematic path
- Checks install folder does not have game files already in it, - Checks install folder does not have game files already in it
- Checks if gameversion matches aki version, if so skip patcher process, - Checks if gameversion matches aki version, if so skip patcher process
- Checks both zips are there, other than when the above match, patcher isnt checked for - Checks both zips are there, other than when the above match, patcher isnt checked for
- downloads both Zips from the Repo's if needed - downloads both Zips from the Repo's if needed
### Installer Processes: ### Installer Processes:
- Copies files from registry logged GamePath to new location, - Copies files from registry logged GamePath to new location
- Extracts, runs and deletes patcher with no user input, - Extracts, runs and deletes patcher with no user input
- Extracts Aki, - Extracts Aki
- Deletes both Patcher and AKI zips at the end. - Deletes both Patcher and AKI zips at the end

View File

@ -7,6 +7,7 @@ using SPTInstaller.Helpers;
namespace SPTInstaller.Installer_Tasks.PreChecks; namespace SPTInstaller.Installer_Tasks.PreChecks;
[Obsolete("No longer needed, but keeping around for now just in case. Can be removed from code after 7/1/2024 if no issues are found")]
public class NetCore6PreCheck : PreCheckBase public class NetCore6PreCheck : PreCheckBase
{ {
public NetCore6PreCheck() : base(".Net Core 6 Desktop Runtime", true) public NetCore6PreCheck() : base(".Net Core 6 Desktop Runtime", true)

View File

@ -45,7 +45,6 @@ internal class Program
#if !TEST #if !TEST
ServiceHelper.Register<PreCheckBase, NetFramework472PreCheck>(); ServiceHelper.Register<PreCheckBase, NetFramework472PreCheck>();
ServiceHelper.Register<PreCheckBase, NetCore6PreCheck>();
ServiceHelper.Register<PreCheckBase, Net8PreCheck>(); ServiceHelper.Register<PreCheckBase, Net8PreCheck>();
ServiceHelper.Register<PreCheckBase, FreeSpacePreCheck>(); ServiceHelper.Register<PreCheckBase, FreeSpacePreCheck>();
ServiceHelper.Register<PreCheckBase, EftLauncherPreCheck>(); ServiceHelper.Register<PreCheckBase, EftLauncherPreCheck>();

View File

@ -9,8 +9,8 @@
<PackageIcon>icon.ico</PackageIcon> <PackageIcon>icon.ico</PackageIcon>
<ApplicationIcon>Assets\icon.ico</ApplicationIcon> <ApplicationIcon>Assets\icon.ico</ApplicationIcon>
<Configurations>Debug;Release;TEST</Configurations> <Configurations>Debug;Release;TEST</Configurations>
<AssemblyVersion>2.58</AssemblyVersion> <AssemblyVersion>2.59</AssemblyVersion>
<FileVersion>2.58</FileVersion> <FileVersion>2.59</FileVersion>
<Company>SPT-AKI</Company> <Company>SPT-AKI</Company>
</PropertyGroup> </PropertyGroup>