MSFN Forum: WinPE 2.0 GimageX COM based HTA - MSFN Forum

Jump to content


  • 18 Pages +
  • « First
  • 10
  • 11
  • 12
  • 13
  • 14
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

WinPE 2.0 GimageX COM based HTA Rate Topic: -----

#221 User is offline   geezery 

  • Member
  • PipPip
  • Group: Members
  • Posts: 254
  • Joined: 21-July 06

Posted 26 August 2007 - 02:51 AM

Ok, I can add that to the script, will be in the next version.


#222 User is offline   solutionone 

  • Newbie
  • Group: Members
  • Posts: 28
  • Joined: 29-May 07

Posted 26 August 2007 - 02:58 AM

You should receive some sort of Microsoft Nobel Prize for all your hard work,

I just came back from TechEd 2007 NZ a week ago, and I was telling one of the MS guys about this project and he was really buzzing.
I know there is the other imagex gui out there, but after looking into it, while it exposes all the imagex functionality, It doesn't stream it all into the ease of use that this solution provides.

#223 User is offline   powaking 

  • Newbie
  • Group: Members
  • Posts: 29
  • Joined: 26-May 04

Posted 27 August 2007 - 06:35 AM

View Postgeezery, on Aug 25 2007, 02:55 AM, said:

I think the USB boot is a lot quicker if the target computer supports high speed usb on the boot. But if it uses USB 1.1 then the CD-boot method is a lot quicker.


I've managed to get VistaPE booted via PXE using TFTP32 app. Much quicker than CD and no need to carry one around. Really comes down to if the nic supports pxe booting and it can be tricky to setup too. I haven't tried with just WinPE but don't see it being any different.

#224 User is offline   chiners_68 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 310
  • Joined: 02-March 05

Posted 28 August 2007 - 07:41 AM

Im willing to test the new developments.

#225 User is offline   geezery 

  • Member
  • PipPip
  • Group: Members
  • Posts: 254
  • Joined: 21-July 06

Posted 28 August 2007 - 09:26 AM

I have the diskpart Function now almost ready, there is still some fine tuning to make. The diskpart script looks really nice, since I tested it tomorrow. It was very hard to implement, since I had to rewrite my own dialog box for it.

It generates the diskpart script file automaticly from the input that user gives. There is some problems with multiple partitions since if you are running the script from the USB-drive or CD-Rom drive the script needs to change those volume drive letters to be able to make more than two partitions.

I still have to make the Mount / Unmount and some pre-testing also.

I think I'm going to add option to also allow Remote Desktop connections to the WinPe and so on..

This post has been edited by geezery: 28 August 2007 - 09:30 AM


#226 User is offline   geezery 

  • Member
  • PipPip
  • Group: Members
  • Posts: 254
  • Joined: 21-July 06

Posted 02 September 2007 - 11:54 PM

I posted the new v0.50 beta to testgroup members.

There is plenty of bugs, because the diskpart function is very hard to write for universal use, since everyone has different setups.

If you can post the bugs here, so I can fix them as soon as possible, so I can release the new version for public use.

Known Bugs:

-Leave current file system alone (The apply won't start after selecting that option)
-If you are making four partitions from custom partition selection it won't format the last partition. (I don't have a solution for that, maybe I have to stay on three partitions. The bugs comes because there will be conflict between drive letters, if I assign drive letter to the already existing drive letter.) If there is a diskpart gurus around, give me a hint how to resolve this issue.

This post has been edited by geezery: 02 September 2007 - 11:55 PM


#227 User is offline   powaking 

  • Newbie
  • Group: Members
  • Posts: 29
  • Joined: 26-May 04

Posted 03 September 2007 - 05:50 AM

View Postgeezery, on Aug 28 2007, 09:26 AM, said:

I think I'm going to add option to also allow Remote Desktop connections to the WinPe and so on..


I'll be VERY interested in this!!!

#228 User is offline   geezery 

  • Member
  • PipPip
  • Group: Members
  • Posts: 254
  • Joined: 21-July 06

Posted 04 September 2007 - 04:40 AM

Since I didn't got any replys from my "beta"- testers I putted the new v.0.70 open for public. I know there is some problems with the diskpart function, but if someone likes to test that new version it would be great. At the moment I only got the Custom diskpart settings to work correctly. They all work, but there is some problems when using the command line software imagex.exe and diskpart.exe together.

Always remember to make a partition size bigger or same size than in the image. I think I can write a error check for this, but I want to get that **** diskpart function fully working.

-Added diskparting options (there is some major bugs still to fix)
-Map Network drives dialog
-Mount / Unmount images (remember to always unmount the images also:)
-Possibility to add your own logo
-Shutdown button / function
-I also made some error checking (that needs to be improved, I need your opinions / feedback)
-Made a check to the capture function. Checks that the captured file exists after capture.

I added almost 500 lines code.

Please post the feedback here or directly to my mail address, which you can find from the first post.

You can find the download links also from the first post.

This post has been edited by geezery: 04 September 2007 - 05:16 AM


#229 User is offline   solutionone 

  • Newbie
  • Group: Members
  • Posts: 28
  • Joined: 29-May 07

Posted 06 September 2007 - 08:24 PM

Hi Geezery, sorry it has been so long since I last posted, I've been flat out at work.

I have tested beta 0.070 and picked up the following bugs/suggestions.

1. Map network drive.

once clicking the button from the main HTA, I receive the following IE Script Error:

Line 25, Char 1, Error: Object required: 'ObjFso', Code 0, URL: file://X:/Windows/System32/netmap.hta

carrying on from there, I get several other script errors, but I think they're all related to the first message.

2. Logical Disk Information.

This is more of a suggestion, I think it would be beneficial to have column titles on the disk information (e.g. Drive Letter, Label, Free Space, Total Space)

3. Default mount path

it would be good if the default path to the mount point was set as the image location when the HTA is started.

4. Completed capture.

it would be good that after the message telling you that the capture is a success that the next box that currently says "do you wish to reboot" - "ok" or "cancel" be changed to the OK button saying reboot, and the cancel button saying return to the hta to continue imaging or something.

5. Mount Image.

This is currently not working, it just flashes past a dos box. I think the wimfltr.inf actually needs to be installed, this could be done as the hta is being loaded, so people don't need to manually inject the drivers.

hope this helps, I haven't had a chance to test it further.

keep up the excellent work.

#230 User is offline   geezery 

  • Member
  • PipPip
  • Group: Members
  • Posts: 254
  • Joined: 21-July 06

Posted 07 September 2007 - 01:07 AM

Thank you for your reply.

1. This isn't a big problem
2. I thought those titles would be nice. I can add them.
3. I'm using network drives, so I think I'll stick with that C:\mnt as a default mount point.
4. I Will add that text
5. It worked fine for me. Actually I have never mounted image inside WinPE, since I think that it is impossible. I might be wrong.

This post has been edited by geezery: 07 September 2007 - 01:07 AM


#231 User is offline   `Felix` 

  • MSFN Contributor
  • PipPipPip
  • Group: Members
  • Posts: 481
  • Joined: 28-July 04

Posted 12 September 2007 - 07:50 AM

Hi all,

I have followed the instructions, however after trying both the stable and the beta versions i am still only getting the imagex.hta file loaded with a white screen and nothing more... Can someone please advise where i am going wrong?

Cheers,
Felix

#232 User is offline   geezery 

  • Member
  • PipPip
  • Group: Members
  • Posts: 254
  • Joined: 21-July 06

Posted 12 September 2007 - 08:36 AM

Tell me about your configuration how much memory etc.

#233 User is offline   `Felix` 

  • MSFN Contributor
  • PipPipPip
  • Group: Members
  • Posts: 481
  • Joined: 28-July 04

Posted 12 September 2007 - 05:50 PM

View Postgeezery, on Sep 12 2007, 10:36 PM, said:

Tell me about your configuration how much memory etc.


I am testing in VMWare the virtual machine configuration is as follows:

256mb memory
8gb hdd
cd-rom is using winpe_x86.iso
1 processor

I have tested other winpe based installations and shell's like VistaPE, NativePE and they work perfectly... I would prefer to use the simple imagex.hta concept as i can tailor this to meet my requirements.

Look forward to your reply.

Cheers,
Felix

PS have also just tested with with memory set to 1024mb and still the same problem. Please also find below my startnet.cmd configuration.
wpeinit
net use i: \\zathras\d$ /user:zathras\daz
mshta.exe c:\windows\system32\ImageX.hta

This post has been edited by `Felix`: 12 September 2007 - 05:56 PM


#234 User is offline   geezery 

  • Member
  • PipPip
  • Group: Members
  • Posts: 254
  • Joined: 21-July 06

Posted 12 September 2007 - 10:03 PM

Try to build your PE image again and install these components.


1.HTML application Support
peimg /install=WinPE-HTA-Package c:\winpe_x86\mount\Windows
2.Microsoft Data Access Component support
peimg /install=WinPE-MDAC-Package c:\winpe_x86\mount\Windows
3.Windows Script Host support
peimg /install=WinPE-Scripting-Package c:\winpe_x86\mount\Windows
4.Microsoft XML (MSXML) parser support
peimg /install=WinPE-XML-Package c:\winpe_x86\mount\Windows
5.WMI (Windows Management Instrumentation)
peimg /install=WinPE-WMI-Package c:\winpe_x86\mount\windows

I think you should use the 0.32 because there is some bugs in the beta version. I'm going to fix those soon, but you can easily update to newest version afterwards. Unzip all those files to the boot.wim \Windows\System32 folder.

Then open notepad and edit the MyFilePath variable in the beginning of the HTA to yours. i:\ or something.

User chiners 68 got this to work only by putting this line to startnet.cmd

X:\Windows\System32\mshta.exe X:\Windows\System32\imagex.hta


I would also like to hear some more feedback about the new beta version. I can see, that it has been downloaded over 200times, so there must be someone who have tested it.

This post has been edited by geezery: 12 September 2007 - 10:31 PM


#235 User is offline   geezery 

  • Member
  • PipPip
  • Group: Members
  • Posts: 254
  • Joined: 21-July 06

Posted 13 September 2007 - 01:04 AM

Ok, I'm doing the best I can to release a new version today, but I don't have a proper test environment here at home. Can someone download the new beta2 version and test the diskpart function. I need to know all the errors etc., so I can fix them. I also tested the mounting / unmounting and I had some problems with it. But the problems went a way when I manually installed the wimgapi.inf. I need to know how I can install that one inside the script, so everyone can use it. I think if we can get that inf installed inside WinPe the mounting will also work from there.

You can find the download link from the first page.

PLEASE I NEED FEEDBACK URGENTLY TO BE ABLE TO FIX ALL THE PROBLEMS INSIDE THE SCRIPT

This post has been edited by geezery: 13 September 2007 - 01:05 AM


#236 User is offline   solutionone 

  • Newbie
  • Group: Members
  • Posts: 28
  • Joined: 29-May 07

Posted 13 September 2007 - 03:49 AM

Hi Geezery, I just finished work for the day so I can't test the new beta right now, but I will download it and test it tomorrow and get back to you.

regards

#237 User is offline   geezery 

  • Member
  • PipPip
  • Group: Members
  • Posts: 254
  • Joined: 21-July 06

Posted 13 September 2007 - 03:53 AM

The quicker I get feedback the quicker I can fix errors.

#238 User is offline   `Felix` 

  • MSFN Contributor
  • PipPipPip
  • Group: Members
  • Posts: 481
  • Joined: 28-July 04

Posted 13 September 2007 - 07:15 AM

View Postgeezery, on Sep 13 2007, 12:03 PM, said:

Try to build your PE image again and install these components.


1.HTML application Support
peimg /install=WinPE-HTA-Package c:\winpe_x86\mount\Windows
2.Microsoft Data Access Component support
peimg /install=WinPE-MDAC-Package c:\winpe_x86\mount\Windows
3.Windows Script Host support
peimg /install=WinPE-Scripting-Package c:\winpe_x86\mount\Windows
4.Microsoft XML (MSXML) parser support
peimg /install=WinPE-XML-Package c:\winpe_x86\mount\Windows
5.WMI (Windows Management Instrumentation)
peimg /install=WinPE-WMI-Package c:\winpe_x86\mount\windows

I think you should use the 0.32 because there is some bugs in the beta version. I'm going to fix those soon, but you can easily update to newest version afterwards. Unzip all those files to the boot.wim \Windows\System32 folder.

Then open notepad and edit the MyFilePath variable in the beginning of the HTA to yours. i:\ or something.

User chiners 68 got this to work only by putting this line to startnet.cmd

X:\Windows\System32\mshta.exe X:\Windows\System32\imagex.hta


I would also like to hear some more feedback about the new beta version. I can see, that it has been downloaded over 200times, so there must be someone who have tested it.


Hi there - got it all working now - thanks very much for your help and advise :hello:

#239 User is offline   `Felix` 

  • MSFN Contributor
  • PipPipPip
  • Group: Members
  • Posts: 481
  • Joined: 28-July 04

Posted 13 September 2007 - 08:08 AM

Have done some testing with beta 2 v70 am getting errors reported:

Line 40
Character 1
error invalid syntax
code 0

also another error

Line 476
Character 1
error invalid syntax
code 0

Also the browse dialogue box is opening and then hiding itself behind the imagex.hta window.

Hope this information helps.

#240 User is offline   FredBeagle 

  • Newbie
  • Group: Members
  • Posts: 11
  • Joined: 23-February 05

Posted 14 September 2007 - 06:43 PM

I have only found one problem
When Mounting an image the second radio button does not work I get "You must select image first!"

Share this topic:


  • 18 Pages +
  • « First
  • 10
  • 11
  • 12
  • 13
  • 14
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy