Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 17th April 2001, 09:00   #1
spanky
Senior Member
 
Join Date: May 2000
Posts: 295
Send a message via ICQ to spanky
I think having a "Web Install" option would be 'gnarly'

Instead of packaging all the files into 1 exe why not download an installer (like Netscape's setup) that transfers the necessary files from the web?

Maybe even have the option to store a text file on a specified server and have the installer download that file first.. this file would contain the filenames (and locations) of what to download.
This way people would use the installer as an updater too.

Excuse me if I come across as confusing. I am a bit drunk at the moment. =)

all work and no play makes jack a dull boy
spanky is offline   Reply With Quote
Old 17th April 2001, 15:47   #2
Bor
Junior Member
 
Join Date: Mar 2001
Posts: 33
Best ideas.

I also was thinking about such feature. I think it is a good idea.

Bor.

PS. My best ideas also come when I'm drunk, the only problem is remembering them the next morning.
Bor is offline   Reply With Quote
Old 17th April 2001, 19:32   #3
Koen van de Sande
Senior Member
 
Join Date: Mar 2001
Location: Holland
Posts: 269
Personally, I hate web installs.

And it's probably a lot of work (you'd need to include a complete downloader).
Do you want such a complex (and error-prone) feature?

Koen van de Sande
Van de Sande Productions
TibEd.net | VPatch
Koen van de Sande is offline   Reply With Quote
Old 17th April 2001, 19:49   #4
Bor
Junior Member
 
Join Date: Mar 2001
Posts: 33
Not now, for the future

First let Justin make NSIS a good (not to degrade the installer, it is already damn good) "normal" installer and after that add the web-feature, if there is enough demand for it.
Bor is offline   Reply With Quote
Old 17th April 2001, 20:18   #5
polaughlin
Junior Member
 
Join Date: Mar 2001
Location: Maryland, USA
Posts: 25
Send a message via ICQ to polaughlin Send a message via AIM to polaughlin
Good for VB

I think it would be great for VB applications that would need runtimes/ocx's/etc. This way, you could have one installer download and then when the user installs it, if they need any of the required files, they can download them.
polaughlin is offline   Reply With Quote
Old 17th April 2001, 20:35   #6
Edgewize
Member
 
Join Date: Apr 2001
Posts: 89
Re: Good for VB

I don't like internet installs because they depend on the reliability of the server at all times. Nobody can mirror your files if the install script always looks in the same place - and what if you change web hosts? Ugh.

Quote:
Originally posted by polaughlin
I think it would be great for VB applications that would need runtimes/ocx's/etc. This way, you could have one installer download and then when the user installs it, if they need any of the required files, they can download them.
Or you could do what I've done, and test for the VB runtime files and re-direct the user to download something else if they don't exist:
code:

IfFileExists "$SYSDIR\msvbvm60.dll" 0 5
IfFileExists "$SYSDIR\mscomctl.ocx" 0 4
IfFileExists "$SYSDIR\mscomct2.ocx" 0 3
IfFileExists "$SYSDIR\comdlg32.ocx" 0 2
IfFileExists "$SYSDIR\tabctl32.ocx" 0 1
Jump 2
MessageBox MB_YESNO "You are missing support files. Download them now?" IDNO 1
ExecShell "" "http://path.to/download/vbruntime.exe"



Nifty, eh?
Edgewize is offline   Reply With Quote
Old 17th April 2001, 20:39   #7
polaughlin
Junior Member
 
Join Date: Mar 2001
Location: Maryland, USA
Posts: 25
Send a message via ICQ to polaughlin Send a message via AIM to polaughlin
Good call!
polaughlin is offline   Reply With Quote
Old 18th April 2001, 02:25   #8
carlito_au
Senior Member
 
Join Date: Nov 2000
Location: Sydney, Australia, Earth
Posts: 462
Send a message via ICQ to carlito_au Send a message via AIM to carlito_au Send a message via Yahoo to carlito_au
this is what i did in a .vbs file that my nsis script runs:
code:

Dim fso
Set fso = CreateObject("Scripting.FileSystemObject")
If not fso.FileExists("C:\Windows\System\ASYCFILT.DLL") then
msgbox "The file ASYCFILT.DLL can't be found.", 64
end if
If not fso.FileExists("C:\Windows\System\COMCAT.DLL") then
msgbox "The file COMCAT.DLL can't be found.", 64
end if
If not fso.FileExists("C:\Windows\System\MSVBVM60.DLL") then
msgbox "The VB6 runtime files can't be found.", 64
end if
If not fso.FileExists("C:\Windows\System\OLEAUT32.DLL") then
msgbox "The file OLEAUT32.DLL can't be found.", 64
end if
If not fso.FileExists("C:\Windows\System\STDOLE2.TLB") then
msgbox "The file STDOLE2.TLB can't be found.", 64
end if
If not fso.FileExists("C:\Windows\System\Olepro32.DLL") then
msgbox "The file Olepro32.DLL can't be found.", 64
end if
msgbox "If this is the first message box you've seen then
you're all set and ready to use the program. If any file
was reported missing then you'll need to install the VB6
runtime files.", 64

carlito_au is offline   Reply With Quote
Old 18th April 2001, 03:26   #9
rainwater
Senior Member
 
Join Date: Aug 2000
Posts: 396
Send a message via ICQ to rainwater
I have windows installed on d:\ so that wouldn't work.
rainwater is offline   Reply With Quote
Old 18th April 2001, 05:03   #10
spanky
Senior Member
 
Join Date: May 2000
Posts: 295
Send a message via ICQ to spanky
After sobering up a bit I remembered that I hate web installs. What was I thinking?!
I must say I agree with you, Koen van de Sande

all work and no play makes jack a dull boy
spanky is offline   Reply With Quote
Old 18th April 2001, 05:27   #11
scottyc
Major Dude
 
scottyc's Avatar
 
Join Date: Feb 2001
Location: Houston, TX, USA
Posts: 584
Send a message via AIM to scottyc
Quote:
Originally posted by spanky
After sobering up a bit I remembered that I hate web installs. What was I thinking?!
I knew this would happen. Sorry I didn't get to you sooner in the thread. Just wanted to warn you that posting while drunk is NEVAR a good idea! You will always do something silly! Or i always do!*




*I'm not drunk right now.
scottyc is offline   Reply With Quote
Old 25th April 2001, 10:13   #12
saivert
Banned
 
saivert's Avatar
 
Join Date: Jan 2001
Location: Norway
Posts: 927
Ohh please.....

It's funny to play drunk in the forums, but when it's time to calm down we do...
code:

---------------------------------------------
| And I thought of Web Installs first!!!! |
---------------------------------------------

saivert is offline   Reply With Quote
Old 25th April 2001, 20:06   #13
webspider84
Junior Member
 
Join Date: Apr 2001
Posts: 7
Send a message via ICQ to webspider84
if anyone DARES destroy NSIS with a webinstall that would be the END. Have u ever tred one of these your self????????????? They are that worst thing EVER. Please Please do not destroy NSIS with one it is a great Installer as it is!
webspider84 is offline   Reply With Quote
Old 25th April 2001, 21:05   #14
NickC
Junior Member
 
Join Date: Apr 2001
Posts: 8
Send a message via ICQ to NickC
yeah but in some cases (like with me where files are updated regularly) a web installer would be a great addition to NSIS.
NickC 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