flat assembler
Message board for the users of flat assembler.

Index > Windows > Small SFX Loader

Author
Thread Post new topic Reply to topic
Alex



Joined: 05 Nov 2003
Posts: 5
Alex
Hello,

I have written a SFX-Loader with Delphi. Compress with UPX only 120kb size.

Bud It only start and extract. No Forms, because it is to large.

Who can write a simple small Header.
Edit, Browse - Button to select folder. Write Folder in Edit.
Button for Extract - Write ParamStr(0) 4096bytes too end to Edit1.text and shellexecute
EXE - Delphi-Loader.
Button for about!!

Who can help...

Thanksss
Post 31 Dec 2003, 19:56
View user's profile Send private message Reply with quote
jInuQ



Joined: 26 Jun 2003
Posts: 48
Location: USA - NV
jInuQ
Is the SFX for an exitisting compression scheme?
Not to be mean ,but it seem self defeating to write the loader of the SFX module in assembly and the SFX module in Delphi.

_________________
jInuQ

"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away."
- Antoine de Saint Exupery
Post 31 Dec 2003, 23:01
View user's profile Send private message Visit poster's website AIM Address Reply with quote
Alex



Joined: 05 Nov 2003
Posts: 5
Alex
Hello,

If you start (shellexecute) the delphi loader then delphi loader extract all files in the current dir.
DelphiLoader do not have forms. Because if I compile VCL include it will be 150kb bigger.
So with assembler it is smaller. I think 4096 bytes.

ASM+DelphiLoader+Archive

ASM Questions the path and press extract then Extract DelphiLoader to end of file
and shellexecute the file. The rest make the delphi loader.
Post 01 Jan 2004, 09:23
View user's profile Send private message Reply with quote
Alex



Joined: 05 Nov 2003
Posts: 5
Alex
Hello,

i have code the small SFX Loader.
I do not know the code to copy ParamStr(0) (Application.Exename) to 4096 (ASM-SFX)
programm to end of file. Copy it to Edit folder and shellexecute this.

I have write it to masm can you translate it in fasm?


Description:
Download
Filename: sfx.zip
Filesize: 3.6 KB
Downloaded: 259 Time(s)

Post 04 Jan 2004, 09:46
View user's profile Send private message Reply with quote
jInuQ



Joined: 26 Jun 2003
Posts: 48
Location: USA - NV
jInuQ
The only thing coming to mind is to use fasm's file option to include the loader then save out the loader and do a shellexec with a command line containing the path to extract the files. I won't be able to play with the code you provided for a couple of days at the soonest, as my hard drive is be problamatic.

As to my original question. Is the SFX module for a standard compression scheme (e.g. zip, tar.gz, bz2, rar, etc)?

_________________
jInuQ

"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away."
- Antoine de Saint Exupery
Post 04 Jan 2004, 10:12
View user's profile Send private message Visit poster's website AIM Address Reply with quote
Alex



Joined: 05 Nov 2003
Posts: 5
Alex
Hello,

No no standard Archive. My own. Coded in Delphi. Include in VCL.
DelphiLoader Extract the Archive.


Bud I supported standard Archives. There are fasm sourcecodes to extract this codes?
Post 04 Jan 2004, 15:26
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar.

Powered by rwasa.