#457 Can the installer attempt to kill greenshot?

Pending
closed
Robin Krom
Installer (11)
rejected
5
2014-04-18
2012-08-27
Justin Dearing
No

The install detects the presence of greenshot. Why can't it also attempt to kill it? It should do so automatically on an unscripted silent install or uninstall.

Discussion

  • Jens Klingen
    Jens Klingen
    2012-08-27

    Hi Justin,

    As our installer expert is currently not available, I'd like to postpone the actual answer until he can write it ;-)

    I'd guess it has something to do with permissions and the installing user not neccessarily being the same as the one who has started the instance of Greenshot before. After all, I see a lot on installers prompting me to shut down previous installations manually.

    But I am sure that Robin will have some more reliable information to offer for both of us :)

    Thanks and best regards,
    Jens :)

     
  • Jens Klingen
    Jens Klingen
    2012-08-27

    • assigned_to: nobody --> apex75
     
  • Justin Dearing
    Justin Dearing
    2012-08-27

    Keep me posted and let me know if you need assistance. I've never written an Inno Setup installer, but I've dont MSIs and Nullsoft Installers, so I've dealt with these issues.

     
  • Jens Klingen
    Jens Klingen
    2012-09-09

    Hi Justin,

    We just talked about this. It's like I suspected: there's no reliable way of killing a running Greenshot instance, since it could have been started by another user.
    Furthermore, we'd need to reference another DLL, which would make our installer file bigger, for an action that could (or maybe even should?) be explicitely invoked by the user himself (or the person setting up the silent installation).

    If you are convinced that it is neccessary for the installer to do the killing, please let us know why.

    Thanks and best regards,
    Jens

     
  • Jens Klingen
    Jens Klingen
    2012-09-11

    • status: open --> pending
     
  • Jens Klingen
    Jens Klingen
    2012-09-11

    (setting this to "pending" for now")

     
  • Jens Klingen
    Jens Klingen
    2013-10-30

    • status: pending --> closed
    • Resolution: --> rejected
    • Milestone: --> Pending
     
  • Jens Klingen
    Jens Klingen
    2013-10-30

    Hi Justin,

    I assume we can close this. After all it is just fair to let the user decide whether or not to destroy his current Greenshot session...

    Thanks and best regards,
    Jens