Important alert: (current site time 7/16/2013 3:37:27 AM EDT)
 

winzip icon

Setup program III

Email
Submitted on: 7/10/2000 10:37:16 PM
By: Ronnie Staxborn 
Level: Intermediate
User Rating: By 40 Users
Compatibility: VB 5.0, VB 6.0
Views: 43548
author picture
(About the author)
 
     UPDATED (ver 1.3)! If you have done a program you maybe want to make your own Installer program for it. Here it is. Your own Installer program with compression. You can make the Installer just like you want. Or if you want to make a Setup program like Wise Install or Install-us. Make one yourself. New in this version (1.3) is a working Install directory. It will add shortcuts to your program. And a much better interface. Please VOTE if you like the program. Do you want to make more money while you programming? Goto: http://www.paidforsurf.com/index.asp?refid=rompa and get paid.

 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
  3. Scan the source code with Minnow's Project Scanner

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 4 submission(s) by this author

 


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Intermediate category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments
7/11/2000 4:03:14 AMNewmann

i'm currently making an setup program as well... this code will definetly help me to finish it up a lot faster... thanks a lot...
(If this comment was disrespectful, please report it.)

 
7/11/2000 4:19:51 AMStuart

Are the included zip32.dll & unzip32.dll files free to distribute?
(If this comment was disrespectful, please report it.)

 
7/11/2000 4:48:22 AMChris

Good idea and good work. Some bugs, but it's really works. Thanks so much. ;-))
(If this comment was disrespectful, please report it.)

 
7/11/2000 8:56:17 AMRoss Nelson

Yes, zip and unzip 32.dll (s) are free to distribute (as long as they are the InfoZip ones).
(If this comment was disrespectful, please report it.)

 
7/11/2000 2:37:13 PMRonnie Staxborn

Thank you all for your kind comments. And yes all codes and files are for free. And remember, if you like the code, please VOTE. Ronnie
(If this comment was disrespectful, please report it.)

 
7/11/2000 3:12:12 PMdeeg15

how can i edit the installer.exe template ???
(If this comment was disrespectful, please report it.)

 
7/11/2000 3:38:34 PMRonnie Staxborn

You can customize the Installer Template in the folder "install". You can make your own "skin" to the program from there. And make it exactly as you want it. Compile the Installer.exe when you are done. In the folder "Makesetup" you can costumize the Settings for the Installer.

(If this comment was disrespectful, please report it.)

 
7/14/2000 12:27:03 PMChristian

This cant be used as an installer. If you knew a litle about the bad things in VB, you would know why we make installers. VB requieres a lot of runtime fils. Soo do your installer. That means, you have to make a installer that installs your program, and then uses your installer to install the actual program.

Have a nice day
(If this comment was disrespectful, please report it.)

 
7/14/2000 11:46:38 PMWicked_Willy

You know Christian most companies do have an installer to install there installer. He doesn't have to have one now cuz it is a free code. If he was to have a web site he could have a dl for all the runtime files or have it packaged in a wise installer or something.
(If this comment was disrespectful, please report it.)

 
7/15/2000 9:06:53 AMRonnie Staxborn

True. And you can also use a program like fusion from Bit-arts where you make a fusion with VB6 runtime and your program (Installer). All in ONE exe file.
(If this comment was disrespectful, please report it.)

 
7/15/2000 2:44:42 PMWÏ©kÊÐ_WΣ£ÿ

Also in visual studio 6 there comes a installer with it so when u make your own programs there is an installer for it.
(If this comment was disrespectful, please report it.)

 
7/23/2000 9:55:29 PMFrancisco Torres Hernández

I belive that its Good!. I Test It.

(If this comment was disrespectful, please report it.)

 
8/4/2000 9:55:42 AMMichael Barnathan

Nice code, but you'd have to use Fusion for something like this, which sorta defeats the purpose of the installer. Still, nice code, rating it excellent.
(If this comment was disrespectful, please report it.)

 
8/4/2000 11:49:51 PMcandrews

You could find someone with C++ to make a simple bootstrapper kind of program do it. Have it copy the VB runtimes and the installer to a temp folder, then run the installer. Just look at the setup wizard that comes with VB5 and 6 - that's how it works!
(If this comment was disrespectful, please report it.)

 
8/5/2000 2:56:34 AMm_tomte

I've made a way better version! Actualy its the same, only at the start it creates Unzip.dll (VB creats it as a text file)! All you do it open the .dll in Notepad, copy all the text then tell VB to copy that info to a .dll file it just made and thats it =D
(If this comment was disrespectful, please report it.)

 
8/8/2000 1:23:04 AMEric Malamisura

Christian its a simple matter of binding the runtime control to the exe. I personally use a program called PEBundle by a company called Collakesoftware www.collakesoftware.com
when the exe is run for first time the runtimes are extracted to the system folder and wallah.. it runs! Simple as that!

(If this comment was disrespectful, please report it.)

 
8/10/2000 12:59:14 AMAndy

Um I hate to break the good news to you guys but there is a program called Fusion made by bit arts and it 'Wraps' all the runtime files together.
Check it out it is VERY cool
(If this comment was disrespectful, please report it.)

 
8/13/2000 4:19:59 AMDetonate

Andy, if you had even bothered to read anybody's posts in this thread you'd realise that you're not breaking any news by mentioning Fusion

Anyway Ronnie, nice code, even if you need an installer before using your installer (obviously not a production-level thing, but cool for giving progs to your mates etc i spose)
(If this comment was disrespectful, please report it.)

 
8/13/2000 5:52:09 AMChristian

This is not as good as everyie thinks. Its correct its posible to extract he runtimes etc. But i would really recommand useing a other setup because:
1: You can be almost 100% sure it works, and dosnt crashes.
2: No runtimes requiered
3: Many many more setup functions.

Here is a litle hint to you ppl who is interrested:

Install Shield is very expensive, but its really great. You can write your own code in it, it really expands the posibilaties.

Wise is good if you dont want to use many money. And its very simple to use, sometimes too simple.

There is many setup programs like Wise, which i also can recommand, one of them is Setup Factory from Indigorose http://www.indigorose.com

I hope i helped some one.

Chris
(If this comment was disrespectful, please report it.)

 
8/13/2000 10:21:21 AMQueTwo

Come on guys. He's giving you a FREE EXAMPLE on how to do these things. He is shareing his pride and joy with you. We know it's not production level, it's written in VB. We know it will not be as stable as a program that was written by PROFESSIONALS, who get PAID by their work. Use some common-sense guys. And thank you Ronnie, great code :)
(If this comment was disrespectful, please report it.)

 
8/13/2000 2:00:05 PMPaul M. Bryant Sr.

Just a thought; but you CAN, first back up the installer files that come with VB, and then just go in and open up the installer that comes with VB, and change the forms to what ever you like
(If this comment was disrespectful, please report it.)

 
8/29/2000 6:41:54 PMbickern

This may not be the app killer of the century, but give the guy a break.
He has used some good routines here that have been well thought out, keep up the good work.
(If this comment was disrespectful, please report it.)

 
8/30/2000 6:15:21 AMCoozzzzz

yes respect him for sharing his code but i do have the agree that VB is the worst language to program an installer on. Since people dont like to download large files, for the vb app installer to run you'd need atleast 5mb of additional files. And for VB6 i think if you dont have an updated system it wont run. I dont remember the error but in Win95, vb6 apps wouldnt run until i installed vb6 again. And no it wasnt because i was missing files. And i think you'd need alot of updated files for VB6 apps, like oleaut32.dll, etc etc.

anyways i didnt look at your code but nice work :)
(If this comment was disrespectful, please report it.)

 
9/2/2000 1:52:26 PMRoee Golan

I just wanna know how to create the exe and stored file in it so pleaseeeee can somebody send me a project of making exe file and files in it ??? i have a lot of good projects that i made and fixed, like unace the working version and short code of laser effects and many more so please contact me at:
rg12@inter.net.il
(If this comment was disrespectful, please report it.)

 
10/30/2000 2:53:28 PMchris

All Windows before Windows 98 need the ms Dcom98 'upgrade'.
(If this comment was disrespectful, please report it.)

 
12/19/2000 11:18:54 AMVasilis Sagonas

thanks for referring me ;-)
(If this comment was disrespectful, please report it.)

 
4/29/2001 11:57:40 AMMatthew

This is a really great program! excellent. for the runtime i suggest you just bundle a self-extracting archive. This is really great, greater that it looks. It's so profesional windows like looking!
(If this comment was disrespectful, please report it.)

 
5/30/2001 5:11:44 AMHummy(@mail.ru)

GRAND thanx form Siberia, Russia
(If this comment was disrespectful, please report it.)

 
10/7/2002 1:08:17 AMRazorWolf Software, LLC.

Hmmmm... One assumes that a person
using Visual Basic to create an
installation program for their software
would assume that the software to be
installed would require the runtime
files anyway... So installing them
before or during the installation
results in the same conclusion. They
are going to get them one way or
another... :)

Fusion is good, yes....
(If this comment was disrespectful, please report it.)

 
10/12/2002 11:55:19 PMSpazz

This thing is amazing. Well coded, nice. Good job, dude. Keep up the good work.
(If this comment was disrespectful, please report it.)

 
11/12/2002 9:13:08 PMT Nguyen

If you want to your vb runs on any machine, you have to put the program called runtime32.dll, or some of its require for the vb's app to run along with you app. Like: while you're making setup program you have to put the requires to it for later on another machine won't missing them.
(If this comment was disrespectful, please report it.)

 
12/18/2002 5:31:06 AMDanny Pryor

GOOD GOD ! How ungreatful you people are . It would seem that most of the people which have complained about this submission cannot spell nor' form a complete sentence . It's people like that that are really in need of free code .
(If this comment was disrespectful, please report it.)

 
4/22/2003 9:34:54 AM

When I use it, it dont work!
When I make the install thing adding the files it adds fine but when I go to install the files it says this:

'This file is damaged or it doesn't include any files.'
How do I make it work. How do you realy use this Program??? can you help me.
(If this comment was disrespectful, please report it.)

 
1/29/2004 10:52:28 AMZpage

I think that wasn't very good. You need the file 'unzip32.dll' inclued. Do it without this file...
(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.