diff --git a/Bloxstrap/Installer.cs b/Bloxstrap/Installer.cs index ca1fa04..4eaeacf 100644 --- a/Bloxstrap/Installer.cs +++ b/Bloxstrap/Installer.cs @@ -124,6 +124,10 @@ namespace Bloxstrap if (String.Compare(Directory.GetParent(InstallLocation)?.FullName, Paths.UserProfile, StringComparison.InvariantCultureIgnoreCase) == 0) return false; + // prevent from installing into the program files folder + if (InstallLocation.Contains("Program Files")) + return false; + return true; }