@ApiStatus.Internal
  public static void installAfterRestartAndKeepIfNecessary(@NotNull IdeaPluginDescriptor newDescriptor,
                                                           @NotNull Path newPluginPath,
                                                           @Nullable Path oldPluginPath) throws IOException {
    installAfterRestart(newDescriptor,
                        newPluginPath,
                        oldPluginPath,
                        !keepArchive());
  }
@ApiStatus.Internal
  public static void installAfterRestartAndKeepIfNecessary(@NotNull IdeaPluginDescriptor newDescriptor,
                                                           @NotNull Path newPluginPath,
                                                           @Nullable Path oldPluginPath)