|
|
#1 |
|
Junior Member
|
I mean what Dll's do i need to redisdribute, can the components adding and finding be done automatically, or do i need to know what components are my app using then copying these files and making the script.
I an doing an app that uses winsock, how can i add the winsock dll's to my installation? thanks in advance |
|
|
|
|
|
#2 |
|
Junior Member
|
An easy way to find all components is to use the VB Package Wizard. It will create the (rather pathetic) setup program. From this, grab the setup.ini file and viola! you have the file list.
Another method, is to go to the components and references menus of VB and grab the filename for every DLL/OCX which is used. |
|
|
|
|
|
#3 |
|
Junior Member
|
I haven't tought about that, another question, do i need to grab that files manually or NSIS will do that for me
|
|
|
|
|
|
#4 |
|
Senior Member
Join Date: Mar 2001
Location: Holland
Posts: 269
|
I know the problem - I wrote a script which correctly installs all the required VB DLLs - but that's about 1.2 MB.
Instead, I redistribute the Microsoft VBRUN60.EXE - only 1.0 MB. I have VB-Run 6.0 SP 5 (most sites have older versions) on my website http://www.tibed.net/files/vbrun60.exe If you extract it to a temporary folder, run it with the /Q quiet switch, all will be well. WARNING: install them as the last thing! This file will ask the user if he wants to restart the computer if it updated system files - and the rest of your installer won't get executed (that gave me a headache - only found out after 4 months). |
|
|
|
|
|
#6 |
|
Junior Member
|
wow
you saved me a hell of a headache, thanks buddy
|
|
|
|
|
|
#7 |
|
Junior Member
|
hry
can anyone give me a sample script for a vb installation, i would like to have that
|
|
|
|
|
|
#8 |
|
Senior Member
Join Date: Mar 2001
Location: Holland
Posts: 269
|
If you want the 'seperate file' one: look in this thread for my post:
http://forums.winamp.com/showthread.php?threadid=44869 If you want the distro one, say so, and I'll look it up. |
|
|
|
|
|
#9 |
|
Senior Member
|
Koen van de Sande (who we all love
) gave an example of installing VB runtimes here: http://forums.winamp.com/showthread....t=visual+basic
all work and no play makes jack a dull boy |
|
|
|
|
|
#10 |
|
Senior Member
|
doh Koen!!! I gave the same reply but you beat me to it!
all work and no play makes jack a dull boy |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|