Update Installation Files Within An Image
-
@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-uploadAFAIK it’s easier to just do a deploy and re-upload but let us know if you find a handy way of doing this.
-
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.
-
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 -
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?
-
@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.
-
@quazz Well darn. Okay, what would be the “easier ways”?
-
@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.
-
@george1421 Yeah that’s exactly what I want to do. Just update a few files.
-
@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?
-
@dpotesta50 Look back at Sebastian’s post. It contains links to information on how to do this.