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

Cannot deploy "Authy" as a Snapin

Scheduled Pinned Locked Moved Unsolved
FOG Problems
3
4
507
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.
  • D
    DeRo93
    last edited by Sebastian Roth Jul 5, 2019, 4:48 AM Jul 5, 2019, 9:47 AM

    Hello Guys,

    i need to add the Program “Authy” as a Snapin.

    i created a Batchfile which looks like:

    "\\xxx.local\fileserver\software\Authy\Install.exe" /s
    

    The Batch File is uploaded to Fog as a Snapin with the following Options:

    Snapin Run With: cmd.exe
    Snapin Run With Argument: /c
    Snapin Enabled: Check
    Snapin Timeout: 0 Seconds
    Replicate? Check
    Snapin Command: cmd.exe /c Install.bat

    Even if the Snapin gives me the respond that it was installed successfully the program is not installed on the computer.
    If i start the .bat manually it will install the program without problems.

    Do you guys have some advices for me ?

    Thank you in advance 🙂

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Jul 5, 2019, 10:51 AM

      @DeRo93 Where did you find out about the /s command line switch. I just did a quick search but couldn’t find anything. You might be able to add more command line switches to enable install logging or something like that.

      If i start the .bat manually it will install the program without problems.

      Does it run totally silent without user interaction if you manually run it? Snapins only work if it’s a silent install.

      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 0
      • G
        george1421 Moderator
        last edited by george1421 Jul 5, 2019, 4:57 AM Jul 5, 2019, 10:56 AM

        You have to remember that the FOG Client runs as SYSTEM, and SYSTEM has full authority on the LOCAL COMPUTER. SYSTEM does not have access or authority to any external resources. If you want the batch file to work that way you will need to map a drive (using a proper domain account) within the batch file to the remote share and then run the installer from that mapped drive. The alternative method is to deploy the Authy package as an executable if everything is in a compressed executable or use a snapin package (zip file) to include all of your files to be copied to the target computer.

        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!

        D 1 Reply Last reply Jul 5, 2019, 12:10 PM Reply Quote 1
        • D
          DeRo93 @george1421
          last edited by Jul 5, 2019, 12:10 PM

          @george1421 yes after i tried so much things i remembered that fog runs the batch as SYSTEM. So i think that will be the problem because the Installer copies Files into the Users Folder. I will try your another suggestion with the mapped drive.

          @Sebastian-Roth I tried to get a silent command for the installer and tried the standard lines like /verysilent , /silent , /s, /quiet , /q. And yeah it actually worked only with /s 😄

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

          185

          Online

          12.1k

          Users

          17.3k

          Topics

          155.3k

          Posts
          Copyright © 2012-2024 FOG Project