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

Jump to content



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

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

#251 User is offline   qc_metal 

  • Group: Members
  • Posts: 4
  • Joined: 07-January 04

Posted 15 October 2007 - 01:06 PM

View Postgeezery, on Oct 12 2007, 12:08 PM, said:

Very nice, I have also been contacted a other member of this forum, who has some nice features in the hta. I'm currently so busy at my work that I don't have the needed time to implement new features + test new version. The scripts that I have made is totally free to use and modify.
But if you get some nice features done, please post those to the msfn community.

gc metal keep up the great work, very nice HTA. I will check it when I have time.


Cool Geezery...will do. I'll see if I can make a Geezery/qc_metal hybrid and post my results here. Thanks for your permission on that!


#252 User is offline   ericgramm 

  • Group: Members
  • Posts: 1
  • Joined: 28-September 06

Posted 17 October 2007 - 01:34 PM

Ok, I would like to be have the first image pre-selected by default. Is there a simple way to set that up so that when I only have one image in the directory I don't have to select it before I can apply it?

#253 User is offline   pretender69 

  • Junior
  • Pip
  • Group: Members
  • Posts: 76
  • Joined: 29-June 06

Posted 19 October 2007 - 07:56 PM

View Postqc_metal, on Oct 12 2007, 12:22 PM, said:

View Postgeezery, on May 25 2007, 10:41 AM, said:

I think I'm going to add support for multiple *.wim files in the hard coded folder. Maybe it can be dynamic also. I have to change the code a lot.

If someone has example for me to get the imagex /info wimfile.wim output to variable I could make that easily.

There is a nice component available, but it is not free. ****

http://www.smartdepl...ducts/index.htm


Use stdout.readall to get any commandline output into a variable. You need to use the .exec method, however in order to get this.

***edit*** - - - OH crap, I didn't see the follow up pages to this post! Sorry about that...

I also created an HTA for ImageX, and then I stumbled onto this page ;) - see the screenshots... Maybe we could combine our efforts? I've attached the HTA as a ZIP to this post. Also, there is a good example of how to utilize the browse for folder dialog in the HTA (very nice to have). You just need to supply comdlg32.ocx and imagex.exe to make the HTA work.

Update 10/16/07:
I've worked out some kinks with some logic, and have a .02a release for anyone who wants to try it. Now it will pull the Image info when using the 'apply' or 'append' functions. I'm working on 'delete' next.

Note that this one does not require an XML package to be installed in order for it to work - - this was to make things a bit more simple with regards to what you need in order to make this HTA to work. I know it is a cheeky solution, but it does work ;). Essentially, the HTA uses only filesystem objects, and nothing more (no WMI, either).



i get the following error when i try to use the browse function, i have copied comdlg32.ocx to program directory.

Line: 536
Char: 1
Error: The control could not be created because it is not properly licensed.
Code: 0

anyone can tell me what im doing wrong ?
TIA

#254 User is offline   balinton 

  • Group: Members
  • Posts: 3
  • Joined: 05-November 07

Posted 05 November 2007 - 01:50 PM

I am also getting the error about commmon dialog control license... How can i resolve this issue. And secondly when i add the hta and images folder to winpe and i launch from wihtin pe the images dont load. The background does and the ico file but not the other images? Any suggestions? Aside from that this is an awesome hta def what i was looking for THANKS ALOT!!!

#255 User is offline   Atheros 

  • Junior
  • Pip
  • Group: Members
  • Posts: 84
  • Joined: 01-June 04

Posted 08 November 2007 - 07:53 AM

ok this looks like a good idea.

i have thrown your beta into a winre image. and all ok.

im going to have to rip large chunks of it out because my intention is to use the GUI as a replacement for my visual basic program to recover customers systems.

i need to block diskpart from ever touching partition 1. as this stores all of winre and the final installation image.

question: is it possible to get a progress bar to run instead of the ugly black box known as command promt? i'll look into it but if you know anything that could help, would be kool.

now one suggestion. if an image fails to deploy the ImageX.hta always reports that the image applied ok. could cause problems :/.

spose i need to brush up on my scripting skills.

but playing with your beta has inspired me to work on this further and give a nice front end for our customers.

#256 User is offline   pretender69 

  • Junior
  • Pip
  • Group: Members
  • Posts: 76
  • Joined: 29-June 06

Posted 08 November 2007 - 01:33 PM

Quote

question: is it possible to get a progress bar to run instead of the ugly black box known as command promt?


try a search for 'wimmaster' has progress bar instead of cmd prompt.

is also one called 'gui imagex wrapper', doesn't have progress bars .. but just as good too.

both work good under 'winpe' or 'vistape'.

:thumbup

#257 User is offline   solutionone 

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

Posted 11 November 2007 - 03:12 PM

wimmaster can be found at this link http://www.boot-land.net/forums/index.php?...amp;#entry21075

#258 User is offline   bigjon440 

  • Group: Members
  • Posts: 3
  • Joined: 15-November 07

Posted 19 November 2007 - 11:48 AM

I am having the same problems with the error on line 536 and 258 as well. I am using the comdlg32.ocx from my windows xp install, I do not have a copy on my server 2003 machine, and I did not find one mounting the vista install.wim either. I am using PE 2.0 btw. I have a cmd that copies all of the files and the img dir and it's contents to the X:\windows\system32 just to eliminate problems with the permissions. The img dir is there and correct, the only time I have problems I have is when I click on the browse button, I get those errors. If I could get that working, that would be uber slick!

Thanks guys for your work on these HTA's, they are going to be killer!

I also have all of the packages installed for PE 2.0

This post has been edited by bigjon440: 19 November 2007 - 11:50 AM


#259 User is offline   powaking 

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

Posted 21 November 2007 - 02:37 PM

Anyway to make the list of found images inside of a wim file split up into multiple columns instead of 1 big one? I have a wim with about 21 images in it and so everything gets pushed off and the hta window is not scrollable.

#260 User is offline   aaron818 

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

Posted 03 December 2007 - 12:44 AM

View Postpowaking, on Nov 21 2007, 01:37 PM, said:

Anyway to make the list of found images inside of a wim file split up into multiple columns instead of 1 big one? I have a wim with about 21 images in it and so everything gets pushed off and the hta window is not scrollable.


I second that request :thumbup ... My largest has about 13 and it is pushing everything off the page.

#261 User is offline   Baalzamon 

  • Group: Members
  • Posts: 6
  • Joined: 26-July 07

Posted 04 December 2007 - 09:18 PM

View Postaaron818, on Dec 3 2007, 02:44 PM, said:

View Postpowaking, on Nov 21 2007, 01:37 PM, said:

Anyway to make the list of found images inside of a wim file split up into multiple columns instead of 1 big one? I have a wim with about 21 images in it and so everything gets pushed off and the hta window is not scrollable.


I second that request :thumbup ... My largest has about 13 and it is pushing everything off the page.

I third that request as I and my coworker have taken to going to a naming scheme like HP-1.wim HP-2.wim. I am working at a service centre and have like 130GB of image files. When I started here my coworker was operating from command line and not appending. I then found this forum and thread. I love this HTA and so does my co-worker. Thanks Geezery.

#262 User is offline   geezery 

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

Posted 05 December 2007 - 12:13 AM

I played for 5 minutes with the css file and the HTA and the result is this. If someone needs advice on how to change their hta to look like this send me an email. You can find the address from the first post. I know this is not the best solution, bu I don't have the time to make the script changes right now.

Attached File  ImageXv70.JPG (98.87K)
Number of downloads: 317

#263 User is offline   qc_metal 

  • Group: Members
  • Posts: 4
  • Joined: 07-January 04

Posted 03 January 2008 - 09:27 AM

View Postaaron818, on Dec 3 2007, 01:44 AM, said:

View Postpowaking, on Nov 21 2007, 01:37 PM, said:

Anyway to make the list of found images inside of a wim file split up into multiple columns instead of 1 big one? I have a wim with about 21 images in it and so everything gets pushed off and the hta window is not scrollable.


I second that request :thumbup ... My largest has about 13 and it is pushing everything off the page.


Are you talking about Geezery's or my HTA? I think I'm going to revisit the comdlg issue. This might be something that an AutoIT script would be more suited to (just the browse function).

Also, it might be a good idea for me to post a separate thread so the support questions aren't confusing the two. :)

Rob

This post has been edited by qc_metal: 03 January 2008 - 10:13 AM


#264 User is offline   geezery 

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

Posted 08 January 2008 - 10:22 AM

I released a new version. Read more from the first post.

#265 User is offline   Baalzamon 

  • Group: Members
  • Posts: 6
  • Joined: 26-July 07

Posted 08 January 2008 - 07:50 PM

I am getting an error running scripts on this page for the latest version
Line 219
Char 1
Error: Object doesn't support this property or method: 'objWim.source"
Code 0

I have tried registering the Gimagex.dll, got 2 different testing images both launching imagex.hta 2 ways. 1 is calling mshata then imagex.hta, whilst the other is just calling imagex.hta Both of these get the same message.

#266 User is offline   geezery 

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

Posted 08 January 2008 - 11:40 PM

Ok, I have to look at the error you are getting.
The dll should be automaticly registrated.

There is some problems when defining the COM component like this.

<object ID="objWIM" viewastext style="display:none" CLASSID="CLSID:6DA4E9F4-B7A8-467F-B88D-588B456B2608"></object>

It doesn't seem to work under WinPE. I think I'll have to figure something else since it wonr work.

This post has been edited by geezery: 09 January 2008 - 12:25 AM


#267 User is offline   geezery 

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

Posted 21 February 2008 - 03:09 AM

I updated the com based ImageX.hta, but there is currently no support for progress indicator. If you find a way to show the progress indicator it would be more than nice.

#268 User is offline   Baalzamon 

  • Group: Members
  • Posts: 6
  • Joined: 26-July 07

Posted 27 February 2008 - 10:16 PM

Thanks for this Geezery. It is working real nice now, shame about the progress bar. At least there is notification when it completes so you are not working completely blind.

#269 User is offline   powaking 

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

Posted 28 February 2008 - 09:35 AM

View Postgeezery, on Feb 21 2008, 04:09 AM, said:

I updated the com based ImageX.hta, but there is currently no support for progress indicator. If you find a way to show the progress indicator it would be more than nice.


Take a look at this: ImageX COM

The author of AutoIt wrote up a COM for imagex and made a GUI for it and shows a progress. Maybe you can implement the use of the COM to grab the progress???

#270 User is offline   geezery 

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

Posted 01 March 2008 - 04:34 AM

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.

Share this topic:


  • 18 Pages +
  • « First
  • 12
  • 13
  • 14
  • 15
  • 16
  • 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 - 2011 msfn.org
Privacy Policy