diff --git a/build/windows/installer/base_gimp3264.iss b/build/windows/installer/base_gimp3264.iss index 0caf75cd38..b373d9b88f 100644 --- a/build/windows/installer/base_gimp3264.iss +++ b/build/windows/installer/base_gimp3264.iss @@ -643,7 +643,7 @@ begin StrToVersion('{#FULL_GIMP_VERSION}', Installer_AppVersionInt); - if (isInstalled = 'Installed') and (not DirExists(InstallLocation)) then begin + if (isInstalled = 'Installed') and not DirExists(ExtractFilePath(RemoveBackslashUnlessRoot(InstallLocation))) then begin InstallType := 'itRepair'; end else if isInstalled = 'notInstalled' then begin InstallType := 'itInstall';