Update Installation Files Within An Image
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?
@dpotesta50 Look back at Sebastian’s post. It contains links to information on how to do this.
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?
@george1421 Yeah that’s exactly what I want to do. Just update a few files.
@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.
@quazz Well darn. Okay, what would be the “easier ways”?
@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.
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?
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:
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.
@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):
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.
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.