flat assembler
Message board for the users of flat assembler.

Index > Projects and Ideas > [DONE] FASM Internet Installer

Author
Thread Post new topic Reply to topic
OzzY



Joined: 19 Sep 2003
Posts: 1029
Location: Everywhere
OzzY
Hi friends!
The first steps on my new project are done!
Here it is, my FASM Internet Installer! Laughing

[Version 0.1]
Features:
* Fully coded in FASM
* Light-weight (105KB) (includes Info-zip bundled in the EXE to unpack files)
* Fast
* Downloads FASMW current version, whatever number it has. (Ex: fasmw167.zip, fasmw187.zip,...)
* Extracts the files from the zip file automatically
* Works as installer if no FASMW is installed. Works as updater if executed from the FASM installation folder.

Known bugs:
* Just works if executed from a path with NO SPACES

Comments:
This version just includes the executable, because the source is a mess and I don't want anybody to see this! Very Happy
This is a not optimized alpha-version, but is working OK.
New version with new features comming soon (with source-code).

Thanks to:
Tomasz: For the great FASM! Smile
vbVeryBeginner: For the rc->fasm macros converter
Vortex: For the scan utility
Info-Zip guys: Thanks for the tool!
Everybody who answered my boring questions
Anyone I have forgotten the name Laughing

Binaries:


Description: UPDATER.EXE
Execute from your FASMW folder to update it or from an empy folder to install.
Don't use paths with spaces!
Enjoy, test and post your comments!

Download
Filename: fasm_updater.7z
Filesize: 87.54 KB
Downloaded: 522 Time(s)

Post 10 Oct 2006, 01:29
View user's profile Send private message Reply with quote
sylwek32



Joined: 27 Apr 2006
Posts: 339
sylwek32
Thanks OzzY..
Could you publish the sourcecode?
Post 10 Oct 2006, 05:28
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7106
Location: Slovakia
vid
Could you also think about those spaces? you know, "C:\Program Files\FASM"
Post 10 Oct 2006, 07:02
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
OzzY



Joined: 19 Sep 2003
Posts: 1029
Location: Everywhere
OzzY
I'm gonna release a new version soon.
The spaces limitation is because I was using DOS version of Info-zip.
Next version will use Windows version.
Next version will also download/install FASM for DOS, Win32API docs, Help PC...

OK. Here are the sources. But I advice that it has no comments and is very badly organized. I often do "Quick and dirty" things to see working and then I build a better version with better source-code.

To assemble this:
Quote:

cscript //NoLogo rcc.vbs rsrc.rc > rsrc.inc
scan updater.asm -f
fasm updater.asm

Requires unzip32.exe on the same folder.
It will use the great FASM directive 'file' to load the unzip32.exe inside the source, and there's a code to drop it and execute, and delete it when finished.

Enjoy!
My goal is to build a FASM Internet Installer/Updater to make it easy to install/update FASM.
If you want to help please post your sources!
A download with progressbar would be nice!


Description:
Download
Filename: updater_sources.7z
Filesize: 96.37 KB
Downloaded: 527 Time(s)

Post 11 Oct 2006, 15:53
View user's profile Send private message Reply with quote
Quantum



Joined: 24 Jun 2005
Posts: 122
Quantum
Quote:

The spaces limitation is because I was using DOS version of Info-zip.

There's an API function GetShortPathName
Post 12 Oct 2006, 19:37
View user's profile Send private message Reply with quote
OzzY



Joined: 19 Sep 2003
Posts: 1029
Location: Everywhere
OzzY
I'm about to update this by doing a full rewrite. I'll try to use unzip32.dll instead of bundling the unzip.exe and calling it.

Also will make this more full featured and easier to use.

Please make sugestions for features you like. I'll start coding it today.
I'll try to make a very well-organized source to be easy to read.

I think I'll add the option to download and install WIN32 API reference too and maybe a linker.

Feel free to write sugestions. ;D
Post 02 Feb 2008, 17:56
View user's profile Send private message Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4216
Location: 2018
edfed
about folder names with spaces, fasm too have this problem:

could not load file.

very boring. shall be in one of the next releases.
Post 02 Feb 2008, 18:57
View user's profile Send private message Visit poster's website Reply with quote
Raedwulf



Joined: 13 Jul 2005
Posts: 375
Location: United Kingdom
Raedwulf
Rewrite unzip/inflate code in pure FASM xD. That would be cool.

_________________
Raedwulf
Post 04 Feb 2008, 08:35
View user's profile Send private message MSN Messenger 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-2019, Tomasz Grysztar.

Powered by rwasa.