View previous topic :: View next topic |
Author |
Message |
Papillon x-man
Joined: 28 Dec 2004 Posts: 1060 Location: Germany
|
Posted: Tue Nov 14, 2006 9:54 Post subject: |
|
|
Ok, I'll set something up.
Is the current prototype something you can work with ? Or do you need more information on the files ? _________________ Papillon |
|
Back to top |
|
|
Via Con Diablos
Joined: 23 Nov 2005 Posts: 55
|
Posted: Tue Nov 14, 2006 23:14 Post subject: |
|
|
The current prototype should be fine. I should be able to post a version of the installer within a day of the server side file being in place.
It will check that file, download the version of nwnx4 listed in the file, and then set it up. |
|
Back to top |
|
|
Papillon x-man
Joined: 28 Dec 2004 Posts: 1060 Location: Germany
|
Posted: Sun Nov 19, 2006 13:26 Post subject: |
|
|
Via Con Diablos wrote: | Papillion: The only thing we need to setup on the website is an ini file somewhere that has the urls to the newest NWNX4 and plugins.
|
The file is online under the following URL:
http://www.nwnx.org/index.php?id=current
It took me a bit longer, since I wasn't able to find a solution that integrates into Typo3 (the CMS on nwnx.org) at first. Can you work with that ? _________________ Papillon |
|
Back to top |
|
|
Via Con Diablos
Joined: 23 Nov 2005 Posts: 55
|
Posted: Mon Nov 20, 2006 18:35 Post subject: |
|
|
I think so, I'll give it a shot when I get home from work tonight and see how it goes. |
|
Back to top |
|
|
Via Con Diablos
Joined: 23 Nov 2005 Posts: 55
|
Posted: Tue Nov 21, 2006 5:59 Post subject: |
|
|
Seems like the nwnx download plugin doesn't like that format. It errors out stating that the server did not specify the content length. I'm guessing due to it being dynamically generated through the cms.
If you need, I could probably host the file and build a php interface for you to update it. |
|
Back to top |
|
|
Papillon x-man
Joined: 28 Dec 2004 Posts: 1060 Location: Germany
|
|
Back to top |
|
|
Via Con Diablos
Joined: 23 Nov 2005 Posts: 55
|
Posted: Thu Nov 30, 2006 6:40 Post subject: |
|
|
Sorry for the lack of an update. The download plugin with nsis doesn't like the php fed downloads. I'm checking into a few other options (InnoSetup, Installshield, writing a new downloader plugin) and will hopefully have something soon. |
|
Back to top |
|
|
Papillon x-man
Joined: 28 Dec 2004 Posts: 1060 Location: Germany
|
Posted: Thu Nov 30, 2006 10:23 Post subject: |
|
|
Stupid downloader plugin I hope there will be a solution, since I'd really like to count the downloads the installer makes. _________________ Papillon |
|
Back to top |
|
|
Papillon x-man
Joined: 28 Dec 2004 Posts: 1060 Location: Germany
|
Posted: Sun Dec 10, 2006 12:01 Post subject: |
|
|
Any news on the installer ? Is there something I can do to help you ?
If the automatic download feature is to complicated, you might want to consider creating a normal, monolithic installer. _________________ Papillon |
|
Back to top |
|
|
Via Con Diablos
Joined: 23 Nov 2005 Posts: 55
|
Posted: Mon Jan 15, 2007 12:49 Post subject: |
|
|
I've got a working example, with the downloader, excluding one small bit.
The nwnx.ini and xp_*sql.ini have no section identifiers. Would it be overly much trouble to get a
[main]
added to the top of each file?
To see it in (almost) action
setup.exe |
|
Back to top |
|
|
Papillon x-man
Joined: 28 Dec 2004 Posts: 1060 Location: Germany
|
Posted: Mon Jan 15, 2007 22:48 Post subject: |
|
|
I just tried it, looks good ! Would it be possible to have a "No DB" option on the database selection screen ?
I could add that section to the ini file, but then I would have to change the source code as well... it's not a problem of course - if the installer absolutely needs it, I can put everything in a [main] section. _________________ Papillon |
|
Back to top |
|
|
Via Con Diablos
Joined: 23 Nov 2005 Posts: 55
|
Posted: Mon Jan 15, 2007 23:53 Post subject: |
|
|
Yes, it'd be easy to add in a no db section as well.
Adding the [main] section would be perfect if it's not too much trouble. Unfortunately InnoSetup (which I finally went with for the installer...works much better than NSIS) requires a section of some sort of the ini file. I tried leaving it blank, but it wouldn't compile. |
|
Back to top |
|
|
Via Con Diablos
Joined: 23 Nov 2005 Posts: 55
|
|
Back to top |
|
|
Via Con Diablos
Joined: 23 Nov 2005 Posts: 55
|
Posted: Mon Jan 29, 2007 1:01 Post subject: New Installer version |
|
|
Alright, I've got a fairly functional installer working.
It will download the plugins you specify (currently only three) and set them up.
It doesn't do much for validation yet, but that will be coming soon.
Plugin creators: I'm trying to think of a way to automatically create setup pages in the installer for new plugins. This would require an additional INI on your end, that the installer could read, and then create the needed info in the installer.
Any feedback on the current revision would be appreciated.
http://www.twilightlegacy.ca/NWNX4Setup.exe |
|
Back to top |
|
|
Papillon x-man
Joined: 28 Dec 2004 Posts: 1060 Location: Germany
|
Posted: Tue Jan 30, 2007 9:59 Post subject: |
|
|
Impressive! This is a really, really fine installer !
Here are some small issues that I've found during my tests:
- It says it will install prototype 1.06. Is that hardcoded?
- nwn2temp: Maybe add a note that leaving this empty will not change the default NWN2 already uses
- gamespy watchdog ("how often should the gamespy..."): It's not clear what the unit is (seconds).
- The mysql page is missing an option to set the schema (db) name.
- (possibly irrelevant, since there is now a GUI): The Desktop .lnk does not include the -interactive command line switch.
- my nwnx.ini ended up with a double module specification: parameters = -module mymodulefile -module mymodulefile
I think 1.08 will have an installer .
Could you post an example ini file for setting up a plugin installer page ? Maybe for one of the DB plugins, for illustration purposes. _________________ Papillon |
|
Back to top |
|
|
|