Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 2nd November 2001, 17:13   #1
mayanwarrior
Junior Member
 
Join Date: Sep 2001
Location: San pedro sula Honduras
Posts: 14
Send a message via Yahoo to mayanwarrior
Exclamation How can i make an installation for a VB program?

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
mayanwarrior is offline   Reply With Quote
Old 2nd November 2001, 17:22   #2
locnar42
Junior Member
 
Join Date: Oct 2001
Location: kansas city
Posts: 45
Send a message via Yahoo to locnar42
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.
locnar42 is offline   Reply With Quote
Old 2nd November 2001, 17:33   #3
mayanwarrior
Junior Member
 
Join Date: Sep 2001
Location: San pedro sula Honduras
Posts: 14
Send a message via Yahoo to mayanwarrior
Thumbs up THANKS

I haven't tought about that, another question, do i need to grab that files manually or NSIS will do that for me
mayanwarrior is offline   Reply With Quote
Old 2nd November 2001, 18:15   #4
Koen van de Sande
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).

Koen van de Sande
Van de Sande Productions
TibEd.net | VPatch
Koen van de Sande is offline   Reply With Quote
Old 2nd November 2001, 18:16   #5
Koen van de Sande
Senior Member
 
Join Date: Mar 2001
Location: Holland
Posts: 269
Forgot to say: the Microsoft distro does not include any OCX'es. But you can include them in your NSIS installer and use RegDLL to register them.

Koen van de Sande
Van de Sande Productions
TibEd.net | VPatch
Koen van de Sande is offline   Reply With Quote
Old 2nd November 2001, 18:24   #6
mayanwarrior
Junior Member
 
Join Date: Sep 2001
Location: San pedro sula Honduras
Posts: 14
Send a message via Yahoo to mayanwarrior
wow

you saved me a hell of a headache, thanks buddy
mayanwarrior is offline   Reply With Quote
Old 2nd November 2001, 19:12   #7
mayanwarrior
Junior Member
 
Join Date: Sep 2001
Location: San pedro sula Honduras
Posts: 14
Send a message via Yahoo to mayanwarrior
hry

can anyone give me a sample script for a vb installation, i would like to have that
mayanwarrior is offline   Reply With Quote
Old 2nd November 2001, 20:33   #8
Koen van de Sande
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.

Koen van de Sande
Van de Sande Productions
TibEd.net | VPatch
Koen van de Sande is offline   Reply With Quote
Old 2nd November 2001, 20:36   #9
spanky
Senior Member
 
Join Date: May 2000
Posts: 295
Send a message via ICQ to spanky
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
spanky is offline   Reply With Quote
Old 2nd November 2001, 20:38   #10
spanky
Senior Member
 
Join Date: May 2000
Posts: 295
Send a message via ICQ to spanky
doh Koen!!! I gave the same reply but you beat me to it!

all work and no play makes jack a dull boy
spanky is offline   Reply With Quote
Old 2nd November 2001, 21:01   #11
Koen van de Sande
Senior Member
 
Join Date: Mar 2001
Location: Holland
Posts: 269
Never mind
It's the thought that counts.

Koen van de Sande
Van de Sande Productions
TibEd.net | VPatch
Koen van de Sande is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump