installing spring on windows (if installer fails) - Page 2

installing spring on windows (if installer fails)

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

User avatar
momfreeek
Posts: 625
Joined: 29 Apr 2008, 16:50

Re: installing spring on windows (if installer fails)

Post 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.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: installing spring on windows (if installer fails)

Post 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.
User avatar
momfreeek
Posts: 625
Joined: 29 Apr 2008, 16:50

Re: installing spring on windows (if installer fails)

Post 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 
User avatar
LordMatt
Posts: 3393
Joined: 15 May 2005, 04:26

Re: installing spring on windows (if installer fails)

Post by LordMatt »

That is using a different function to download files than we are currently using. I'll look into it.
Post Reply

Return to “Help & Bugs”