Windows installer aborts if the installer executable is renamed to Cryptomator.exe
Summary
The Windows EXE installer detects itself as a running Cryptomator instance and aborts the installation if the installer executable is renamed to Cryptomator.exe.
Please agree to the following
- I have searched existing issues for duplicates
- I agree to follow this project's Code of Conduct
What software is involved?
- Operating System: Windows x64, build 26200
- Cryptomator: 1.19.3
- Installer: Windows EXE installer
- Installation state: Fresh installation; Cryptomator had never been installed on this system before
Steps to Reproduce
- Start with a Windows system that does not have Cryptomator installed.
- Download the Windows EXE installer.
- Rename the installer executable to
Cryptomator.exe. - Run the installer.
- Proceed with the installation.
Expected Behavior
The bootstrapper/installer process itself should not be considered a running instance of the installed Cryptomator application.
The running-application check should distinguish the actual installed application from the installer process rather than relying only on the executable name.
Actual Behavior
The installation aborts with 0x80070643 because the installer detects a running Cryptomator instance.
Simply renaming the installer to something else, for example Cryptomator-1.19.3-x64.exe, and running it again makes the installation succeed.
Reproducibility
Always
Relevant Log Output
A running instance of Cryptomator is found, using files marked for update. Please close it to continue.
PROPERTY CHANGE: Adding FOUNDRUNNINGAPP property. Its value is '1'.
Product: Cryptomator -- Installation aborted, because files marked for update are used by a running instance of Cryptomator.
Action ended: FailOnRunningApp. Return value 3.
Action ended: INSTALL. Return value 3.Anything else?
The installer file itself was the only Cryptomator.exe process involved. This occurred on a fresh installation where Cryptomator had never previously been installed.
Source: cryptomator/cryptomator