fix error messages
This commit is contained in:
parent
36ee8182f9
commit
469f74ee6c
@ -38,7 +38,7 @@ public class InitializationTask : InstallerTaskBase
|
|||||||
if (File.Exists(Path.Join(_data.TargetInstallPath, "EscapeFromTarkov.exe")))
|
if (File.Exists(Path.Join(_data.TargetInstallPath, "EscapeFromTarkov.exe")))
|
||||||
{
|
{
|
||||||
return Result.FromError(
|
return Result.FromError(
|
||||||
"Installer is located in a folder that has existing game files. Please make sure the installer is in an empty folder as per the guide");
|
"Install location is a folder that has existing game files. Please make the folder doesn't contain an existing spt install");
|
||||||
}
|
}
|
||||||
|
|
||||||
return Result.FromSuccess($"Current Game Version: {_data.OriginalGameVersion}");
|
return Result.FromSuccess($"Current Game Version: {_data.OriginalGameVersion}");
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
<PackageIcon>icon.ico</PackageIcon>
|
<PackageIcon>icon.ico</PackageIcon>
|
||||||
<ApplicationIcon>Assets\spt_installer.ico</ApplicationIcon>
|
<ApplicationIcon>Assets\spt_installer.ico</ApplicationIcon>
|
||||||
<Configurations>Debug;Release;TEST</Configurations>
|
<Configurations>Debug;Release;TEST</Configurations>
|
||||||
<AssemblyVersion>2.80</AssemblyVersion>
|
<AssemblyVersion>2.81</AssemblyVersion>
|
||||||
<FileVersion>2.80</FileVersion>
|
<FileVersion>2.81</FileVersion>
|
||||||
<Company>SPT</Company>
|
<Company>SPT</Company>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
@ -162,7 +162,7 @@ public class PreChecksViewModel : ViewModelBase
|
|||||||
|
|
||||||
NavigateTo(new MessageViewModel(HostScreen,
|
NavigateTo(new MessageViewModel(HostScreen,
|
||||||
Result.FromError(
|
Result.FromError(
|
||||||
"You have placed the installer in the same folder as EFT. Please move the installer to a seperate folder. Refer to the install guide on where best to place the installer before running it."),
|
"You have chosen to install in the same folder as EFT. Please choose a another folder. Refer to the install guide on where best to place the installer before running it."),
|
||||||
noLog: true));
|
noLog: true));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -199,7 +199,7 @@ public class PreChecksViewModel : ViewModelBase
|
|||||||
Log.Error("Problem path detected, install denied");
|
Log.Error("Problem path detected, install denied");
|
||||||
NavigateTo(new MessageViewModel(HostScreen,
|
NavigateTo(new MessageViewModel(HostScreen,
|
||||||
Result.FromError(
|
Result.FromError(
|
||||||
$"We suspect you may be installing into a problematic folder: {failedCheck.Target}.\nWe won't be letting you install here. Please move the installer to another folder.\nSuggestion: a folder under your drive root, such as 'C:\\spt\\'\nDenied Path: {InstallPath}")));
|
$"We suspect you may be installing into a problematic folder: {failedCheck.Target}.\nWe won't be letting you install here. How did you do this?")));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user