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

Re: Windows Installer

Postby divVerent » 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.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Re: Windows Installer

Postby Kamisamanou » 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.
Kamisamanou
Member
 
Posts: 12
Joined: Wed May 31, 2006 5:30 am
Location: Tennessee, United States

Postby divVerent » 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.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby :) » 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

Postby Kamisamanou » 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."
Kamisamanou
Member
 
Posts: 12
Joined: Wed May 31, 2006 5:30 am
Location: Tennessee, United States

Postby Shoe » 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

Postby :) » 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

Postby leileilol » 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
leileilol
Alien trapper
 
Posts: 299
Joined: Tue Feb 28, 2006 10:00 pm
Location: pole vaulting

Postby Mr. Bougo » 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 :(
Mr. Bougo
Keyboard killer
 
Posts: 760
Joined: Mon Sep 10, 2007 3:29 pm

Previous

Return to Nexuiz - Editing

Who is online

Users browsing this forum: No registered users and 1 guest

cron