geezery, on May 25 2007, 10:41 AM, said:
I think I'm going to add support for multiple *.wim files in the hard coded folder. Maybe it can be dynamic also. I have to change the code a lot.
If someone has example for me to get the imagex /info wimfile.wim output to variable I could make that easily.
There is a nice component available, but it is not free. ****
http://www.smartdepl...ducts/index.htm
Use stdout.readall to get any commandline output into a variable. You need to use the .exec method, however in order to get this.
***edit*** - - - OH crap, I didn't see the follow up pages to this post! Sorry about that...
I also created an HTA for ImageX, and then I stumbled onto this page

- see the screenshots... Maybe we could combine our efforts? I've attached the HTA as a ZIP to this post. Also, there is a good example of how to utilize the browse for folder dialog in the HTA (very nice to have). You just need to supply comdlg32.ocx and imagex.exe to make the HTA work.
Update 10/16/07:
I've worked out some kinks with some logic, and have a .02a release for anyone who wants to try it. Now it will pull the Image info when using the 'apply' or 'append' functions. I'm working on 'delete' next.
Note that this one does not require an XML package to be installed in order for it to work - - this was to make things a bit more simple with regards to what you need in order to make this HTA to work. I know it is a cheeky solution, but it does work

. Essentially, the HTA uses only filesystem objects, and nothing more (no WMI, either).
This post has been edited by qc_metal: 17 October 2007 - 08:10 AM