Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/CLOSEAPPLICATIONS and /FORCECLOSEAPPLICATIONS both produce an interactive prompt on a /VERYSILENT install #516

Open
middletonk opened this issue Sep 7, 2023 · 1 comment

Comments

@middletonk
Copy link

middletonk commented Sep 7, 2023

Describe the bug
After interrogating Greenshot-INSTALLER-1.3.270-UNSTABLE.exe for command-line installation parameters using /?. no combination of /VERYSILENT /CLOSEAPPLICATIONS or /VERYSILENT /FORCECLOSEAPPLICATIONS would result in GreenShot being forcibly closed so that an unattended install would commence. Instead, the user receives an interactive prompt to confirm closure. If deployed as SYSTEM using a deployment tool such as Microsoft SCCM/MECM, Intune, or Ivanti EPM, this would run as SYSTEM and produce a hang owing to the popup, which would be hidden from users due to Windows session isolation.

To Reproduce

  1. Perform a capture and ensure a GreenShot edit window is open, not just the systray icon.
  2. Attempt a command-line install the CMD prompt and parameters /VERYSILENT /CLOSEAPPLICATIONS or /VERYSILENT /FORCECLOSEAPPLICATIONS.
  3. Observe that in both cases the installer will visibly prompt the user to close GreenShot despite the silent parameter in use, rather than silently and forcibly close Greenshot.

Expected behavior
These install parameters should work as advertised or should be removed from the parameter list when /? is used.

Versions (please complete the following information):

  • Running Greenshot-RELEASE-1.2.10.6
  • Attempting to deploy upgrade to 1.3.270-UNSTABLE due to CVE-2023-34634.
@middletonk middletonk changed the title /CLOSEAPPLICATIONS and /FORCECLOSEAPPLICATIONS both produce an interactive prompt on install /CLOSEAPPLICATIONS and /FORCECLOSEAPPLICATIONS both produce an interactive prompt on a /VERYSILENT install Sep 7, 2023
@mooms06
Copy link

mooms06 commented Sep 18, 2023

Why aren't you trying with the latest, 1.3.277 ?

Workaround: run this command before running the installer:
taskkill /f /im Greenshot.exe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants