Help - Search - Members - Calendar
Full Version: extract setup-EXEs
The CD Forum > Bart's PE Builder > Troubleshooting
Siegfried
I there a way to "extract" setup-EXEs to obtain the files needed for a plugin without installing the program on the host system?

Regards, Siegfried
ponzandro
The exe files often extract to %temp% when you run it.
Do not hit any further key and navigate to the %temp% folder to get the files.
It is sometimes better to get the files for the plugin from there cause otherwise if the program has for example logfiles they get entries you do not want to have in the plugin files.

Sometimes renaming the .exe to .rar can help to extract them with winrar.

If you have additional .cab files that get extracted by the installer or .exe file there is a commandline tool to extract this .cab files - sometimes helpfull if you have to patch a file.
d4vr0s
Some setup files may have an admin install, which if memory serves, would be
setup /a
oscar
Wise Unpacker

http://www.pediy.com/tools/unpack/Wise/WUN.rar
robvdb
QUOTE (oscar @ Dec 8 2005, 03:17 PM)


unable to download, any other link?
Siegfried
Thanks for the feedback so far! biggrin.gif
Had finally luck to download from the link Oscar gave us.

Here is a little test package with it (for those also having problems to download):
test-WUN.zip

This is how far I got with it.
So far, of all the setup-EXEs I tried, I could only get it to work for Setup_MagicISO.exe (but for that it really works nicely!) cool.gif .

Does anyone have more details on the usage? I´m pretty sure I´m not doing it right with the parameters.
Regards, Siegfried
jaclaz
Well, there are quite a bit of "setup unpackers" around.

That one is just for "Wise" installs.

Search on google for "wise unpacker" (without quotes) and will find others.

Search for "installshield unpacker" for installshield, and so on.

FAR (by the same author of WINRAR):
http://farmanager.com/

has plugins for many types of install archives:
http://plugring.farmanager.com/index_e.html

(search for "install" on the plugin page)

jaclaz
oscar
QUOTE (robvdb @ Dec 8 2005, 01:53 PM)
unable to download, any other link?
*



This is another link

http://gwbn2.onlinedown.net/down/WUN.rar


The gui version is in chinese? First top left button is for File open or hit F3. Then there are 2 buttons. Left one is Start and the other is Cancel as it is usual.
Siegfried
QUOTE (jaclaz @ Dec 8 2005, 06:06 PM)
Search on google for "wise unpacker" (without quotes) and will find others.
*


thanks for the "Google tips".
Now all I need to do is learn chinese or whatever it is on these pages to be able to navigate to something useful. biggrin.gif

Thank you, Oscar, for providing a concrete link! That got me a step further! cool.gif

Siegfried
FeReNGi
@Reatogo

CODE
... all I need to do is learn chinese or whatever it is on these pages to be able to navigate to something useful. ...


use babelfish.altavista.com to translate from chinese tongue.gif
Siegfried
No luck with this one so far: windowblinds4_public.exe

It has "UNWISE.EXE" in the program´s directory, so I assume it is a WISE-installer. unsure.gif
Any tips?

Siegfried
robvdb
QUOTE (reatogo @ Dec 9 2005, 08:15 AM)
No luck with this one so far: windowblinds4_public.exe

It has "UNWISE.EXE" in the program´s directory, so I assume it is a WISE-installer. unsure.gif
Any tips?

Siegfried
*



Hi Reatogo,
I succeeded in extracting the file = 54Mb after extraction.
first renamed the file windowblinds4_public.exe to public.exe
then ran from the cmd

wun public Temp

3 new folders where created into the temp after extraction
MAINDIR (18 folders - 2563 files - size = 54,5MB)
SYS (3 files - size 92Kb)
WIN (1 folder - 1 file - size 32Kb)
Siegfried
@robvdb
Works without problems, thanks a lot! biggrin.gif biggrin.gif biggrin.gif

When I tried to figure out, why it didn´t work for me before, I found that the problem I had was actually with version 5. Sorry for the confusion. ohmy.gif

Do you have an idea for this one too?
windowblinds5_public.exe


Siegfried
oscar
what are you drinking Siegfiried? laugh.gif
extracted with wungui.exe, 60MB
LiquidSage
For Installshield 4, 5, 5.5 & 6...
WinPack v3
Siegfried
@ oscar
QUOTE
what are you drinking Siegfiried? laugh.gif

...nothing exiting at all, really, but may be I should! biggrin.gif

This is my problem:
in a script this works:
wun windowblinds4_public.exe temp

...and this doesn´t:
wun windowblinds5_public.exe temp

As I want to use it in the setup script for the plugin, the GUI version doesn´t help.
Any ideas?

@ CyberSlug + LiquidSage
very interesting! I´ll try it all.
Thanks !!! cool.gif

Regards, Siegfried
oscar
QUOTE (reatogo @ Dec 9 2005, 04:37 PM)
This is my problem:
in a script this works:
wun windowblinds4_public.exe temp

...and this doesn´t:
wun windowblinds5_public.exe temp
Regards, Siegfried
*



this wun windowblinds5_public.exe temp works nice here. No problem at all.

wun.exe v0.90A (2003-07-27) by J. Markus/IceBird
Siegfried
QUOTE (oscar @ Dec 9 2005, 08:09 PM)
this wun windowblinds5_public.exe temp works nice here. No problem at all.
wun.exe v0.90A (2003-07-27)    by J. Markus/IceBird
*


This is what I get:

wun windowblinds4_public.exe temp


wun windowblinds5_public.exe temp



QUOTE
Verzeichnis von L:\_Unpacker\test-WUN\temp\MAINDIR

09.12.2005  22:22    <DIR>          .
09.12.2005  22:22    <DIR>          ..
09.12.2005  22:22    <DIR>          MacPC
               0 Datei(en)              0 Bytes

Verzeichnis von L:\_Unpacker\test-WUN\temp\MAINDIR\MacPC

09.12.2005  22:22    <DIR>          .
09.12.2005  22:22    <DIR>          ..
05.12.2003  23:47                 0 MacPCStartPanelProgListMask.bmp
               1 Datei(en)              0 Bytes


Siegfried
oscar
Sorry Siegfried, wun it is not working well but download e_wise_2001.5.2.rar

http://reversing.kulichki.com/files/unpack/ewise.rar

from here
http://reversing.kulichki.com/files/unpack/unpack.htm

run
e_wise_w.exe windowblinds5_public.exe temp

then

temp\0000000000.bat and you are
Siegfried
QUOTE (oscar @ Dec 9 2005, 11:13 PM)
Sorry Siegfried, wun it is not working well but download   e_wise_2001.5.2.rar
*


That did it! biggrin.gif
Thanks, Oscar! tongue.gif

Regards, Siegfried



unpack-WISE.cmd
QUOTE
@echo off& Color F8&MODE CON: COLS=90 LINES=30
:: E_WISE_W.EXE renamed to E_WISE.exe

E_WISE windowblinds5_public.exe temp
pushd temp
call 00000000.BAT
rd TEMP /s /q
del 00000000.BAT /q
del UNINSTALL_PATH /q
ren MAINDIR Files
popd

pause
stormal
cool source
jaclaz
This has come out YESTERDAY (telepathy?):
http://www.msfn.org/board/index.php?showtopic=62418&hl=

jaclaz
Siegfried
QUOTE (jaclaz @ Dec 10 2005, 06:14 PM)
This has come out YESTERDAY (telepathy?):
http://www.msfn.org/board/index.php?showtopic=62418&hl=

jaclaz
*


Jaclaz, thanks for the info! cool.gif
that is really great info in the context of this project!!! biggrin.gif biggrin.gif biggrin.gif
I tried the "Universal Extractor", but it seems to use WUN for the WISE installers and thus does also not extract Windowblinds vers.5. The example (using E_WISE) I posted following Oscar´s lead, works on all the WISE installers I have tried and is also a lot faster than WUN.

The "Universal Extractor" also does not extract any of the InstallShield installers I tried. It is using "is7unpack.exe" which I have not been able to run without error on my system when used by itself either.

The example posted below shows the error I´m always getting. sad.gif

Any ideas, what I´m doing wrong or suggestions for a InstallShield unpacker that works as nicely and universal as the one Oscar suggested for WISE?

Regards, Siegfried

test InstallShield unpacker
TEST-is7unpack.zip

QUOTE
is7unpack.exe %CD%\SetupCloneCD5261.exe

This is the error I´m always getting:
Siegfried
First draft of "Unpack_Setup.exe"

I am working on a universal unpacking routine to be integrated into plugin setup scripts. Ultimately it will be a call like:
call DOWNLOAD.cmd "URL-to-SetupEXE-or-archive"
and result in a folder "Files".

Derived from that, there will also be a standalone version as outlined below.

This is my first draft (WISE only at this stage) and I will add to it as we progress here until we ultimately have a universal "Unpack_Setup.exe".

Just put "Unpack-WISE.exe" into a directory with setupEXEs you want to expand.
Unpack-WISE.exe is a Rar-SFX and when run, it creates a folder "deps" with the depends and starts "deps\unpack-WISE.cmd". This will scan the current directory for EXEs and present them in a dialog for selection.
DoubleClick your selection and it expands that EXE into a folder with a name derived from the name of the EXE.
Note: always start "Unpack-WISE.exe", not the script itself (it would run in the wrong directory!)

I will post updated versions as we progress in this topic ... biggrin.gif

Thanks for sharing your experience on what unpacker works best for a format and for pointing me to the right solutions! cool.gif

Regards, Siegfried

Download Unpack-WISE.exe

oscar
QUOTE (reatogo @ Dec 11 2005, 04:23 AM)
test InstallShield unpacker
TEST-is7unpack.zip
This is the error I´m always getting:

*


No error here, only ends after Good! etc. etc. green message doing nothing
jaclaz
My two cents, judging from the screenshots posted, that file is NOT an Installshield one, but rather a NullSoft Installer one:
http://nsis.sourceforge.net/Main_Page

jaclaz

P.S.: if this is the case, it seems like we have a problem, I cannot find ANY unpacker for NSIS mad.gif
oscar
yes NSIS because If I try running SetupCloneCD5261.exe after Upx -d SetupCloneCD5261.exe I get "NSIS error" dialog
Siegfried
yeah, that seems to be the problem. sad.gif
The NullSoft Installer seems to be pretty widely used for freeware.

Has anyone been able to get the installshield unpacker to complete a job without error? I´m not getting anything out of it.

Maybe it is one of those programs having a problem with (XP) Sp2. unsure.gif

Regards, Siegfried
CWorks
anbody have version 0.99
i found it here on page 3 but can't get it unless registered on the forum
but it won't let me register sad.gif
Siegfried
QUOTE (CWorks @ Dec 13 2005, 11:18 PM)
anbody have version 0.99
i found it here on page 3 but can't get it unless registered on the forum
but it won't let me register sad.gif
*



I found it someplace else. smile.gif

Get it here:
http://www.reatogo.de/sample/IsXunpack_0.99.rar

Regards, Siegfried
Siegfried
version 0.99 works fine for me biggrin.gif biggrin.gif biggrin.gif
Thanks, Cworks !!! tongue.gif
Siegfried
Dhilip
but....how can i extract the content of *.msi (Microsoft Installer) ?
CWorks
try this for msi files
you also need ORCA from the platform SDK to feed it the name of the file.
MS info on orca is here
dog
I've used lessMSI after someone mentioned it in this forum
needs .net 1.1
oscar
QUOTE (reatogo @ Dec 13 2005, 11:52 PM)
version 0.99 works fine for me biggrin.gif  biggrin.gif  biggrin.gif
Thanks, Cworks !!! tongue.gif
Siegfried
*


but not for me... mad.gif

QUOTE
Usage: IsXunpack.exe 3DMark03.exe (for example)
        and use -i option for info of suppored modif. of IS-EXE


Found Suggested Overlay Start Position at: 6200h

Not Valid All-in-One Modification of IS File...

Trying to Check For CAB-file Inside...
Possible CAB StartPos at: 5
CAB-file NOT found in That EXE!

Press Enter to Exit! Have a Nice Day.
Siegfried
While working on a autoHelp plugin
... for the free "HandyRecovery vers.1"", I made this routine to get the files.

The test download includes:
XtractSetupEXE.cmd
Wget.exe
E_WISE.EXE
IsXunpack.exe
and a test-script to simulate the call.

Just thought I share it with you and give this topic a bump...
Siegfried biggrin.gif

Details and download HERE
thunderrooster
Been up all night looking for a program like Unpack_Setup.exe. Thank you for making it reatogo. I have a question though. I have fount it does not like files that has spaces in them. It will say already expanded. When I take the spaces out of the filename it works. Is there anyway to make it work for filenames that has spaces in them?
CWorks
adding quotes around the filename should work

"filename with spaces.exe"
but renaming a file is not that hard to do
nitro322
Gentlemen,

I'm the author of the previously mentioned Universal Extractor, available on msfn.org.

I came across this post while googling for information about extracting Wise installers, and was rather pleasantly surprised to see my program mentioned. :-) I wanted to let you know that I just released version 1.0 today, which adds a ton of new features, including much improved support for Wise installers. Additional details and download links can be found at the msfn.org link above (not trying to direct traffic to that site, just don't want to duplicate effort).

I'm always interested in feedback, so please let me know what you think. I hope you find this useful!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.