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

Universal Extractor


  • This topic is locked This topic is locked
872 replies to this topic

#1
nitro322

nitro322

    Advanced Member

  • Developer
  • 387 posts
Updated: 10/17/2008
Version 1.6 Released - Please see the Universal Extractor Latest Version for details of this release, and all releases going forward.

I was inspired by ZoSTeR's Universal Silent Switch Finder, so I wrote an application to do something I've wanted for quite a long time: an easy way to extract files from executable files, installation packages, .msi files, etc.

I often have a need to unpack other application packages, whether it's to get a file out of it and I don't feel like installing the full application, or I'm investigating how to perform a silent install, or whatever the case may be. In the past it's always resulted in some internet research and dropping to a command line to do it manually. Now, I just right-click and select Extract. :-) PEiD was the key to this, so thanks, ZoSTeR, for the idea.

In the process, I also decided to add support for pretty much any archive/compression format I could think of. While this isn't overly helpful if you already own a good archiving utility such as WinRAR, I find it convenient to have a commone way of extracting everything. Also, since the package only uses freely redistributable components (mostly open source), it can be quite useful to send to somebody that needs to extract an odd file but doesn't have a supporting program.

Well, I guess that should be enough exposition. :-) I'm posting this here bacause:
  • You people rock and have helped me out numerous times in the past
  • As I said, I got the idea from ZoSTeR, so wanted to give back to the community
  • I personally find this extremely useful for packaging, and various other tasks that this particular board is dedicated to. I think you will as well.
Please view the Universal Extractor website for complete technical details, supported formats, and full source code. This is on a DSL connection, so please don't hammer it too hard.

Direct downloads:
Please see Universal Extractor Latest Version

I hope you find this useful.

Edited by nitro322, 18 October 2008 - 12:05 PM.



How to remove advertisement from MSFN

#2
glent

glent

    Tpyo Spceialist

  • Member
  • PipPipPipPipPipPip
  • 1,041 posts
Very useful thanks :D, testing now

#3
hamohd70

hamohd70

    Junior

  • Member
  • Pip
  • 53 posts
thankx.
very useful.

#4
MCT

MCT

    MSFN Junkie

  • Member
  • PipPipPipPipPipPipPipPipPip
  • 3,291 posts
  • OS:none specified
  • Country: Country Flag
just a thought, good idea & all, but how about instead of having a dos box open u could have a GUI instead ?
Posted Image Posted Image
Windows 7 32Bit 2GB Ram 120GB HDD (Laptop), Windows 8 4GB Ram 1TB HDD (Desktop) Windows XP SP3 VM with enhancements!

#5
atomizer

atomizer

    Senior Member

  • Member
  • PipPipPipPip
  • 578 posts
  • OS:none specified
  • Country: Country Flag
can you list currently supported archives, or are all supported already in \bin\formats ?

and thanks for the util!

#6
McStarfighter

McStarfighter

    Newbie

  • Member
  • 47 posts
I have the problem that nearly everytime it hangs after I click in the context menu on "Extract". Then it shows the "scanning file" bar and I do NOTHING. And when I push ctrl+alt+del It shows me an error code.

#7
natan770

natan770

    Junior

  • Member
  • Pip
  • 90 posts
Works like a charm... this is a good product. In particular, nice to get ISS setups easily extracted. Go on... :)

#8
boooggy

boooggy

    MSFN Master

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,332 posts
  • OS:Windows 8.1 x64
  • Country: Country Flag
i dont like that when u extract a cabbed file, this one extracts to a folder......not to the uncabbed file.....

#9
nitro322

nitro322

    Advanced Member

  • Developer
  • 387 posts

can you list currently supported archives, or are all supported already in \bin\formats ?

atomizer, the supported formats are listed in detail on the app's home page.

I have the problem that nearly everytime it hangs after I click in the context menu on "Extract". Then it shows the "scanning file" bar and I do NOTHING. And when I push ctrl+alt+del It shows me an error code.

McStarfighter, can you please give me an example of the kind of file you're trying to extract? I've never seen this behavior.

i dont like that when u extract a cabbed file, this one extracts to a folder......not to the uncabbed file.....

boooggy, what do you mean? What exactly is an uncabbed file?

just a thought, good idea & all, but how about instead of having a dos box open u could have a GUI instead ?

Wish I could, but for now that's not possible. The UniExtract front-end doesn't do any of the work itself - it calls all of the other binaries in bin\ to extract the files. As a result, there's no way for UniExtract to know the current status or progress of any given operation; the only thing it knows for sure is the beginning and end points. It would be easy to hide the DOS box and only show a static GUI message like, "Extracting. Please wait...", but I find it much more useful to know the current status of the operation.

With that said, the current beta versions of AutoIt does allow STDIO operations with external DOS programs. As a long-term goal I plan on moving to this approach (also noted in the ToDo file), which should at least allow me to wrap the output in a GUI text box. I still won't be able to give a simple progress bar, but it would look much cleaner. That'll be coming in version 2.0. :-)

Edited by nitro322, 13 December 2005 - 07:29 AM.


#10
darkhanzou

darkhanzou
  • Member
  • 8 posts
BRILLIANT IDEA NITRO322!!! THIS WILL ME HELP A LOT!!!
Flash and animated signatures are not permitted.

#11
REDRUM

REDRUM
  • Member
  • 4 posts

I have the problem that nearly everytime it hangs after I click in the context menu on "Extract". Then it shows the "scanning file" bar and I do NOTHING. And when I push ctrl+alt+del It shows me an error code.


I am getting this everytime i try to extract adobe reader, quicktime and firefox.

#12
nitro322

nitro322

    Advanced Member

  • Developer
  • 387 posts


I have the problem that nearly everytime it hangs after I click in the context menu on "Extract". Then it shows the "scanning file" bar and I do NOTHING. And when I push ctrl+alt+del It shows me an error code.

I am getting this everytime i try to extract adobe reader, quicktime and firefox.

Ok, I still haven't been able to duplicate this behavior. I don't think that Adobe Reader cannot be extracted with UniExtract, so that may not make a good test case. Quicktime I'm not sure about one way or another. Firefox, however, definitely works. I just downloaded and tested again to make sure that nothing changed in version 1.5, and it still works fine. It's a Self-Extracting 7-Zip archive, so UniExtract should call 7z.exe to extract the contents.

With that said, I did notice a couple oddities while testing for this problem. If you've already extracted the archive and try to extract again (while the previous folder still exists), UniExtract will appear to hang after spawning an empty command shell. What's actually happening is 7-Zip is prompting you to confirm whether or not you want to overwrite the existing files; however, for some reason the prompt itself is not shown. Simply hitting a then enter will make it continue. Now, I've only just encountered this problem with 7-Zip while extracting the Firefox installer, so I don't know how pervasive it is. I'll do some more testing and figure out a better way to deal with this. Regardless, though, this doesn't appear to be related to your problem since this occurs after the file is scanned with PEiD.

I also noticed that when using the Explorer integration, short names (8.3) are used instead of long file names when creating the new directory. I've already tracked down this problem and will include the fix in the next release.

Finally, I have a couple other questions for you, to help track down your problem. #1, are you using the installed version, or the self-extracting version? #2, do you have any other copies of PEiD open when you're running UniExtract?

Thanks for the feedback. I am very interested in making this the best it can possibly be, so please keep it coming.

#13
ATM

ATM

    Newbie

  • Member
  • 16 posts
You know something
U did jus wat i was goin to do
I jus started with the code which will allow to unpack
only installtions not other archives
for other archives i use IZArc

http://www.izsoft.dir.bg

which unpacks every known archive including
bin,iso,nrg,img files

So i think u oly concentrate on unpacin installers
let IZArc do the other job
BTW u can call IZArc from commandline and avoid use of
other files
Just a suggestion
hop u lik it :w00t:
:thumbup

#14
boooggy

boooggy

    MSFN Master

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,332 posts
  • OS:Windows 8.1 x64
  • Country: Country Flag
if i have a file lets say rundll32.dl_ and i extract it using your progie....it will extract to a folder not to the file rundll32.dll...... :P

#15
Jotnar

Jotnar

    Member

  • Member
  • PipPip
  • 186 posts
Another very handy msi extractor (can just unpack from the msi), is Less MSIĆ©rables. Works very nicely.

Cheers

#16
nitro322

nitro322

    Advanced Member

  • Developer
  • 387 posts

if i have a file lets say rundll32.dl_ and i extract it using your progie....it will extract to a folder not to the file rundll32.dll...... :P

Ahh. Yeah, I know what you mean. I actually considered this issue during development. However, I have common code that takes care of initial setup and then final verification of extraction for each type of archive. I would need to create a special case specifically for this type of file to get around it, and just didn't want to go down that route.

Additionally, since every other archive type extracts to a subdirectory, I figured this one as well, if only for consistency. I hope this isn't too much of an inconvenience. :-)

For the next version I'll probably look into this again, see if there's some better way of handling it. However, as I said, I'd prefer not to create a special case just for this one filetype, so we'll see what happens.

So i think u oly concentrate on unpacin installers
let IZArc do the other job
BTW u can call IZArc from commandline and avoid use of other files

Thanks for the suggestion, ATM. I actually do exactly this with 7-Zip. which I use to open .7z, 7-Zip SFX .exe, .bz2, .cab, .chm, .cpio, .deb, .gz, .lzh, .rpm, .tar, and .Z files. I still use some other standalone binaries, however, because they may support their native format more robustly. For example, the official unrar.exe can open certain RAR files (particularly SFX files) that 7-Zip cannot, despite the fact that it does support RAR files.

I chose to use 7-Zip rather than IZArc primarily because it's open source (which I am a huge proponent of), and because it has a great command line interface. However, I didn't realize that IZArc could handle .iso files. I'll look into it and see if it's possible to use in my program.

Edited by nitro322, 16 January 2006 - 07:24 PM.


#17
nitro322

nitro322

    Advanced Member

  • Developer
  • 387 posts
I just released version 1.0 of Universal Extractor. Please see the original post for details and download links.

As usual, feedback is most welcome.

#18
smashly

smashly

    Member

  • Member
  • PipPip
  • 107 posts
Hi and Thank You nitro322.
I've tried your uniextract10.exe , the installer version worked sweet as for me on a short try (gunna give your proggy a flogging when I get home work...lol)

But the uniextract10_noinst.exe just keeps coming up with crc errors when I try to extract the archive (pasted from SFX window)
CRC failed in bin\arj.exe
Extracting bin\E_WISE_W.EXE
CRC failed in bin\E_WISE_W.EXE
Extracting bin\helpdeco.exe
CRC failed in bin\helpdeco.exe
Extracting bin\i6comp.exe
CRC failed in bin\i6comp.exe
Extracting bin\innounp.exe
CRC failed in bin\innounp.exe
Extracting bin\IsXunpack.exe
CRC failed in bin\IsXunpack.exe
Extracting bin\lzop.exe
CRC failed in bin\lzop.exe
Extracting bin\PEiD.exe
CRC failed in bin\PEiD.exe
Extracting bin\tee.exe
CRC failed in bin\tee.exe
Extracting bin\UniExtract.exe
CRC failed in bin\UniExtract.exe
Extracting bin\UnRAR.exe
CRC failed in bin\UnRAR.exe
Extracting bin\unzip.exe
CRC failed in bin\unzip.exe
Extracting bin\WUN.exe
CRC failed in bin\WUN.exe
Extracting bin\xace.exe
CRC failed in bin\xace.exe
Extracting bin\Formats\7z.dll
CRC failed in bin\Formats\7z.dll
Extracting bin\Codecs\7zAES.dll
CRC failed in bin\Codecs\7zAES.dll
Extracting bin\Codecs\AES.dll
CRC failed in bin\Codecs\AES.dll
Extracting bin\Codecs\Branch.dll
CRC failed in bin\Codecs\Branch.dll
Extracting bin\Formats\bz2.dll
CRC failed in bin\Formats\bz2.dll
Extracting bin\Codecs\BZip2.dll
CRC failed in bin\Codecs\BZip2.dll
Extracting bin\Formats\cab.dll
CRC failed in bin\Formats\cab.dll
Extracting bin\Formats\chm.dll
CRC failed in bin\Formats\chm.dll
Extracting bin\Codecs\Copy.dll
CRC failed in bin\Codecs\Copy.dll
Extracting bin\Formats\cpio.dll
CRC failed in bin\Formats\cpio.dll
Extracting bin\Formats\deb.dll
CRC failed in bin\Formats\deb.dll
Extracting bin\Codecs\Deflate.dll
CRC failed in bin\Codecs\Deflate.dll
Extracting bin\Formats\gz.dll
CRC failed in bin\Formats\gz.dll
Extracting bin\Formats\lzh.dll
CRC failed in bin\Formats\lzh.dll
Extracting bin\Codecs\LZMA.dll
CRC failed in bin\Codecs\LZMA.dll
Extracting bin\Codecs\PPMd.dll
CRC failed in bin\Codecs\PPMd.dll
Extracting bin\Formats\rpm.dll
CRC failed in bin\Formats\rpm.dll
Extracting bin\Formats\split.dll
CRC failed in bin\Formats\split.dll
Extracting bin\Codecs\Swap.dll
CRC failed in bin\Codecs\Swap.dll
Extracting bin\Formats\tar.dll
CRC failed in bin\Formats\tar.dll
Extracting bin\Formats\z.dll
CRC failed in bin\Formats\z.dll
Extracting bin\ZD51145.DLL
CRC failed in bin\ZD51145.DLL
Extracting bin\Codecs
Extracting docs
Extracting bin\Formats
Extracting bin
Extracting UniExtract.au3
Extracting support\Icons\uniextract_exe.ico
CRC failed in support\Icons\uniextract_exe.ico
Extracting support\Icons\uniextract_files.ico
CRC failed in support\Icons\uniextract_files.ico
I have tried clearing my temp and internet cache and dl'n again , same crc failures when unpacking though.
Could you please post the MD5 for uniextract10_noinst.exe

The MD5 I get for uniextract10_noinst.exe: B281C1276D2D36B8C09452151649857C (Size 1.84MB (1,934,224 bytes))
cheers

PS. Hope you don't mind me adding your prog to my SA Utils personal package.
if so let me know.
SA Utils Info: http://www.msfn.org/...showtopic=65085

Edited by smashly, 17 January 2006 - 05:10 AM.


#19
Lost Soul

Lost Soul

    Snap ... Crackle ... Pop

  • Member
  • PipPipPipPipPipPipPip
  • 1,746 posts
thats a great app nitro good job, i usually use various methods to extract but this does make things more convenent,

This is not the end. It is not even the beginning of the end. But, it is, perhaps, the end of the beginning.

- Winston Churchill

#20
nitro322

nitro322

    Advanced Member

  • Developer
  • 387 posts

But the uniextract10_noinst.exe just keeps coming up with crc errors when I try to extract the archive (pasted from SFX window)

smashly, I can confirm this error. Not sure what happened, though. When I get home tonight I'll compare it to my local copy and see what's going on.

Also, I don't have any problem with you adding it to your SA package (which looks pretty cool, btw). After all, the whole reason I put this out there is for others to benefit from it. :-)

#21
smashly

smashly

    Member

  • Member
  • PipPip
  • 107 posts
Thank you for confirming my crc probs nitro322.

I used your installer version UniExtractor on itself to get the required SA files and minimal reg entries for context menus (I only wanted the basic reg entries for context extract files exe , msi , chm , hlp).
Incorperated UniExtract into SA Utils install package , Updated SA Utils thread to current version.

Trivial sugestion for your right click Context Menu maybe offer to have the 3 menu options under 1 main in a submenu.
eg:
UniExtract->Extract Files...
			Extract Here
			Extract Sub

As I said I was going to flog your prog last night and I did.
I was impressed with it's performance and it worked on more files then I expected.
Luv the .ISS it creates , takes the guess work out of finding reg entries :thumbup .
Great Work m8.

Very much appreciated THANK YOU.

#22
1chaoticadult

1chaoticadult

    A Part of a Dying Breed...

  • Member
  • PipPipPipPip
  • 669 posts
I've been testing this app since 0.8. Keep up the good work. Good job with this!!! I'm glad you used my favorite installer too hehe!!!

Edited by 1chaoticadult, 18 January 2006 - 12:34 AM.


#23
DigeratiPrime

DigeratiPrime

    MSFN Junkie

  • Patrons
  • 3,550 posts
  • OS:Windows 7 x64
  • Country: Country Flag
wow this app is awesome!

i also go the crc errors but i did the install/copy files/uninstall trick :)
Recommended Software: KeePass | Microsoft ICE | VisualWget | Vitamin D Video |

#24
nitro322

nitro322

    Advanced Member

  • Developer
  • 387 posts
I created and uploaded a new copy of the self-extracting archive. I'm not getting any errors from this one, but I'd appreciate it if someone could confirm.

smashly, the installer does exactly what you describe by default. The "Enable Explorer context menu integration" only adds associations for native Windows extensions; specifically, this includes .exe, .??_, .chm, .hlp, and .msi. The "Associate Universal Extractor..." is what handles integration with other supported archive types. I don't particularly have a problem with you modifying the code, but it seems a bit unnecessary.

Btw, the source code for the installer is included in the source archive. You can download that from it's home page. No need to unpack the installer if that's all you want. :-)

#25
smashly

smashly

    Member

  • Member
  • PipPip
  • 107 posts
Confirmed , uniextract10_noinst.exe extracts without crc errors now ...all good :)

I did't wan't to modify your code nitro322, just curb it so to speak.

What I meant by the Context Menu is that when I right click an exe , msi , chm ,hlp that I would now have 3 new entries in my root context menu, add that to the other 13 other options I already have in the root of my context menu for those file assosiations from other progs and it's now starting to get very long.
I found 1 option to "UniExtract Files.." on the root of my Context Menu was sufficient for me.
I would like all 3 options but just not on the root of my Context Menu. But hey that's just my preference ;)
If I knew how to bring all 3 options into a submenu off the root of my context menu then I would leave all 3 options. No biggy anyways.

Your prog rocks for me as is. :w00t:

Keep up the great work :thumbup

Cheers.

Edited by smashly, 19 January 2006 - 05:48 AM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN