WinPE 2.0 GimageX COM based HTA
#41
Posted 30 May 2007 - 03:04 PM
Autoit Script GUI for Imagex
this works ok but I like your one more as I can actually follow it at least.
#42
Posted 30 May 2007 - 04:29 PM
I was wondering if there is anyway you can modify the HTA so when started it pops up a window asking for the location of the wim files instead of hard coding it in the hta.
at the moment I use a external usb hard drives to store my wim files, and its letter changes alot depending on partitions/optical drives etc. on each PC so being able to pick the wim source when starting the hta would be a huge improvement .
Also may I suggest that when a capture is to be ran, a simple chkdsk /f should be run precedding the capture as imagex is prone to failing a capture halfway through if there are errors on the drive.
once again thanks for all your great work, and let me know if you need any testing done, as I have a pretty good lab at our workshop.
#43
Posted 30 May 2007 - 08:39 PM
Thanks for your new version v21. I tried it out, but for unknown reasons, the process still stops after DISKPART.. I am still using your v2 files, and adding the Reboot option by calling a .cmd batch file.
thx..
This post has been edited by ccb458: 30 May 2007 - 09:07 PM
#44
Posted 30 May 2007 - 10:47 PM
Quote
The v2 is very buggy, you should download the new version asap.
Quote
I can add the popup to ask for the location of the wim files in the next release. I'm mainly using new computers for this and I haven't get the apply failure yet. Maybe I can add that feature when I also got some failures:)
Testing is very important and I hope that if someone find bugs, please notify me. I don't have much time for testing in real environment.
Quote
Actually I tried that Autoit script some while ago, but it was so buggy and I didn't like the design at all.
If someone want's to help me with this project. I have one request. Nice background would be great, since I don't have any skills to make a nice one by my self. Of course it should be freely distributed so any commercial material is not allowed.
This post has been edited by geezery: 30 May 2007 - 10:48 PM
#45
Posted 31 May 2007 - 12:12 AM
I already did download your new version (v.2.1), but don't know why it stops after diskpart. That's the reason I go back to v.2. What happened on my environment is after diskpart windows disappeared, nothing else happened.
thx
#46
Posted 31 May 2007 - 01:07 AM
On ParseFile Sub
Change this line
strIndx(i) = Left(tmpStr1, Len(tmpStr1) -2)
To this
strIndx(i) = Left(tmpStr1, Len(tmpStr1) -3)
Can you test it?
#47
Posted 31 May 2007 - 04:09 AM
I changed I changed that line, but it seems the same, i.e. after diskpart, the process finished without applying the image..
#48
Posted 31 May 2007 - 04:09 AM
for the background how about the vista one with an option of adding your own company logo (like oem.bmp) then anyone can add their own in you could even add a support button with info and docs.
#49
Posted 31 May 2007 - 04:23 AM
just testing your script out it would be really really handy to have a browse dropdown list for the capture and append buttons.
#50
Posted 31 May 2007 - 05:07 AM
ccb458, on May 31 2007, 01:09 PM, said:
I changed I changed that line, but it seems the same, i.e. after diskpart, the process finished without applying the image..
Can someone else test the apply, because I don't have test environment here at work?
p4antb0y ->
Like I said the picture should be non commercial freely distributed. I think that vista background can't be freely added to this package.
I didn't undestand that dropdown system. Can you describe it better?
This post has been edited by geezery: 31 May 2007 - 05:08 AM
#51
Posted 31 May 2007 - 07:17 AM
'****************************************************************************
'* showRadioInfo
'* display details of radio button selection in details divider
'****************************************************************************
Sub showRadioInfo
Dim objTextFile, Radio, strRadioValue, strDetails, objSel1, strFile
Set objSel1 = window.document.getElementById("select1")
strFile = myFilePath + objSel1.options(objSel1.selectedindex).text
details.style.visibility = "visible"
start.style.visibility = "visible"
For Each Radio in Document.getElementsByName("radioList")
If Radio.Checked = True Then
strTaskValue = "imagex /apply " + strFile + " " + Radio.Id + " c:"
End If
Next
Details.innerHTML = "<BR><table id='detailsTable'><tr><td>" & strDetails & "</td></tr></table><BR>"
End Sub
ccb458 - How did you call your Reboot option using a cmd.bat file to restart your computer after imagex runs?
#52
Posted 31 May 2007 - 09:47 AM
have tried what thebearpoo suggested but still doesn't work for me either.
#53
Posted 31 May 2007 - 12:01 PM
#54
Posted 31 May 2007 - 12:45 PM
jstchill ->
Did you tried it on real environment or Virtual? I got also those errors when I tried on MS VirtualPC and Innotek Virtualbox.
#55
Posted 31 May 2007 - 01:56 PM
edited
This post has been edited by pretender69: 31 May 2007 - 01:58 PM
#56
Posted 31 May 2007 - 03:57 PM
#57
Posted 31 May 2007 - 07:14 PM
Your problem maybe due to the limitation of the memory environment required by winpe. Maybe with 256mb ram, something can't be loaded. Have to check Microsoft's website.
Geezery,
Take a break today. I don't know how many thanks I should tell you as I am trying your hta file out in my company environment. We need to deploy images out and we used to use OSD for this, but now we want to fit everything into a USB or DVD disc. We havn't finished the script yet.. (as I am not a scripting guy), but you sure have helped us a lot.
Look forward to see what you could find out about the bug. Maybe you could tell me what lines I should add to add to your hta file to show the value of "STRTASKVALUE" in a pop-up window. Then we could troubleshot faster..
thx
strTaskValue = "imagex /apply "+objSel2.options(objSel2.selectedindex).text+" " + Radio.Id + " c:"
This post has been edited by ccb458: 31 May 2007 - 07:23 PM
#58
Posted 31 May 2007 - 11:00 PM
#59
Posted 01 June 2007 - 11:28 AM
#60
Posted 01 June 2007 - 11:45 AM



Help


Back to top








