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

    Unsolved .EXE snapin won't move on after completion

    FOG Problems
    3
    9
    641
    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.
    • K
      kafluke last edited by

      I have a simple snapin that I’m trying to deploy. It’s the Spark install file. It’s an exe file that I run with the argument “-q” for quiet install. When I run this on my PC for testing it works without a hitch. When I run it with a snapin it also installs correctly but the Snapin stays on “In-Progress” and doesn’t move on to the next snapin to be deployed. I noticed that the install file stays in the C:\Programs Files (x86)\FOG\temp\ directory and never gets deleted like my other snapins after its done. Why is this not working? I have other .exe’s the deploy just fine. Here is the section from the fog.log after trying to deploy.

      ------------------------------------------------------------------------------
       1/16/2018 11:01 AM Client-Info Client Version: 0.11.12
       1/16/2018 11:01 AM Client-Info Client OS:      Windows
       1/16/2018 11:01 AM Client-Info Server Version: 1.4.4
       1/16/2018 11:01 AM Middleware::Response Success
       1/16/2018 11:01 AM SnapinClient Running snapin Spark 2.8.3
       1/16/2018 11:01 AM Middleware::Communication Download: http://192.168.2.6/fog/service/snapins.file.php?mac=D4:81:D7:69:C1:6E|D4:81:D7:0F:ED:3E|00:28:F8:23:28:97|00:09:0F:FE:00:01|00:28:F8:23:28:9A|00:28:F8:23:28:96||00:00:00:00:00:00:00:E0&taskid=412
       1/16/2018 11:01 AM SnapinClient C:\Program Files (x86)\FOG\tmp\spark_2_8_3.exe
       1/16/2018 11:01 AM Bus Emmiting message on channel: Notification
       1/16/2018 11:01 AM SnapinClient Starting snapin
       1/16/2018 11:02 AM SnapinClient Snapin finished
       1/16/2018 11:02 AM SnapinClient Return Code: 0
       1/16/2018 11:02 AM Bus Emmiting message on channel: Notification
       1/16/2018 11:02 AM Service ERROR: Unable to run module
       1/16/2018 11:02 AM Service ERROR: Access to the path 'C:\Program Files (x86)\FOG\tmp\spark_2_8_3.exe' is denied.
      
      1 Reply Last reply Reply Quote 0
      • Wayne Workman
        Wayne Workman @kafluke last edited by

        @kafluke Do you have any antivirus running? If so, disable or uninstall it on a test box, and try again.

        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
        • K
          kafluke last edited by

          @Wayne-Workman @Joe-Schmitt any other thoughts on this?

          Wayne Workman 1 Reply Last reply Reply Quote 0
          • K
            kafluke @Wayne Workman last edited by

            0_1516714359121_perm1.png
            0_1516714366943_perm2.png

            1 Reply Last reply Reply Quote 0
            • J
              Joe Schmitt Senior Developer last edited by Joe Schmitt

              @Wayne-Workman that error is the final fail safe to ensure a malfunctioning module can’t bring down the service by accident. @kafluke can you do what @Wayne-Workman asked in regards to getting the file permissions?

              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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

              1 Reply Last reply Reply Quote 0
              • Wayne Workman
                Wayne Workman @kafluke last edited by

                @kafluke said in .EXE snapin won’t move on after completion:

                Why would it be asking me for admin permissions to delete this file manually?

                Right click the file, go to properties. Explore, what is different about it’s permissions that would prevent the SYSTEM user from deleting the file? SYSTEM is the name of the account that the FOG Client runs under.

                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/

                K 1 Reply Last reply Reply Quote 0
                • K
                  kafluke @Wayne Workman last edited by

                  @wayne-workman Yeah that’s the weird thing. It doesn’t clean up after a successful install. I have other .exe snapins that appear in that same folder long enough to install and then they correctly disappear and on the webgui the snapins move to the next one. Why would it be asking me for admin permissions to delete this file manually?

                  Wayne Workman 1 Reply Last reply Reply Quote 0
                  • Wayne Workman
                    Wayne Workman last edited by

                    @kafluke Both of these things in your log are problems:

                    1/16/2018 11:02 AM Service ERROR: Unable to run module
                    1/16/2018 11:02 AM Service ERROR: Access to the path 'C:\Program Files (x86)\FOG\tmp\spark_2_8_3.exe' is denied.
                    

                    For some reason, it can’t cleanup I think. @Joe-Schmitt can you give input on this one please? The “Unable to run module” is a new one on me.

                    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/

                    K 1 Reply Last reply Reply Quote 0
                    • K
                      kafluke last edited by

                      I also noticed that when I go into the C:\Programs Files (x86)\FOG\temp\ folder and manually delete the .exe file it asks for admin elevation to do so.

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

                      102
                      Online

                      10.4k
                      Users

                      16.4k
                      Topics

                      150.5k
                      Posts

                      Copyright © 2012-2023 FOG Project