Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Name: El-Trucha
Hello every1!!
OK, I need a DOS program that zips up files and then saves the ZIP to an EXE that runs another program inside the ZIP when it's executed...I need a command-line program, I dont care if it's DOS or Windows...:P
I have an application called "ZIP 2 Secure EXE", but it's not command-line...:(
What program should I use?? I dont care if I need 2 use multiple programs...;)
Thanx!! :)El-Trucha
http://www.masterleito.ath.cx
ftp://tsfc.homeftp.net
hotline://tsfc.ath.cx

The classic PKZip and companion Zip2Exe were the DOS utilities most often used. Other archivers could create self extracting files in their own format (ARJ, RAR, LZH etc)
Even WinZip offers a command line utility, but you can use it's graphical interface to create SFX files by various means.
The secret of life is honesty and fair dealing..if you can fake that, you've got it made.

Yeah...I already tried that, but how do I make it run an EXE inside the ZIP when its run?? :P
Thanx!! ;)El-Trucha
http://www.masterleito.ath.cx
ftp://tsfc.homeftp.net
hotline://tsfc.ath.cx

Wha.. ?
Doesn't really work that way.
To run a program 'from inside' an archive, it has to be extracted somewhere
Programs like ZipMagic allow you the illusion of that - Zips appear as folders and can be treated as such.
Not really sure what you're trying to do - sounds like you're trying to put together some sort of installer package - which is somewhat more than an SFX.
The secret of life is honesty and fair dealing..if you can fake that, you've got it made.

What I want to do is to extract the files to a temporary folder automatically, and then run a program in the folder, all when u run the program...:P
Thanx!! ;)El-Trucha
http://www.masterleito.ath.cx
ftp://tsfc.homeftp.net
hotline://tsfc.ath.cx

Ok - well, it may require a bit of effort, but ARJ for DOS had that capability - from the ARJ manual:
HOW TO CUSTOMIZE AN EXECUTABLE-SELF EXTRACTING ARJ ARCHIVE
'It is possible to customize an ARJ self extracting archive to execute command line options as if the user typed in the options'
If you're unfamiliar with ARJ, it has an enormous number of options and switches - likely to be a bit of a learning curve.
The secret of life is honesty and fair dealing..if you can fake that, you've got it made.

You just described what seems to be a revelation amoung XP users in that it is installed by default on those machines and all one has to do is type iexpress into the Run Box to get started building your own MS update type of self extracting, self installing executable. You will need Windows and it's 32 bit file system to pull it off though. The program has actually been around since NT days so nothing really new about it.
See this KB article on it and find a download location for XP less peoples.
http://support.microsoft.com/?kbid=237803
A bit more info here.
http://www.calwell.ca/article.php?story=2004062014591936Copy, Paste into Notepad, Save As an .inf file the following lines. Then right click and choose Install to associate .sed file type such that you can just double click one to launch iexpress. Or launch it from the Start Menu just like a real program. Make sure you have installed the downloaded files to your System or System32(NT) folder first. Shortcuts don't get made if the executable is not where it's supposed to be (no icon to work with).
; IExpress Installer Inf
;[version]
signature="$CHICAGO$"
AdvancedINF=2.5, "You need a newer version of Advpack.dll"[DestinationDirs]
Cpyfile =11 ;Windows\System LDID number
; also WinNT\System32 LDID number[DefaultInstall]
AddReg=Adkeys
UpdateInis=MakLnk[Adkeys]
HKLM,"Software\CLASSES\.sed",,,"SEDfile"
HKLM,"Software\CLASSES\.sed","Content Type",,"text/config"
HKLM,"Software\CLASSES\.sed\ShellNew","NullFile"
HKLM,"Software\CLASSES\SEDFile",,,"Iexpress SED"
HKLM,"Software\CLASSES\SEDFile\DefaultIcon",,,"iexpress.exe,-2201"
HKLM,"Software\CLASSES\SEDFile\shell\open",,,"&Open"
HKLM,"Software\CLASSES\SEDFile\shell\open\command",,,"%11%\iexpress.exe %1"
HKLM,"Software\CLASSES\SEDFile\shell\print",,,"&Print"
HKLM,"Software\CLASSES\SEDFile\shell\print\command",,,"%10%\NOTEPAD.exe /p %1"
HKLM,"Software\CLASSES\SEDFile\shell\edit",,,"&Edit"
HKLM,"Software\CLASSES\SEDFile\shell\edit\command",,,"%10%\NOTEPAD.exe %1"[MakLnk]
setup.ini, progman.groups,,"group0="
setup.ini, group0,,"""IExpress"",""""""%11%\Iexpress.exe"""""",,,,,Iexpress"

Mechanix2Go;
I need a self extracting, with auto-execute EXE after extracted...:Pjboy;
OK!! I'll try ARJ...thanx!! ;)melee5';
Iexpress was my first tought, but its not command-line...:(
Actually, I need a command-line AND small program...:PThanx every1!! ;)
El-Trucha
http://www.masterleito.ath.cx
ftp://tsfc.homeftp.net
hotline://tsfc.ath.cx

ARJ has a ridiculous number of options - I doubt if I ever used a tenth of them all of the years I've worked with it. As a command line archiver, hard to beat - supports LFNs as well.
Kind of shareware now, but there are, I think, freeware/nagless versions around.
The secret of life is honesty and fair dealing..if you can fake that, you've got it made.

Well, I looked for it, but I only found that shareware version...:@
What's the freeware called?? :P
Thanx!! ;)El-Trucha
http://www.masterleito.ath.cx
ftp://tsfc.homeftp.net
hotline://tsfc.ath.cx

Check your email
Never argue with an idiot. They will only bring you down to their level and beat you with experience

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |