I'm running SCCM 2012 R2 and have an existing 64-bit boot image that I'm using for Windows 7. I'd like to add a script to my Boot Image Wim files so that I can run a script directly from the boot image in WinPE.
I found a guide showing how to take the Wim, mount it, add the files, unmount it, and the import it back into SCCM which I'm sure would work. Guide I was using: https://sccmdiet.wordpress.com/2014/03/17/227/
My question is can I do this on a boot image already added to SCCM 2012 R2? When I go to look at the boot wim, I see two files: 1) The boot wim itself, and another boot wim with the boot wim name plus it's package name from SCCM.
These are obviously both for the same boot image, and it appears the original boot.wim never gets updated when I add drivers, etc, to it from the SCCM console but the one with the package name does.
So I want to continue using the existing boot image in SCCM and add the script files to the boot image without having to re-import it to SCCM. I assume I'll need to update one of the boot wim files and then redistribute the content but I'm not sure which one I need to update or if I need to update both, or maybe this can't be done without re-importing? If it can't be done without reimporting is there a way to get the driver list from the existing boot image to know exactly which inf file it's using?