geezery Posted July 18, 2007 Author Posted July 18, 2007 It's easy to modify the Capture and Append Functions to also capture desired folder only. If you need help, please tell me. I have not thinked about including Mount / unmount, because I have no usage for those. If you need those I can make those:)
dancer58 Posted July 19, 2007 Posted July 19, 2007 Thanks for the replyI ran into another problem I have not found a fix. I cannot get it to work with BartPE. It doesn't see disk space and more.thanks
geezery Posted July 19, 2007 Author Posted July 19, 2007 It only currently works in WinPe 2.0 you can get it for free if you download Microsoft WAIK.
geezery Posted July 26, 2007 Author Posted July 26, 2007 Has someone tested the network drive mapping script?
chiners_68 Posted July 30, 2007 Posted July 30, 2007 (edited) Sorry to sound stupid but ineed some help getting this working...ive done as the first post but cannot get the GUI up.. what do you have to run to get this GUI up when booted into PE? I run imagex.hta but get access denied. All of the hta & other products mentioned are installed.This bit i dont get in the instructions on first posteConfiguration: The two most important settings to modify are under "Program Defaults" section.-cmdPartHd is the location of the diskpart.txt file.-myFilePath is the location of the *.wim files. The capture and append function also uses this path to store images. If you use the Capture and Append function set the write permission also to your image folder. Remember to put the "\" at the end of the path i.e I:\images\If you have any questions, wishes or bug reports post here or send e-mail: geezery(at)gmail.comprgram defaults, where.. what file?all help is apreciated.thanks Edited July 30, 2007 by chiners_68
geezery Posted July 30, 2007 Author Posted July 30, 2007 You have to edit the imagex.hta itself. You can open it with every txt editor i.e. notepad.There you can find the Program Defaults section.You also need to have Winpe-WMI-Package installed to get the Hard Disk information working. Can you tell me some specs about your test system? Virtual or Real machine. You also need more than 256mb of ram.
chiners_68 Posted July 30, 2007 Posted July 30, 2007 (edited) geezery, thanks for your help..If you could add this to the first post that would help others running this GUI for the first timeedit the imagex.htaIm running it on a real Dell GX520 with 1GB ram.I installed all these packages bar the one in red. using this guide http://www.msfn.org/board/index.php?act=at...st&id=18574a. Windows Recovery Environment componentpeimg /install=WinPE-SRT-Package c:\winpe_x86\mount\Windowsb. HTML application Supportpeimg /install=WinPE-HTA-Package c:\winpe_x86\mount\Windowsc. Microsoft Data Access Component supportpeimg /install=WinPE-MDAC-Package c:\winpe_x86\mount\Windowsd. Windows Script Host supportpeimg /install=WinPE-Scripting-Package c:\winpe_x86\mount\Windowse. Microsoft XML (MSXML) parser supportpeimg /install=WinPE-XML-Package c:\winpe_x86\mount\Windowsf. WMI (Windows Management Instrumentation)peimg /install=WinPE-WMI-Package c:\winpe_x86\mount\windows Edited July 30, 2007 by chiners_68
geezery Posted July 30, 2007 Author Posted July 30, 2007 (edited) Did you get it to work?I'll also edited the first post. The SRT package is not needed by this hta. Edited July 30, 2007 by geezery
chiners_68 Posted July 30, 2007 Posted July 30, 2007 no, still access denied when I run imageX.hta..could this be because its pointing to an images path of x:\windows\images or whatever the default is in the imagex.hta & its running from a CD & cannot write to it..?not sure where to go next. i would like to be able for it to automatically store the images on a Remote server.
geezery Posted July 30, 2007 Author Posted July 30, 2007 That shouln't be a problem, because winpe creates a ram drive in X:\ and it should be able to write the "temp" files there.If you press mouse right button on top of the script and press properties. Is there a button to "Allow" this Program to run?
thebearpoo Posted August 1, 2007 Posted August 1, 2007 Anybody get the /compress flag to work with this app? If I add the bold text command, it does not compress to the maximum compression rate. It just does a fast compression.ObjShell.Run "%comspec% /c imagex /compress max /capture "& strDrv &" " & SavePath & strWimFile & " " &chr(34) & strWimDesc &chr(34), 1, TrueIf I manually run the command "imagex /compress max /capture C: C:\test.wim "test image"", the maximum compression rate it applied.
chiners_68 Posted August 2, 2007 Posted August 2, 2007 Hi Guys im about to give up.. I cannot however many times I try get this to work.When I run imageX.hta from the cmd window in WINPE all i get is access denied.See if you can spot a mistake. this is the process im following to create the PE disk.1. To begin building a Windows PE CD type: copype.cmd x86 c:\winpe_x862.imagex /mountrw c:\winpe_x86\winpe.wim 1 c:\winpe_x86\mount3. To copy servicing tools into the mounted PE image, type:xcopy "C:\Program Files\Windows AIK\Tools\Servicing" c:\winpe_x86\mount\Windows /sxcopy "C:\Program Files\Windows AIK\Tools\x86" c:\winpe_x86\mount\Windows /s /Y4. HTML application Supportpeimg /install=WinPE-HTA-Package c:\winpe_x86\mount\WindowsMicrosoft Data Access Component supportpeimg /install=WinPE-MDAC-Package c:\winpe_x86\mount\WindowsWindows Script Host supportpeimg /install=WinPE-Scripting-Package c:\winpe_x86\mount\WindowsMicrosoft XML (MSXML) parser supportpeimg /install=WinPE-XML-Package c:\winpe_x86\mount\WindowsWMI (Windows Management Instrumentation)peimg /install=WinPE-WMI-Package c:\winpe_x86\mount\windows5. Prepare the Windows PE Image by typing, this removes unneeded items from the image:peimg /prep c:\winpe_x86\mount\Windows /f6. copy these all to \system32imagex.exe, wimflt.inf, wimfltr.sys, wimgapi.dlland of course the ImageX.hta, pe.jpg "Optional(Background Image)" ,htastyle.css, setres.exe, diskpart.txt(optional) and compiled browse.exe7. create exceptions file wimscript.ini & place in \system328. To commit the changes made to Windows PE, type:imagex /unmount c:\winpe_x86\mount /commit9. Copy the updated WIM to the ISO folder for creation:copy c:\winpe_x86\winpe.wim c:\winpe_x86\ISO\sources\boot.wim /Y10. Create your ISO image:oscdimg -n -bc:\winpe_x86\etfsboot.com c:\winpe_x86\ISO c:\winpe_x86\winpe_x86.iso11. Using your preferred CD creation software burn the disk image c:\winpe_x86\winpe_x86.iso toCD or CD-RW.when i run this it boots OK but when I run imageX.hta i get access denied. i can create a txt file in the X:\windows\system32 si i can write to the drive.
chiners_68 Posted August 2, 2007 Posted August 2, 2007 Yipppeeee i got it working......I stumbled across this ghost GUI thread & was reading this & it gave me the answers I was looking for http://www.msfn.org/board/index.php?showtopic=95507ive just been running imageX.hta from the cmd prompt.from the thread I found I needed to point to mshta.exe aswell as the hta file to get it to run.I've found that for some reason you always have to specify the full path of the file for mshta to execute properly. So even if you are in the folder where the .hta file is located, you still have to type the full path.X:\Windows\System32>mshta.exe X:\Windows\System32\wizard.hta
chiners_68 Posted August 2, 2007 Posted August 2, 2007 (edited) getting a scripting error on first running of the GUI.line : 440 character : 1Error : Cancelled by user(i havent cancelled anything)it lets me skip to carry on. Edited August 2, 2007 by chiners_68
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