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

Jump to content


  • 18 Pages +
  • « First
  • 16
  • 17
  • 18
  • You cannot start a new topic
  • You cannot reply to this topic

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

#341 User is offline   astrouga 

  • Group: Members
  • Posts: 2
  • Joined: 14-August 09

Posted 12 November 2009 - 01:32 PM

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 User is offline   Tripredacus 

  • K-Mart-ian Legend
  • Group: Super Moderator
  • Posts: 8,670
  • Joined: 28-April 06
  • OS:Server 2012
  • Country: Country Flag

Posted 13 November 2009 - 09:38 AM

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.

#343 User is offline   astrouga 

  • Group: Members
  • Posts: 2
  • Joined: 14-August 09

Posted 13 November 2009 - 01:12 PM

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 File(s)

  • Attached File  ixcap.JPG (27.84K)
    Number of downloads: 63

This post has been edited by astrouga: 13 November 2009 - 02:10 PM


#344 User is offline   Tripredacus 

  • K-Mart-ian Legend
  • Group: Super Moderator
  • Posts: 8,670
  • Joined: 28-April 06
  • OS:Server 2012
  • Country: Country Flag

Posted 13 November 2009 - 07:04 PM

View Postastrouga, on Nov 13 2009, 02:12 PM, said:

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/board/imagex-hta-win-p...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.

#345 User is offline   vogtma 

  • Group: Members
  • Posts: 2
  • Joined: 16-February 10
  • OS:XP Pro x86

Posted 18 February 2010 - 02:54 PM

Tripredacus, on 18 February 2010 - 09:44 AM, said:

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 User is offline   Tripredacus 

  • K-Mart-ian Legend
  • Group: Super Moderator
  • Posts: 8,670
  • Joined: 28-April 06
  • OS:Server 2012
  • Country: Country Flag

Posted 18 February 2010 - 03:06 PM

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.

#347 User is offline   vogtma 

  • Group: Members
  • Posts: 2
  • Joined: 16-February 10
  • OS:XP Pro x86

Posted 18 February 2010 - 03:35 PM

View PostTripredacus, on 18 February 2010 - 03:06 PM, said:

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 User is offline   Tripredacus 

  • K-Mart-ian Legend
  • Group: Super Moderator
  • Posts: 8,670
  • Joined: 28-April 06
  • OS:Server 2012
  • Country: Country Flag

Posted 18 February 2010 - 09:24 PM

This HTA is designed for Imagex only. You will have to customize your own version if you want to add Ghost support.

#349 User is offline   kyascian 

  • Group: Members
  • Posts: 6
  • Joined: 15-March 10
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 18 March 2010 - 07:18 AM

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 User is offline   Tripredacus 

  • K-Mart-ian Legend
  • Group: Super Moderator
  • Posts: 8,670
  • Joined: 28-April 06
  • OS:Server 2012
  • Country: Country Flag

Posted 18 March 2010 - 09:48 AM

Progress bar info:
http://www.msfn.org/...post__p__858303

#351 User is offline   kyascian 

  • Group: Members
  • Posts: 6
  • Joined: 15-March 10
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 18 March 2010 - 10:11 AM

View PostTripredacus, on 18 March 2010 - 09:48 AM, said:




Sorry but i not understand :unsure:

there are other file that i add to the hta project ? in the %win% system32?

Oh my goooddD!! It's the last my bug :P

#352 User is offline   kyascian 

  • Group: Members
  • Posts: 6
  • Joined: 15-March 10
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 18 March 2010 - 11:20 AM

i think that's good for me if i can see
a cmd percent progress like succeded for the diskpart

#353 User is offline   Tripredacus 

  • K-Mart-ian Legend
  • Group: Super Moderator
  • Posts: 8,670
  • Joined: 28-April 06
  • OS:Server 2012
  • Country: Country Flag

Posted 18 March 2010 - 11:27 AM

There is no current fix for the Progress Bar in WinPE 2.x. The PE does not have the ability to tell you the progress. If you want to write new code to try to make it work, be my guest, however a WinPE 3.0 implementation would be a better option.

#354 User is offline   kyascian 

  • Group: Members
  • Posts: 6
  • Joined: 15-March 10
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 18 March 2010 - 11:37 AM

Thanks Alot

I try with Winpe3.0 w7

#355 User is offline   Tripredacus 

  • K-Mart-ian Legend
  • Group: Super Moderator
  • Posts: 8,670
  • Joined: 28-April 06
  • OS:Server 2012
  • Country: Country Flag

Posted 18 March 2010 - 10:04 PM

View Postkyascian, on 18 March 2010 - 11:37 AM, said:

Thanks Alot

I try with Winpe3.0 w7


There is a different thread for this HTA on WinPE 3. It is here:
http://www.msfn.org/...-win-pe-30-x64/

#356 User is offline   laz00 

  • Group: Members
  • Posts: 1
  • Joined: 21-January 12
  • OS:none specified
  • Country: Country Flag

Posted 26 September 2012 - 08:19 AM

View Postgeezery, on 01 March 2008 - 04:34 AM, said:

The current release is using that COM component and it works nicely, but the progress bar doesn't work. If you find bugs please report them here.

I actually found one and I will repair it in the next version. I wish that I could some how show the progressbar also. I actually have the progress indicator working in the HTA if you are using it from the Windows XP or Vista. You just have to define the com component a bit different.



This works for me. You can spin off a new thread using settimeout and a fake popup (options flag 7 means popup never displays). Its not 100% live but will do a decent progress bar.
The underlying API seems to hang at 99% - 0 sec for about a min while it finalizes the WIM and closes the file so there is no way around that.

I just wish I could use browseforfolder without having to write my own autoit script.

See relevent code snippits below, This does not work as is, you have to work it into you existing code.

<style>
	#progresstodo{background-color: blue; color: blue;}
	#progressdone{background-color: green; color: green;}
	#progresstext{font-size: x-small;}
</style>

<script>
	Dim objShell
	Dim idTimer
	Sub Window_OnLoad
		Self.Focus()
		progressdone.InnerHTML = String(0, "_")
		progresstodo.InnerHTML = String(25, "_")
		window.offscreenBuffering = True
		Set objShell = CreateObject("Wscript.Shell")
	End Sub

	Sub Windows_OnBeforeUnload
		Set objShell = Nothing
	End Sub

	Sub objWIM_Progress(Percent, TimeRemaining)
		progressdone.InnerHTML = String(Fix(Percent/4), "_")
		progresstodo.InnerHTML = String(Fix(25 - (Percent/4)), "_") & "|"
		progresstext.InnerHTML = Percent & "% - " & TimeRemaining & " sec(s)"
		objShell.Popup Percent & "% - " & TimeRemaining & " sec(s)", 1, "Progress", 7
		idTimer = window.setTimeout("subUpdateProgress Percent, TimeRemaining", 1000, "VBScript")
	End Sub

	Sub subUpdateProgress(Percent, TimeRemaining)
		window.clearTimeout(idTimer)
	End Sub
</script>

<body>
	<span id="progressdone"></span><span id="progresstodo"></span>
	<div id="progresstext"></div>
</body>


#357 User is offline   Tripredacus 

  • K-Mart-ian Legend
  • Group: Super Moderator
  • Posts: 8,670
  • Joined: 28-April 06
  • OS:Server 2012
  • Country: Country Flag

Posted 26 September 2012 - 08:36 AM

This project is dead and left open for historical reference only. The current project is here:
http://www.msfn.org/...howtopic=138048

Share this topic:


  • 18 Pages +
  • « First
  • 16
  • 17
  • 18
  • You cannot start a new topic
  • You cannot reply to this topic

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



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