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

    Snapin with dependencies to be installed once

    Scheduled Pinned Locked Moved
    Windows Problems
    2
    2
    316
    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.
    • A
      Arowana
      last edited by Arowana

      Hi,

      I have a Windows 10 snapin pack that might require some dependencies to be installed. We are using metered connection so we want to reduce the snapin size as much as possible.

      If data usage wouldn’t matter, I could have the dependencies included into the Snapin pack, everytime. But the following approach is prefered:

      Snapin install script check dependencies, if a dependency is missing, it downloads it and installs it.

      My question is what approach should I take to store and download those dependencies. Should they be on the FOG FTP?

      Then that would require the install script to have a notion of the FTP credentials, is that not a problem since the client already has access to the FTP?

      I will greatly appreciate some feedback, I don’t want to do something wrong.

      Note: I cannot risk to install those dependencies with a specific snapin pack update as this update is not guaranteed to be rolled out to all platforms before the next snapin comes in.

      Additional questions: If i go for this solution, is there a way to communicate FTP address and credentials to the script through some FOG variables?

      george1421G 1 Reply Last reply Reply Quote 0
      • george1421G
        george1421 Moderator @Arowana
        last edited by

        @arowana Does your remote site have a server where you can preposition these dependencies files? Remember for windows the script or installer runs as a windows user. The fog client runs these snapins as SYSTEM which has admin rights on the local computer where the snapin is being installed. Your install script can map a drive to a windows file share and copy the files over smb to the target computer. That would be the easiest. If the files were stored at the remote site then it would not impact your metered connection rates. If you used a powershell script to install your application you can use a function similar to curl or wget to download the file from the internet using scripting. You might be able to use FTP too, but I have never tried. You don’t need to specifically download from the FOG server, but you can. If you wanted to download from the FOG server, I would setup a new user on the FOG server that has very limited rights, maybe to read only from the source directory and that is all. I would not use the FOG ftp user because that has more authority than what is needed here.

        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!

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

        166

        Online

        12.0k

        Users

        17.3k

        Topics

        155.2k

        Posts
        Copyright © 2012-2024 FOG Project