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

    Snapin isseus ...

    Scheduled Pinned Locked Moved Solved
    General
    6
    22
    10.3k
    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.
    • robzaR
      robza
      last edited by

      Hello,
      my config:
      fedora 22 64bit
      fog Version: 6120
      I have problems with installing snapins.
      I have created snapin for msi package:
      0_1453893005344_fog1.png
      Task is finished with windows error 1603 (net helpmsg 1603 “Fatal error during installation”)
      But when I run this task
      0_1453893384416_fog2.png
      from cmd with elevated priviliges (Run cmd as administrator) task is done with success.
      Client runs win7 pro.
      FOGService in services.msc in column “Log ON as” is local system.
      My question:
      why I can’t use fog service to install msi package.
      Regards

      Tom ElliottT 1 Reply Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott @robza
        last edited by

        @robza Is this with ALL msi’s or just this particular MSI? What’s the error code being returned when it attempts to install?

        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.

        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

        robzaR 1 Reply Last reply Reply Quote 0
        • robzaR
          robza @Tom Elliott
          last edited by robza

          @Tom-Elliott other msi’s works fine. I just installed 7-zip msi package and Return code was 0.
          Error code for this particular is 1603

          Tom ElliottT 1 Reply Last reply Reply Quote 0
          • Tom ElliottT
            Tom Elliott @robza
            last edited by

            @robza That I’d say is then the snapin itself. You created the MSI? See I see the same type of problem with Java, but that’s just java’s own msi files being problematic. You may have better luck, with this particular msi, using an Active directory GPO.

            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.

            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

            robzaR 1 Reply Last reply Reply Quote 0
            • robzaR
              robza @Tom Elliott
              last edited by

              @Tom-Elliott this msi package is provided by Kaspersky Lab. GPO not available.
              Hmm I’m going to contact with Kaspersky support.
              Any other ideas?
              Regards

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

                Change Snapin Run With Args to

                /quiet /i
                

                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.

                robzaR 1 Reply Last reply Reply Quote 1
                • robzaR
                  robza @Joe Schmitt
                  last edited by

                  @Jbob 0_1453904200712_fog.png
                  still the same error 1603

                  I 2 Replies Last reply Reply Quote 0
                  • I
                    ITSolutions Testers @robza
                    last edited by ITSolutions

                    @robza Have you tried removing the “/qn” from the msi as the /quiet should be the same thing and /quiet is the normal msi style?

                    Also can you install the file using that command manually on the machine?

                    1 Reply Last reply Reply Quote 0
                    • I
                      ITSolutions Testers @robza
                      last edited by

                      @robza In your original screenshot I just noticed that the MSI file has spaces in it, can you remove the spaces? This would cause msiexec to error finding the file. 1603 is a common catch all error on MSI files, so this could be the issue also.

                      robzaR 1 Reply Last reply Reply Quote 1
                      • robzaR
                        robza @ITSolutions
                        last edited by

                        @ITSolutions from cmd with elevated priviliges (Run cmd as administrator) task is done with success.
                        Spaces in msi package are removed
                        0_1453962544513_fog.png
                        and /quiet command used but still got 1603 error.
                        Regards

                        ThiagoT 1 Reply Last reply Reply Quote 0
                        • ThiagoT
                          Thiago @robza
                          last edited by

                          @robza
                          Try put \ before server ip in SSInstall settings… \172…

                          robzaR ThiagoT 2 Replies Last reply Reply Quote 0
                          • robzaR
                            robza @Thiago
                            last edited by

                            @Thiago still the same 1603 error after your advice:
                            0_1453974571532_fog.png
                            Regards

                            1 Reply Last reply Reply Quote 0
                            • ThiagoT
                              Thiago @Thiago
                              last edited by Thiago

                              @Thiago said:
                              Try put \\ before server ip in SSInstall settings… \172…
                              sorry for the typo… the forum “eat” other \ 😄

                              robzaR 1 Reply Last reply Reply Quote 0
                              • robzaR
                                robza @Thiago
                                last edited by

                                @Thiago no change, still 1603 error occured.

                                ThiagoT 1 Reply Last reply Reply Quote 0
                                • ThiagoT
                                  Thiago @robza
                                  last edited by

                                  @robza
                                  Try to use log verbosity option of msi. Maybe something appears in log file.

                                  C:\Windows\System32\msiexec.exe /i Kaspersky_Network_Agent.msi /l*v C:\msi.log SSINSTALL="172..." /qn
                                  
                                  robzaR 1 Reply Last reply Reply Quote 0
                                  • robzaR
                                    robza @Thiago
                                    last edited by

                                    @Thiago below log
                                    0_1453980384596_ccc.txt
                                    This script works fine when I start cmd as administrator (cmd with elevated priviliges).
                                    Kaspersky service answered that is connected with UAC (User Account Control) or “operating system permissions” - what ever thats mean.
                                    Regards

                                    ThiagoT 1 Reply Last reply Reply Quote 0
                                    • ThiagoT
                                      Thiago @robza
                                      last edited by

                                      @robza
                                      if i could see properly, the error begins here:

                                      MSI (s) (7C:E0) [12:20:19:742]: Invoking remote custom action. DLL: C:\Windows\Installer\MSI756D.tmp, Entrypoint: CheckRequirements
                                      Pocz\Ufffffffftek akcji 12:20:19: CheckRequirements.
                                      CustomAction CheckRequirements returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
                                      

                                      Sorry, but i can’t help with this specifically.
                                      Do you have this agent in a exe version? Exe has hability for silent install too.
                                      Last time that this occurred to me, i removed the options for silent install and send snapin task to host, at the computer client i saw that it asked for elevated privileges (that was my issue).

                                      robzaR 1 Reply Last reply Reply Quote 0
                                      • robzaR
                                        robza @Thiago
                                        last edited by

                                        @Thiago no difference after removing /qn - 1603 error generated in fog log.
                                        I have folder with few files and there is setup.exe, but after starting there is installation wizard, where is necessary to define few variables. If installing msi there is xml file used.
                                        Tomorrow I’ll try with exe.
                                        Regards

                                        1 Reply Last reply Reply Quote 0
                                        • robzaR
                                          robza
                                          last edited by

                                          I have found solution but in my opinion is half-hearted success. After disabling UAC scripts installed with code 0.
                                          Regards

                                          1 Reply Last reply Reply Quote 1
                                          • Jaymes DriverJ
                                            Jaymes Driver Developer
                                            last edited by

                                            Why not code in a script to disable the UAC (or disable it by default in the image) and use a script to re-enable after your snap in is complete.

                                            This way, yes it’s still half hearted, but it seems the issue is on the windows side of things rather than FOG, but you won’t be leaving your systems UAC disabled.

                                            WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

                                            robzaR 1 Reply Last reply Reply Quote 2
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post

                                            155

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project