Skip to content

Unable to silently update without any pop-ups for version 5.6.0 #21394

Description

@Remus-Dragoony1

Is there an existing issue for this?

  • I checked and did not find my issue in the already reported ones

Describe the bug

A new version of Darktable (5.6.0) has been released, but the application is no longer updating successfully.
We attempted to uninstall the existing version before installing the new version silently.

Based on our testing in the NT AUTHORITY\SYSTEM context, which requires it to work this way for our system to install darktable correctly, the installer attempts to open a user manual at the end of the installation process. This action requires selecting a web browser, which cannot be completed in the SYSTEM context. So far, we have not found a way to bypass this step, even by modifying the installation arguments.

From what I was able to find, Darktable might be using the Nullsoft Scriptable Install System (NSIS) for its Windows packages, and they have a standard command in their scripts that opens the release notes or documentation webpage upon completion.
When you pass the standard silent flag (/S), it suppresses the UI windows but unfortunately doesn't always block the underlying script from executing that final ExecShell command to open the browser.

Is it possible to revert to how the installer functioned for versions up to 5.4.1 and lower?

Steps to reproduce

We attempted to uninstall the existing version before installation using:

"C:\Program Files\darktable\Uninstall.exe" /S (works fine)

and then install the new version with the following arguments:

/VERYSILENT /SUPPRESSMSGBOXES /NORESTART

Tested with /S arguments as well, without luck.

The user manual pop-up shows and needs to be opened in a browser, due to being silently in NT AUTHORITY\SYSTEM the installation hangs and doesn't finish, this issue wasn't seen in previous versions.

Expected behavior

Darktable should update without any pop-up, as it did in version 5.4.0 and 5.4.1.

Logfile | Screenshot | Screencast

No response

Commit

No response

Where did you obtain darktable from?

darktable.org / GitHub release

darktable version

5.6.0

What OS are you using?

Windows

What is the version of your OS?

Win 10 Pro - x64 - 22H2 (OS Build 19045.6466)

Describe your system

AMD Ryzen 7 3700X 8-Core Processor
6 GB RAM

Are you using OpenCL GPU in darktable?

None

If yes, what is the GPU card and driver?

No response

Please provide additional context if applicable. You can attach files too, but might need to rename to .txt or .zip

No to everything.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions