Skip to content

rubrapack 0.37.0

Choose a tag to compare

@rubidus-api rubidus-api released this 06 Oct 13:58

A look before the installation goes on: which programs use the product's files, and whether it can be done safely.

Added

  • The preflight. Before an installation, an upgrade or a removal changes anything, the package looks which programs use the product's files - its own programs that are running, and other programs that have one of its DLLs loaded - shows how many and their names, and asks whether to close them all. Yes asks their windows to close and ends what is left a few seconds later; No goes on without closing (the files are replaced anyway; those programs keep the old ones until they are reopened); Cancel stops with nothing changed.
  • For an installation or an upgrade it also checks that each existing package folder is one the installer may delete in, and that the older version still has its cached package. If not, the message says what is wrong and to remove the product first, and nothing is installed.
  • [package] close-programs = "ask" | "always" | "never" sets the answer for a package; preflight = false leaves the step out. For an input method or a shell extension use "never": nearly every open program has its DLL loaded, and the files are replaced safely without closing anything.

Changed

  • A silent run (/qn) now stops with an error (1603) when programs use the product's files, naming them in the log. Say what to do on the command line - msiexec /i app.msi /qn RPCLOSE=yes closes them all and goes on, RPCLOSE=no goes on without closing (what /qn did before) - or set close-programs in the package.

Checked on Windows 11: a silent upgrade stopping with the program named and the old version untouched; RPCLOSE=no and RPCLOSE=yes; the product's own program; removal; a missing cached package refused before anything changes; the question box and Yes with a window.

Manual

  • Web: https://rubidus-api.github.io/rubrapack/ - Reference, "Before it goes on: the preflight"; tutorial chapter 12; formats, "Files in use".
  • PDF: rubrapack-manual-0.37.0-en.pdf, rubrapack-manual-0.37.0-ko.pdf (attached)

Downloads

File For
rubrapack-0.37.0-windows-x64.exe Windows x64, tested on Windows 11 (single file, cross-built with MinGW-w64)
rubrapack-0.37.0-linux-x86_64 Linux x86-64, glibc 2.38 or later (Debian 13, Ubuntu 24.04 and later)
SHA256SUMS checksums of the files above