Author Topic: VBScript/WIM problem: Updating a WinPE flash drive  (Read 1014 times)

Anyone here familiar with VBScript? WIM files?
I've got a program I've made that runs in WinPE for work and I want to be able to push updates to the flash drives it's stored on so I'm not repeatedly having to copy over a new boot.wim to all 20 of them every time I make a change.
Right now it's downloading the updated software files from the server every time it boots up through an updater (everything in the software is made with VBScript wrapped in .HTAs), since changes made to x:\ don't stay after reboot.
I need to figure out a way to inject the new files into the boot.wim file and then reload it, depending on files that aren't even on the flash drive seems dodgy to me.
Anyone have any ideas?


I ended up hosting the updated boot.wim on our domain along with a version.txt that gets compared to the one located on the flash drive.
The a .bat is run when the updater is opened that finds the volume number of the flash drive and assigns it to a variable, which is saved to a .txt file.
The text file is then referenced for the drive path for the update.
The new boot file is loaded and the computer is restarted.

I doubt any of you care though. Locked.
« Last Edit: September 18, 2013, 04:22:22 PM by VerticalHorizon »