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

    Update Installation Files Within An Image

    Scheduled Pinned Locked Moved
    Feature Request
    5
    12
    2.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.
    • D
      dpotesta50
      last edited by

      New to FOG at a new job. Our company image has an installation folder which contains installation files for the apps we use in case we need to remote in and reload and of those applications. We’d like to update those installation files without having to recompile the entire image.
      Is that possible?

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

        I’m not sure I understand how your setup is, it sounds a bit unique.

        But If you deploy an image to a target hard drive, then move that hard drive and add it as a second hard drive on a functioning computer, you can add/remove files from that installation folder. Once you update the files, move that hard drive back to the target computer then recapture the image.

        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
        • S
          Sebastian Roth Moderator
          last edited by

          @dpotesta50 If I got this right you want to edit the image file on the FOG server without having to deploy and re-capture it to a client!?

          Find some information about this in the forums (probably there are more but that’s what I quickly found):
          https://forums.fogproject.org/topic/6685/mount-partition-image-and-edit-it
          https://forums.fogproject.org/topic/1545/edit-uploaded-image-after-upload

          AFAIK it’s easier to just do a deploy and re-upload but let us know if you find a handy way of doing this.

          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
          • Q
            Quazz Moderator
            last edited by Quazz

            Assuming this is a ‘universal’ folder (used on all devices), then you can simply overwrite those files in postdownloadscripts I suppose. If not, it gets a bit more complicated.

            I guess you might also be able to accomplish the same with FOG client (snapin).

            Of course, keep in mind, doing it either of these ways consumes more bandwidth as it essentially downloads similar information twice, rather than once.

            1 Reply Last reply Reply Quote 0
            • AvaryanA
              Avaryan
              last edited by Avaryan

              I use a PowerShell script launched from SetupComplete.ps1 to mount a network drive and then pull the relevant files. You could do something similar here. I’m assuming you’re doing this on a Windows PC.

              The SetupComplete.cmd and commands are here:
              https://forums.fogproject.org/topic/9859/post-deployment-driver-installation-using-powershell-scripts

              1 Reply Last reply Reply Quote 0
              • D
                dpotesta50
                last edited by

                Yeah let me be a bit clearer. Our base Windows 10 image has an installation folder in it that contains executables for the various apps we have loaded in Windows, in case we need to remote in to an employees machine and reload something. I need to update those executables and I’d prefer to do it without having to load the image, update the files then recompile the image. Can I simply OPEN the image file to update the files?

                Q george1421G 2 Replies Last reply Reply Quote 0
                • Q
                  Quazz Moderator @dpotesta50
                  last edited by

                  @dpotesta50 It’s honestly easier to use other methods, imo. Opening the image is not supported out of the box even if you could theoretically do it. And I can foresee issues with it if you are making large changes to resizable images as well.

                  D george1421G 2 Replies Last reply Reply Quote 0
                  • D
                    dpotesta50 @Quazz
                    last edited by

                    @quazz Well darn. Okay, what would be the “easier ways”?

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

                      @dpotesta50 IMO this is a bad way to manage this process altogether. You can leverage FOG snapins or even better PDQ Deploy to send images to remote computers. You don’t have to login to the remote computer at all.

                      With that said there are ways to connect to the captured image on the fog server, make changes to the disk image and then reseal it without ever transferring the image or needing to recompile 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!

                      D 1 Reply Last reply Reply Quote 0
                      • D
                        dpotesta50 @george1421
                        last edited by

                        @george1421 Yeah that’s exactly what I want to do. Just update a few files.

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

                          @quazz said in Update Installation Files Within An Image:

                          large changes to resizable images as well

                          This is a great point, if we just mount the image file and change it will it throw off the numbers collected for single disk resizable?

                          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
                          • george1421G
                            george1421 Moderator @dpotesta50
                            last edited by

                            @dpotesta50 Look back at Sebastian’s post. It contains links to information on how to do this.

                            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

                            234

                            Online

                            12.0k

                            Users

                            17.3k

                            Topics

                            155.2k

                            Posts
                            Copyright © 2012-2024 FOG Project