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

    Using snapins to place 2 files on a folder

    Scheduled Pinned Locked Moved
    General Problems
    4
    5
    1.4k
    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.
    • T
      tesparza
      last edited by

      Hey guys is there a way to use snapins to place 2 files in a specific windows folder?
      I was thinking maybe using a batch file but I’m not sure where to start, what would you guys do?

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

        @tesparza snapins are just a way of executing a file. I’d recommend developing the script locally, and then deploying it as a snapin once it works.

        In your case, a batch or powershell script would work great. If you need to deploy the two files with the snapin (e.g. the files arent already on the computers), then a SnapinPack would work great. Using a SnapinPack would let you bundle all the files you need together, so your script has the files-to-copy right next to it.

        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 1
        • Wayne WorkmanW
          Wayne Workman
          last edited by

          Documentation for SnapinPacks: https://wiki.fogproject.org/wiki/index.php?title=SnapinPacks

          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
          • x23piracyX
            x23piracy
            last edited by x23piracy

            Hi,

            place the files you want to copy in a share that the client can access at the moment when you execute your copy script.
            You can also create self extracting package with the files aboard.

            FYI, if you like two place font into the fonts folder you have to register that fonts, simply copy them will not work (search for fontreg.exe)

            Regards X23

            ║▌║█║▌│║▌║▌█

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

              @x23piracy file shares can be difficult with the client, because of SYSTEM privileges, and self extracting files have their own limitations. SnapinPacks were created to address this exact scenario due to a lack of a good alternative.

              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
              • 1 / 1
              • First post
                Last post

              159

              Online

              12.0k

              Users

              17.3k

              Topics

              155.2k

              Posts
              Copyright © 2012-2024 FOG Project