Page 2 of 2

Re: installing spring on windows (if installer fails)

Posted: 01 May 2008, 02:46
by momfreeek
ok. How about more information on download page?

Currently there are 2 routes to find the sites to download maps & mods.

1. links at top of lobby.
2. click 'faq'
- find 'where to download more maps' and follow the link

Shouldn't the links to fileservers be on the download page? If installer fails you can't reach the lobby and finding mods and maps to download is far from intuitive.

Re: installing spring on windows (if installer fails)

Posted: 01 May 2008, 02:47
by Forboding Angel
Thanks for that guys, I checked with overkill and caiphias in the lobby and they reported the same. I just told em to pick a random map and download it.

I'm gonna direct the dreamhost guys to this thread. Hopefully there will be some resolution to it all, cause atm I'm somewhat annoyed.

Re: installing spring on windows (if installer fails)

Posted: 01 May 2008, 04:22
by momfreeek
this any help Matt?

http://www.fredshack.com/docs/nsis.html

Code: Select all

Downloading a file from the web

Here, we check if a file exists on the host; If not, we download it from the web, and run it silently:

    Section "VB5 Runtime" 
            ;Quick and dirty way to check if the runtime is installed 
            IfFileExists "$SYSDIR\msvbvm50.dll" end 
      
            StrCpy $1 "msvbvm50.exe" 
            StrCpy $2 "$SYSDIR\$1" 
            NSISdl::download "http://www.acme.com/downloads/$1" $2 
            Pop $R0 
            StrCmp $R0 "success" install 
            MessageBox MB_OK|MB_ICONSTOP "Error while downloading $1." 
            Quit 
      
    install: 
            ExecWait "$2 /q" 
      
    end: 
            DetailPrint "Runtime VB5 OK." 
    SectionEnd 
      
    Function .onInit 
            Call ConnectInternet 
    FunctionEnd 
      
    Function ConnectInternet 
      Push $R0 
          
      ClearErrors 
      Dialer::AttemptConnect 
      IfErrors noie3 
      Pop $R0 
      StrCmp $R0 "online" connected 
        MessageBox MB_OK|MB_ICONSTOP "Check Internet connection." 
        Quit 
        
      noie3: 
            ; IE3 not installed 
            MessageBox MB_OK|MB_ICONSTOP "Internet Explorer not installed." 
            Quit 
             
      connected: 
              Pop $R0 
    FunctionEnd 

Re: installing spring on windows (if installer fails)

Posted: 01 May 2008, 14:32
by LordMatt
That is using a different function to download files than we are currently using. I'll look into it.