Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

WinPE 2.0 GimageX COM based HTA

- - - - -

  • Please log in to reply
356 replies to this topic

#326
Tripredacus

Tripredacus

    K-Mart-ian Legend

  • Super Moderator
  • 9,670 posts
  • OS:Server 2012
  • Country: Country Flag

Donator

Geezery! I got another feature idea!

I do most of my image administration from within the PE and not the server. It would be handy if, in the main display of the images within the wim, that the image index number is also displayed. Currently, all images are arranged alphebetically by their image description. This means that the images are not in order based upon their index (the order they were captured/appended) value. It is easier to perform image maintenance with the image index, especially if there are long image descriptions. Also, if you have a lot of images, it would be easier to acquire the image index value, otherwise I have to use the following:

imagex /info z:\xp_intel.wim > c:\wim_info.xml

This has to be done because sometimes the XML information is more than be fit into the PE Command Prompt window.

:thumbup
MSFN RULES | GimageX HTA for PE 3.x | lol probloms
msfn2_zpsc37c7153.jpg


How to remove advertisement from MSFN

#327
geezery

geezery

    Member

  • Member
  • PipPip
  • 254 posts
Hello,

I removed the GImageX dll dependancy from the HTA, but I haven't tested it yet. I think it should work without it. It uses only imagex.exe for image handling now.

I also added the Index number to the description if that was your wish Tripredacus. Can you try the new HTA, you can download it from

geezery

Edited by geezery, 31 March 2009 - 04:00 AM.


#328
ducati31

ducati31
  • Member
  • 1 posts
hello all. im new to MSFN.

How do i get a copy of Geezery files? The link has been removed and there is nothing on the homepage?

Cheers

#329
Tripredacus

Tripredacus

    K-Mart-ian Legend

  • Super Moderator
  • 9,670 posts
  • OS:Server 2012
  • Country: Country Flag

Donator

The original author has abandoned this project, so I am taking over its sponsorship. I cannot take any requests for adding or updating new features to the software.

UPDATE
Working on v9.1 update.

Last available versions
Version 7.1 :: download
Version 9.0 :: download
Cleaned up Version 2.0 by Fredledingue :: download

Custom PE backgrounds
Embedded by Tripredacus :: download
Vista by Tripredacus :: download

Edited by Tripredacus, 30 September 2009 - 08:54 AM.

MSFN RULES | GimageX HTA for PE 3.x | lol probloms
msfn2_zpsc37c7153.jpg

#330
Turge

Turge

    Newbie

  • Member
  • 10 posts
After spending quite a few hours trying to get an HTA to receive the progress event from GimageX and display a progress bar, I can finally say that I achieved everything I was targetting. Since I still have to clean up the code before posting it, I'll just post a screenshot of my app for now to see what kind of interest it generates.

I should also point out that it currently works on Windows XP/Vista/7 and Windows PE 1.5/2.0/3.0 using all versions of GimageX.

So let me know what you think..

Attached Files

  • Attached File  HTA.jpg   56.43KB   268 downloads


#331
Tripredacus

Tripredacus

    K-Mart-ian Legend

  • Super Moderator
  • 9,670 posts
  • OS:Server 2012
  • Country: Country Flag

Donator

The reason behind the progress bar reported has been answered here:
http://www.autoitscr...h...=winpe&st=0

However, the Win PE 3.x series has fixed this issue, but I have not done any testing on that platform yet.

If you post your code, use the codebox tag.
MSFN RULES | GimageX HTA for PE 3.x | lol probloms
msfn2_zpsc37c7153.jpg

#332
Turge

Turge

    Newbie

  • Member
  • 10 posts
I looked at the thread and did not find a solution for receiving events via an HTA and updating a progress bar. Did I miss something?

#333
Tripredacus

Tripredacus

    K-Mart-ian Legend

  • Super Moderator
  • 9,670 posts
  • OS:Server 2012
  • Country: Country Flag

Donator

I get the callbacks while capturing, but for some reason the whole thing gets blocked when I apply the image. As soon as the image is completely applied I get the whole callbacks in one bunch. (not very useful I guess)

All I could gather from the MSDN forums was that it has something to do with MS enabling multithreading in the "apply" function. So the callbacks never reach my AutoIt instance.


and

They never call fflush() on the stream. The output builds up and is not flushed until the program closes. AutoIt shows you the output the instant it sees it, but during the entire run of the program, the ouput is buffered in imagex. By the way, you can confirm that it's not AutoIt's fault by using the command line and re-directing output to a file when using the /scroll argument. Even doing that will leave an empty file (IIRC, there is some output, but not the progress percentage). Then when the program is done, poof, magically all the data is there. Without using the /scroll argument, data is written directly to the screenbuffer and not to stdout."


On page 2, a poster confirms that the Windows 7 PE is able to report the progress.
MSFN RULES | GimageX HTA for PE 3.x | lol probloms
msfn2_zpsc37c7153.jpg

#334
Alenat

Alenat
  • Member
  • 3 posts
Hi guys,

I extracted zip file into system32 folder of my WinPe and started imagex.hta.
I tried both 7.1 and 9.0 versions and got the same error from HTA:

Object Required:'ObjWIM"

for version 7.1 in line 222
for 9.0 in line 205

Digging the thread I understood there is no DLL to register now.
If anybody already bumped to this?

Thanks!

#335
Tripredacus

Tripredacus

    K-Mart-ian Legend

  • Super Moderator
  • 9,670 posts
  • OS:Server 2012
  • Country: Country Flag

Donator

Hi guys,

I extracted zip file into system32 folder of my WinPe and started imagex.hta.
I tried both 7.1 and 9.0 versions and got the same error from HTA:

Object Required:'ObjWIM"

for version 7.1 in line 222
for 9.0 in line 205

Digging the thread I understood there is no DLL to register now.
If anybody already bumped to this?

Thanks!


You need to register the DLL in the 7.1 version. V9.0 and 9.1 never fully passed development stage and should be considered alpha or beta versions. I have never gotten 9.x to work properly and still use a 7.1. Make sure your PE is using the HTA, Scripting and XML packages at the minimum. Also this works with WinPE 2.x x86, I have not seen or tested it in WinPE 2.x x64, or either build of WinPE 3.0.
MSFN RULES | GimageX HTA for PE 3.x | lol probloms
msfn2_zpsc37c7153.jpg

#336
greenfrognet

greenfrognet
  • Member
  • 6 posts
Hi friends, may be i come a little late to this post but i still have the same problem with the error Object Required:'ObjWIM" for version 7.1 in line 222 i try to register the wimgapi.dll over my winpe but after the command regsvr32.exe wimgapi.dll i recive the following error :

"The Module e:\wimgapi.dll was loaded but the entry-post DllRegisterServer was no found."

"Make sure that wimgapi.dll is a valid dll or ocx file and try again"

What is my mistake?

thanks Guys

King Regards

#337
Tripredacus

Tripredacus

    K-Mart-ian Legend

  • Super Moderator
  • 9,670 posts
  • OS:Server 2012
  • Country: Country Flag

Donator

Hi friends, may be i come a little late to this post but i still have the same problem with the error Object Required:'ObjWIM" for version 7.1 in line 222 i try to register the wimgapi.dll over my winpe but after the command regsvr32.exe wimgapi.dll i recive the following error :

"The Module e:\wimgapi.dll was loaded but the entry-post DllRegisterServer was no found."

"Make sure that wimgapi.dll is a valid dll or ocx file and try again"

What is my mistake?

thanks Guys

King Regards


regsvr32 /s misc/gimagex_com.dll
MSFN RULES | GimageX HTA for PE 3.x | lol probloms
msfn2_zpsc37c7153.jpg

#338
greenfrognet

greenfrognet
  • Member
  • 6 posts
hoooo. fool of me, jejejejeje thanks :o :P :D

#339
greenfrognet

greenfrognet
  • Member
  • 6 posts
Hi Guys, good day, i have another question, i hope all off you culd help me,

everithing is ok but i canĀ“t see the description of the wim, i can chose a Wim but the hta dont display the list of the append image inside the wim. i got all packages of wimpe installed.

Some suggest

#340
Tripredacus

Tripredacus

    K-Mart-ian Legend

  • Super Moderator
  • 9,670 posts
  • OS:Server 2012
  • Country: Country Flag

Donator

What PE version do you have, and did you add the packages you need? Can you see the drives on the right side?

You need the following packages:
- HTA
- Scripting
- WMI
- XML
MSFN RULES | GimageX HTA for PE 3.x | lol probloms
msfn2_zpsc37c7153.jpg

#341
astrouga

astrouga
  • Member
  • 2 posts
I installed version 71 and the GUI seems to mostly function, but I am having trouble getting the window and image to fit the screen. It looks like several changes would be needed to get this to work -- at least altering the css and changing the background image size.

On another note, I found this HTA designed for Ghost project first and really liked that it loads a text file with the image details when you select an image radio button. Is this something that I can do with this HTA?

Thanks.

#342
Tripredacus

Tripredacus

    K-Mart-ian Legend

  • Super Moderator
  • 9,670 posts
  • OS:Server 2012
  • Country: Country Flag

Donator

You may need to play with the SETRES settings in the first part of the HTA to find a resolution that works best for you.
MSFN RULES | GimageX HTA for PE 3.x | lol probloms
msfn2_zpsc37c7153.jpg

#343
astrouga

astrouga
  • Member
  • 2 posts
I am testing this on Win PE 3.0 for Windows 7 imaging.

I got SETRES working. Now, when I have a file selected on my image server, it lists the file name in the pull down menu, then under "Select Image to Apply:" I see a single radio button with "9630" next to it. I couldn't determine what this was referring to from the code. Any ideas? I have attached a snap.

Also, any progress on v91?

Attached Files


Edited by astrouga, 13 November 2009 - 02:10 PM.


#344
Tripredacus

Tripredacus

    K-Mart-ian Legend

  • Super Moderator
  • 9,670 posts
  • OS:Server 2012
  • Country: Country Flag

Donator

I am testing this on Win PE 3.0 for Windows 7 imaging.

I got SETRES working. Now, when I have a file selected on my image server, it lists the file name in the pull down menu, then under "Select Image to Apply:" I see a single radio button with "9630" next to it. I couldn't determine what this was referring to from the code. Any ideas? I have attached a snap.

Also, any progress on v91?


I can tell by the screenshot that you are using Win PE 3.0.
:whistle:

To resolve your issue, you will need to use the code fix in this thread:
http://www.msfn.org/...64-t138048.html

As noted in the first post any further development is community based only. v9.1 only removed the DLL requirement, and added the image index to the WIM display list. There was supposed to be a way to browse for a diskpart file but that never happened.
MSFN RULES | GimageX HTA for PE 3.x | lol probloms
msfn2_zpsc37c7153.jpg

#345
vogtma

vogtma
  • Member
  • 2 posts
  • OS:XP Pro x86

Please make your response in the thread Geezery started.

I had this issue too a long time ago!
http://www.msfn.org/...post__p__748232

Add this line to your startnet.cmd before launching the HTA.
regsvr32 /s misc/gimagex_com.dll

See the sample startnet.cmd in this post:
http://www.msfn.org/...post__p__885859


Thanks, I did read that post... We added that line to the startnet.cmd. Still a problem.

Does the whole ImageX folder needed to be included in the boot image? Do I need to include ImageX.exe anywhere?

Thanks for the help.

#346
Tripredacus

Tripredacus

    K-Mart-ian Legend

  • Super Moderator
  • 9,670 posts
  • OS:Server 2012
  • Country: Country Flag

Donator

Oh right, as I said in PM (do not reply to the PM anymore)

Put the files from the V71 zip into Mount\Windows\System32. So misc will be in system32 also. Imagex.exe goes in System32 too. This isn't the only way to do it, you can put them anywhere as long as you path everything properly. I just find it easier to dump everything into System32 because that is the default location after WPEINIT runs.
MSFN RULES | GimageX HTA for PE 3.x | lol probloms
msfn2_zpsc37c7153.jpg

#347
vogtma

vogtma
  • Member
  • 2 posts
  • OS:XP Pro x86

Oh right, as I said in PM (do not reply to the PM anymore)

Put the files from the V71 zip into Mount\Windows\System32. So misc will be in system32 also. Imagex.exe goes in System32 too. This isn't the only way to do it, you can put them anywhere as long as you path everything properly. I just find it easier to dump everything into System32 because that is the default location after WPEINIT runs.


Thanks... If and when I get this working, do you know how people have gone about adding Ghost functionality to this HTA. I would like to be able to merge this with the HTA that I currently use for Ghost deployments.

Thanks again for the help.

#348
Tripredacus

Tripredacus

    K-Mart-ian Legend

  • Super Moderator
  • 9,670 posts
  • OS:Server 2012
  • Country: Country Flag

Donator

This HTA is designed for Imagex only. You will have to customize your own version if you want to add Ghost support.
MSFN RULES | GimageX HTA for PE 3.x | lol probloms
msfn2_zpsc37c7153.jpg

#349
kyascian

kyascian
  • Member
  • 6 posts
  • OS:Windows 7 x64
  • Country: Country Flag
Hy Guys!!!

Your project is very very very a good project!!!

I've find some problem with progress bar , i view a grey image
on the centerscrre but not the progressbar...

V.7.1 Winpe2.0 all package installed - Usb Boot

Have you some feedback for this problem ? :P

Thanks!!!

P.s. sorry form my bad english

#350
Tripredacus

Tripredacus

    K-Mart-ian Legend

  • Super Moderator
  • 9,670 posts
  • OS:Server 2012
  • Country: Country Flag

Donator

Progress bar info:
http://www.msfn.org/...post__p__858303
MSFN RULES | GimageX HTA for PE 3.x | lol probloms
msfn2_zpsc37c7153.jpg




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN