|
-
Feb 23rd, 2010, 05:55 PM
#1
Thread Starter
Hyperactive Member
Looking for lightweight FTP/HTTP-based installer
Hey guys,
I'm looking for a lightweight .EXE builder that requires no extra frameworks (.NET or otherwise) and can retrieve and unpackage a file from the internet (either HTTP or FTP), then proceed to launch the setup executable received from the internet.
I've seen a lot of software companies do this - basically you download a .EXE that's usually less than 1.0 MB, and it proceeds to retrieve the full setup file from the internet.
I believe Adobe products like Reader do this, although that's a bad example because their installer is very bloated compared to what I'm seeking.
Does anyone know of something out there that I could use for this?
Let me know if you need any clarification! 
David
-
Feb 23rd, 2010, 09:34 PM
#2
Re: Looking for lightweight FTP/HTTP-based installer
Sounds pretty easy.
Windows has had Visual-Basic 6.0 runtime components in place since Win98SE. With testing to be sure, even an old Service Pack level should work.
By using the AsyncRead method of a UserControl you can do the download. Locating (and saving the download into) the user profile's temp folder is no big deal. A progressbar, etc. can be trivially constructed using intrinsic controls. A "shell and wait" routine based on a few API calls is simple too.
Download, run, await completion, then delete the download.
Sounds easy, and the pieces and parts I described have all been discussed in these forums.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|