• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Are "Smart" Snapins possible (e.g. only install if target application isn't running)?

    Scheduled Pinned Locked Moved
    General
    3
    3
    378
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      numericOverflow
      last edited by

      I’m just starting to use FOG, and am wondering if the snapins handle collisions when the target application is already running?

      Lets say I’m trying to install Keepass password manager, but I know that the application is very likely running on the end-user’s PC. Obviously data loss is very bad with some applications, so I don’t want to blindly kill/update the application with a snapin. Instead, I want to update, only if the application isn’t running, or whenever the app closes and it’s safe to install.

      Is there a way to make the snapin smart enough to gracefully update the target application, if it’s actively running on the host?

      Wayne WorkmanW 1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by

        @numericOverflow Maybe just use “smart” powershell scripting to do just that. So far this is not implemented in the snapin code and I don’t think we could make this bullet proof anyway.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        1 Reply Last reply Reply Quote 1
        • Wayne WorkmanW
          Wayne Workman @numericOverflow
          last edited by

          @numericOverflow You should research/test what happens if you run the update while the application is installed or not, running or not. Maybe it’s fine.

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
          Daily Clean Installation Results:
          https://fogtesting.fogproject.us/
          FOG Reporting:
          https://fog-external-reporting-results.fogproject.us/

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post

          155

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project