|
-
Apr 19th, 2002, 10:12 AM
#1
Thread Starter
Addicted Member
making an installer?
You know when you download programs off the internet you run an installation program that extracts all the files and saves 'em to your hard drive. Is it possible to make something like that in VB? How would you go about doing that?
-George
-
Apr 19th, 2002, 10:14 AM
#2
no you cant make an installer with VB. You would have to install the installer since it would require the VB runtime..and that is juts dumb.
-
Apr 19th, 2002, 10:18 AM
#3
Fanatic Member
It is possible.
The easiest way (although not using VB for the installer), is to have winzip create an exe. This would auto-extract all the files.
Another easy way is to use the package & deployment wizard (included with VB).
You could also write your own program (you would need to have the vb runtimes in the programs folder or in the system folder). You would either have to reasearch ways to compress the files, not compress the files, or search the web for predisgined compressing rotuines. Then, use the rotines to compress the files togather, and include them with the exe. This would create a completely custom installer (and would require a lot of work).
-
Apr 19th, 2002, 10:24 AM
#4
compressing/decomprssing the files is not the issue and you seasily add files to a cab file. The issue is you would have to have all the vb runtime stuff installed ebfore someone could use the setup.exe program you make...just doesnt make sense to do that..install an installer so that someone can install your app..
-
Apr 19th, 2002, 10:38 AM
#5
Fanatic Member
You can also have the files located in the same folder as the installer (I have done this before with sucess).
-
Apr 19th, 2002, 10:41 AM
#6
Fanatic Member
Or as I said, you could also ue the package and deployment wizard (which creates a VB-based installer with the runtimes taken care of by microsoft). The wizard's file will work on any computer running win 95+/nt 4+, aslong as it is a P1 75MHZ. It wouldn't need the runtimes to work.
-
Apr 19th, 2002, 10:46 AM
#7
Myth:
Package & Deployment Wizard is a Vb based installer.
That a big no no. Package And Deployment Wizard is just a wizard that creates a cab file with required files and the setup.lst file. The actual setup.exe file is a precompiled exe written in c
-
Apr 19th, 2002, 10:51 AM
#8
Fanatic Member
Then how come you can modify the look of the installer though vb?
-
Apr 19th, 2002, 10:57 AM
#9
Fanatic Member
by modifying the setup1 project and setup.lst file.
But make a duplicate of it first
"C:\Program Files\Microsoft Visual Studio\VB98\Wizards\PDWizard\Setup1\Setup1.vbp"
Last edited by 007shahid; Apr 19th, 2002 at 11:08 AM.
THE TIME/WEATHER IS 
Don't know how to use APIs or have problem with them,
Download API-Guide & API-Viewer from http://www.allapi.net
-
Apr 19th, 2002, 11:07 AM
#10
Fanatic Member
You must have missed the Come in my last post:
Then how come you can modify the look of the installer though vb?
-
Apr 19th, 2002, 11:10 AM
#11
Fanatic Member
oops
THE TIME/WEATHER IS 
Don't know how to use APIs or have problem with them,
Download API-Guide & API-Viewer from http://www.allapi.net
-
Apr 19th, 2002, 11:14 AM
#12
Fanatic Member
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
|