Windows Installer

Post anything to do with editing Nexuiz here. Whether its problems you've had, questions, or if you just want to show off your work.

Moderators: Nexuiz Moderators, Moderators

Fri Jun 22, 2007 3:00 pm

  • It kept coming up that people would like a windows installer, so I've started work on one.

    To test on Windows, download nsis from http://nsis.sourceforge.net/ and install that.
    On Debian and friends, install the nsis package.

    Download my install files here: http://filebox.vt.edu/users/dmaz/NexuizNSIS.zip

    Read "Install" for building instructions.

    Working Features:
      - Uninstall option to backup custom pk3's, screenshots, demos, videos
      - Installer now downloads the game instead of containing it.
      - All files from the zip are now installed (Why not?)
      - Creates Desktop shortcut and Start Menu entries
      - Creates uninstaller, and is also uninstallable through Add/Remove Programs
      - Creates shortcuts to start Nexuiz using wgl or SDL, and Pro Mode, and to the documentation in the Start Menu
      - Configures Windows Firewall to allow Nexuiz
      - Kills any Nexuiz processes running during uninstall

    To Do:
      - Add custom, Alientrap/Nexuiz branded graphics to replace placeholders
      - Need a Game Definition dll for the Games Explorer
      - Need a redirection link that will always point to the latest version of the game.


    Features nearing completion:

      - Adds Nexuiz to Vista's new Games Explorer (Blocked by inclusion of the GDF)
    Last edited by :) on Thu Dec 06, 2007 4:13 pm, edited 9 times in total.
    :)
    Keyboard killer
     
    Posts: 590
    Joined: Tue Feb 28, 2006 9:09 pm

Fri Jun 22, 2007 4:14 pm

Fri Jun 22, 2007 9:27 pm

  • omg...
    :roll:

    Ok, I'm just in a bad mood, don't even listen to me...
    "One should strive to achieve; not sit in bitter regret."
    WE ARE NEXUIZ.
    Image
    Image
    User avatar
    C.Brutail
    Laidback mapper
     
    Posts: 2357
    Joined: Tue Feb 28, 2006 7:26 pm
    Location: Ironforge

Fri Jun 22, 2007 9:48 pm

  • whoa...this is difficult.

    If I ignore you, then that means I'm following your suggestion, which means I paid attention to what you wrote and then I wasn't ignoring you.

    :x
    Dokujisan
    Forum addon
     
    Posts: 1199
    Joined: Sat Oct 07, 2006 4:31 pm
    Location: Louisville, Kentucky

Fri Jun 22, 2007 10:03 pm

  • :P
    "One should strive to achieve; not sit in bitter regret."
    WE ARE NEXUIZ.
    Image
    Image
    User avatar
    C.Brutail
    Laidback mapper
     
    Posts: 2357
    Joined: Tue Feb 28, 2006 7:26 pm
    Location: Ironforge

Sat Jun 23, 2007 7:25 am

  • esteel wrote:Nice work.. seems easy to integrate it into the Nexuiz build script. Hopefulle this will help some of the windows users :)


    is it so hard to unpack and doubleclick an .exe file?
    wait, windows users usually don't understand words like `unpack' or `.exe'...
    User avatar
    Blµb
    Alien trapper
     
    Posts: 277
    Joined: Thu Mar 29, 2007 1:49 pm

Sun Jun 24, 2007 12:13 am

  • Blµb wrote:is it so hard to unpack and doubleclick an .exe file?
    wait, windows users usually don't understand words like `unpack' or `.exe'...

    MS tried hard to hide those facts from the user so why expect them to know? Though i think most of them grap the concepts..
    User avatar
    esteel
    Site admin and forum addon
     
    Posts: 3924
    Joined: Wed Mar 01, 2006 8:27 am

Sun Jun 24, 2007 12:55 am

Sun Jun 24, 2007 12:58 am

  • Huh??? Ubuntu users asking for an installer? Tell them to use apt-get to install nexuiz.. damn what has happend to the world if people with one of the best package manager ask for an installer.. The end is near, better get ready..
    User avatar
    esteel
    Site admin and forum addon
     
    Posts: 3924
    Joined: Wed Mar 01, 2006 8:27 am

Tue Jul 03, 2007 7:46 am

  • I created an installer a long time ago for Nexuiz 2.2. I had planned on releasing one for 2.3 this week and continuing it without lapse from now on. Should I continue, or would you like to do it?
    User avatar
    Kamisamanou
    Member
     
    Posts: 12
    Joined: Wed May 31, 2006 5:30 am
    Location: Tennessee, United States

Tue Jul 03, 2007 7:57 am

  • Is it possible to make a downloading installer that automatically checks which version is most current on sourceforge and then downloads and installs that one?
    1. Open Notepad
    2. Paste: ÿþMSMSMS
    3. Save
    4. Open the file in Notepad again

    You can vary the number of "MS", so you can clearly see it's MS which is causing it.
    User avatar
    divVerent
    Site admin and keyboard killer
     
    Posts: 3809
    Joined: Thu Mar 02, 2006 4:46 pm
    Location: BRLOGENSHFEGLE

Tue Jul 03, 2007 8:07 am

  • divVerent wrote:Is it possible to make a downloading installer that automatically checks which version is most current on sourceforge and then downloads and installs that one?


    In order for such a thing to happen sourceforge.net would have to have a itemized list(possibly a .csv) that could be accessed or an rss feed containing the files of each release. Then the installer would have to be set up to connect to that list/feed and download it.
    The feature your speaking of is basically the same theory as podcast aggregators so it could work. I do believe that the installer would have to be built from scratch as a program in itself.
    User avatar
    Kamisamanou
    Member
     
    Posts: 12
    Joined: Wed May 31, 2006 5:30 am
    Location: Tennessee, United States

Tue Jul 03, 2007 10:33 am

  • So the nullsoft scripting doesn't suffice for that? Can't be. It for sure allows including custom DLLs and calling functions from them. An idea would be a DLL that contains the code to extract that information from the sourceforge HTML pages (or, we could even use a redirect link we put on alientrap.org). I would volunteer to write that DLL, but I have no idea about this NSIS stuff.
    1. Open Notepad
    2. Paste: ÿþMSMSMS
    3. Save
    4. Open the file in Notepad again

    You can vary the number of "MS", so you can clearly see it's MS which is causing it.
    User avatar
    divVerent
    Site admin and keyboard killer
     
    Posts: 3809
    Joined: Thu Mar 02, 2006 4:46 pm
    Location: BRLOGENSHFEGLE

Tue Jul 03, 2007 1:50 pm

  • Good for two reasons: (1) a more dynamic script would need less updating and (2) the lower file size would make testing and distribution much easier

    I'll look into using nsisdl ( http://nsis.sourceforge.net/Docs/NSISdl/ReadMe.txt )
    :)
    Keyboard killer
     
    Posts: 590
    Joined: Tue Feb 28, 2006 9:09 pm

Tue Jul 03, 2007 7:02 pm

  • And I quote from the NSIS User Manual "The NSIS distribution includes a set of plug-ins that allow you to download files from the internet, make internet connections, patch existing files and more."
    User avatar
    Kamisamanou
    Member
     
    Posts: 12
    Joined: Wed May 31, 2006 5:30 am
    Location: Tennessee, United States

Tue Jul 03, 2007 7:26 pm

  • Could an NSIS-based patcher be installed as something like a start menu icon during the installation?
    Shoe
    Keyboard killer
     
    Posts: 517
    Joined: Wed Mar 08, 2006 2:18 am

Wed Dec 05, 2007 2:04 am

  • Kamisamanou wrote:And I quote from the NSIS User Manual "The NSIS distribution includes a set of plug-ins that allow you to download files from the internet, make internet connections, patch existing files and more."
    Yes, that's exactly what I was referring to.

    Found my files for this today, got distracted and added some stuff.
    Now testing on Windows Vista, meaning I'm now going to incorporate the Games Explorer.

    As far as a patcher, I'm thinking it might as well update using the full release, since updating just data.pk3 won't always fully work without the latest engine as well, and latest libraries are nice to have too.

    One other thing that's needed for this would be a simple redirection page, like http://alientrap.org/nexuiz/installer that would redirect to the latest zip on Sourceforge. I've got it hardcoded to 2.3 at the moment.

    Maybe over the holidays I'll find the time to add the polish necessary to release this under the prestigious Dave label. Until then, I'll not post a binary, lest it get into the wrong hands.
    :)
    Keyboard killer
     
    Posts: 590
    Joined: Tue Feb 28, 2006 9:09 pm

Wed Dec 05, 2007 4:17 pm

  • I was thinking of maintaining a Windows installer as well, but using InnoSetup instead

    I don't like NSIS much :/
    field hockey
    User avatar
    leileilol
    Alien trapper
     
    Posts: 299
    Joined: Tue Feb 28, 2006 10:00 pm
    Location: pole vaulting

Fri Dec 07, 2007 12:28 pm

  • Aww, I hate InnoSetup... No way to unpack without installing or using tricky programs that don't work for random reasons :(
    User avatar
    Mr. Bougo
    Keyboard killer
     
    Posts: 760
    Joined: Mon Sep 10, 2007 3:29 pm



Return to Nexuiz - Editing




Information
  • Who is online
  • Users browsing this forum: No registered users and 1 guest