Extract Files from Setup.exe

English support forum

Moderators: Hacker, petermad, Stefan2, white

User avatar
Thomas_BA
Junior Member
Junior Member
Posts: 41
Joined: 2004-10-02, 18:03 UTC
Location: Buenos Aires - Munic
Contact:

Extract Files from Setup.exe

Post by *Thomas_BA »

Is there a Plugin available to extract files from setup.exe routines.
Thanks
Tommy
Ciao
Thomas
(for now in Buenos Aires)
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post by *Sheepdog »

Usually the setup routine unpacks the installation files to the temp dir and then asks the user for accept the users licence (or anything).

So before clickin OK (or cancel ) you may go to %temp% and look for the desired files. If you are not good at searching you can delete the %temp% -dir before starting the setup.

sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
chiron
Junior Member
Junior Member
Posts: 32
Joined: 2005-01-05, 15:42 UTC

Post by *chiron »

As different Setup routines use different methods, there is no "default" way.

For example, the two must used Installers:

Installshield: As an single file installer, setup.exe (which is just an self-extracting archive) first extracts the real setup programm and the data (in InstallShield-CAB files) to %TEMP%. There are some more or less functional tools for unpacking InstallShield cab's in the web.

Wise Installation System: Extracts data directly from the setup.exe, you can extract data via "Setup.exe /x"

Some other installers like NSIS or Inno (http://innounp.sourceforge.net/) also extract data directly from the setup.exe.

So which installer are you talking about?

regards

chiron
User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 3381
Joined: 2003-05-06, 11:46 UTC

Post by *Sir_SiLvA »

SanskritFritz forgot the all-in-one-solution:

http://www.totalcmd.net/plugring/IETotal.html
tc.net wrote: InstallExporer Port 2004-06-04

InstallExporer Port for Total Commander. InstallExplorer is a FAR plugin (© Sergei Wanin) that can explore and unpack exe-files created with Wise, Vise, Inno Setup, Gentee, Installer, InstallShield, NullSoft Installer (ver>=1.1o), SetupFactory, Eschalon. Contains both InstallExporer Port for Total Commander and InstallExplorer 3.0 for FAR.
Hoecker sie sind raus!
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

Opps, true!
I switched to Linux, bye and thanks for all the fish!
User avatar
ado
Senior Member
Senior Member
Posts: 445
Joined: 2003-02-18, 13:22 UTC
Location: Slovakia, Pezinok

Re: Extract Files from Setup.exe

Post by *ado »

...and of course...nobody mentioned, that when "behind" that .exe is zip or rar or another supported format, you can simply press Ctrl-PgDn on that file and you can browse its contents like archive :-)
User avatar
Sam_Zen
Power Member
Power Member
Posts: 700
Joined: 2005-02-08, 22:59 UTC
Location: NL
Contact:

Post by *Sam_Zen »

To check if an exe-file is an executable or a self-extracting one, use the 'unpack' function of TC.
If you get an error-message, it's an executable.
User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 3381
Joined: 2003-05-06, 11:46 UTC

Post by *Sir_SiLvA »

Sam Zen wrote:To check if an exe-file is an executable or a self-extracting one, use the 'unpack' function of TC.
If you get an error-message, it's an executable.
That could be an Installation-File nevertheless...
Hoecker sie sind raus!
User avatar
Thomas_BA
Junior Member
Junior Member
Posts: 41
Joined: 2004-10-02, 18:03 UTC
Location: Buenos Aires - Munic
Contact:

Post by *Thomas_BA »

I just tried that InstallExporer Port 2004-06-04 Plugin. Cant get it to run. Somebody can give me a link to a setup.exe which this plugin is able to open?
Ciao
Thomas
(for now in Buenos Aires)
User avatar
Sam_Zen
Power Member
Power Member
Posts: 700
Joined: 2005-02-08, 22:59 UTC
Location: NL
Contact:

Post by *Sam_Zen »

2Sir_SiLvA
You are right about that. The new plugin-zips of TC also comtain this installation-phase in between unpacking.
The tip was meant to be for other applications, that mostly doesn't use this option, as a quick check.
0.618033988
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

@Thomas_BA:
For example the VLC setup file vlc-0.8.1-win32.exe, NSIS installer:
http://www.videolan.org/vlc/download-windows.html

Make sure that you adjust path of 6InstExpl.dll in IETotal.ini or put the dll in same directory as plugin. It's all in Readme...

Icfu
This account is for sale
User avatar
Thomas_BA
Junior Member
Junior Member
Posts: 41
Joined: 2004-10-02, 18:03 UTC
Location: Buenos Aires - Munic
Contact:

Post by *Thomas_BA »

Thanks, working great :)
Ciao
Thomas
(for now in Buenos Aires)
User avatar
Thomas_BA
Junior Member
Junior Member
Posts: 41
Joined: 2004-10-02, 18:03 UTC
Location: Buenos Aires - Munic
Contact:

Post by *Thomas_BA »

Me again:
Two Problems:
By doubleklick on each exe file, the plugin wants to open the file, even if it is a normal exe file. Is it possoible to configure the plugin that opening by plugin only happens by Alt+Pagedown, and that the exe files will be executed by doublecklicking them?

Second:
Tested it with some setup.exe files. File will be opend, than i see a bin and script file inside. Openening them shows no further files, empty. Even if the bin file has about 70MB.

I am missing something?
Ciao
Thomas
(for now in Buenos Aires)
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

Just use a dummy extension like "*IETotal" for example instead of exe.
Alternatively you can add 256 to the number you see in the line in wincmd.ini.

So, either change

Code: Select all

exe=64,X:\Path\To\IETotal.wcx
to

Code: Select all

exe=320,X:\Path\To\IETotal.wcx
or

Code: Select all

*IETotal=64,X:\Path\To\IETotal.wcx
or

Code: Select all

*IETotal=320,X:\Path\To\IETotal.wcx
I am missing something?
You musn't expect that all the secrets are discovered when using a plugin. Some developers don't want you to see what's inside so you won't see it.

Icfu
This account is for sale
Post Reply