VeraCrypt
VeraCrypt copied to clipboard
/norestart MSI installer flag exits with wrong error code
When installing using the flag "/norestart" and are upgrading from a previous version the installer fails with exit code 6010 since a reboot is needed to finish installation, however, the error code should be 3010. This causes Winget to be unable to install silently since it expects the error code 3010 to be returned if a reboot is needed.
Expected behavior
Installer succeeds and exits with code 3010 ("The requested operation is successful. Changes will not be effective until the system is rebooted.")
Observed behavior
Installer exits with error code 6010
Steps to reproduce
- Run
msiexec /package '<VeraCrypt Installer MSI>' /passive /norestart ACCEPTLICENSE=YES /log <path to log file>
- View log and see error message.
Your Environment
VeraCrypt version: 1.26.7
Operating system and version: Windows 11 Pro build 22621
System type: 64 bit