Rubberduck icon indicating copy to clipboard operation
Rubberduck copied to clipboard

Silent install producing popup prompts upon upgrade

Open DanGough opened this issue 8 months ago • 0 comments

Rubberduck version information

The info below can be copy-paste-completed from the first lines of Rubberduck's log or the About box:

Rubberduck version [2.5.9.6316]
Operating System: [Windows 11 24H2]
Host Product: [...]
Host Version: [...]
Host Executable: [...]

Description

When upgrading Rubberduck, I get this popup:

There seems to be a previous version of Rubberduck, installed in All Users mode, and it should be uninstalled. Proceed?

However when using the typical silent switches for InnoSetup, all prompts like this should be suppressed:

/SP- /VERYSILENT /SUPPRESSMSGBOXES /NORESTART

IT admins would therefore have to write a script to remove previous versions before installing if they wanted a smooth silent upgrade process.

To Reproduce Steps to reproduce the behavior:

  1. Install an older version with admin rights so that it installs for all users
  2. Upgrade to 2.5.9.6316

Expected behavior Combining /SP- /VERYSILENT /SUPPRESSMSGBOXES should result in no prompts.

DanGough avatar Feb 25 '25 15:02 DanGough