geezery Posted May 31, 2007 Author Posted May 31, 2007 I think I found an error in the script.On ParseFile SubChange this linestrIndx(i) = Left(tmpStr1, Len(tmpStr1) -2)To thisstrIndx(i) = Left(tmpStr1, Len(tmpStr1) -3)Can you test it?
ccb458 Posted May 31, 2007 Posted May 31, 2007 geezery,I changed I changed that line, but it seems the same, i.e. after diskpart, the process finished without applying the image..
p4ntb0y Posted May 31, 2007 Posted May 31, 2007 Geezery,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.
p4ntb0y Posted May 31, 2007 Posted May 31, 2007 geezery,just testing your script out it would be really really handy to have a browse dropdown list for the capture and append buttons.
geezery Posted May 31, 2007 Author Posted May 31, 2007 (edited) geezery,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? Edited May 31, 2007 by geezery
thebearpoo Posted May 31, 2007 Posted May 31, 2007 geezer - I get the same result in ver 2.1, after diskpart completes nothing happens. If I substitute this code(which is posted on page 2) the apply button works perfectly.'****************************************************************************'* showRadioInfo'* display details of radio button selection in details divider'****************************************************************************Sub showRadioInfoDim objTextFile, Radio, strRadioValue, strDetails, objSel1, strFileSet objSel1 = window.document.getElementById("select1")strFile = myFilePath + objSel1.options(objSel1.selectedindex).textdetails.style.visibility = "visible"start.style.visibility = "visible"For Each Radio in Document.getElementsByName("radioList")If Radio.Checked = True ThenstrTaskValue = "imagex /apply " + strFile + " " + Radio.Id + " c:" End IfNextDetails.innerHTML = "<BR><table id='detailsTable'><tr><td>" & strDetails & "</td></tr></table><BR>"End Subccb458 - How did you call your Reboot option using a cmd.bat file to restart your computer after imagex runs?
pretender69 Posted May 31, 2007 Posted May 31, 2007 have same problem, apply isn't working.have tried what thebearpoo suggested but still doesn't work for me either.
jstchil Posted May 31, 2007 Posted May 31, 2007 I tried to add a line to my startnet.cmd to get this imagex.hta to load on startup but i get an access denied error. Is auto loading this hta not posible?
geezery Posted May 31, 2007 Author Posted May 31, 2007 Sorry dudes, I cant help you today, because I can't make any tests. jstchill ->Did you tried it on real environment or Virtual? I got also those errors when I tried on MS VirtualPC and Innotek Virtualbox.
pretender69 Posted May 31, 2007 Posted May 31, 2007 (edited) oops edited Edited May 31, 2007 by pretender69
jstchil Posted May 31, 2007 Posted May 31, 2007 I am building a bootable USB key. so its a real enviroment. I think i figured it out it works on a machine with 512 MB Ram but not on a 256MB ram machine.
ccb458 Posted June 1, 2007 Posted June 1, 2007 (edited) Jstchil,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:" Edited June 1, 2007 by ccb458
geezery Posted June 1, 2007 Author Posted June 1, 2007 I try to fix all the errors today. Problem is that I don't have any test environment since I haven't been able to test in virtual environment. I have to try raising the virtual memory. I also havent got network working properly in virtual environment.
frankenstein897 Posted June 1, 2007 Posted June 1, 2007 Yeah, I tried making that change and it still just performs the diskpart then does not proceed with the apply of the image.
frankenstein897 Posted June 1, 2007 Posted June 1, 2007 OK, I think the problem is around line 143. I am working on it now to see if I can get it fixed.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now