Installer changes

Installer changes

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Installer changes

Post by hoijui »

two changes we (I) could do with the installer. what do you think?

install types
We could add install types, which would possibly make the installer look less hostile for computer noobs. for example:
minimal, custom, headless, full
InstType - http://nsis.sourceforge.net/Docs/Chapter4.html#4.8.1.24
SectionIn - http://nsis.sourceforge.net/Docs/Chapter4.html#4.6.1.4

silent install (no user intervention needed)

Code: Select all

spring_installer.exe /S /D=C:\Program Files\Foo
This could possibly be useful for basic automatic testing.
The thing is, that basically, we do not have to do anything to support it, except fixing a few minor things, like making sure to find an automatic solution, if we are in silent install mode, and an old SpringLobby version is still running. we might just abort then.
Silent Installers/Uninstallers - http://nsis.sourceforge.net/Docs/Chapter4.html#4.12
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: Installer changes

Post by Licho »

Thats handy. I think it would also be nice to have simple way to repack - for example for custom game-based release.

So perhaps publish final installer sources somewhere including files when its released?

You could base such installer on portable archive, but thats more work and you have to clean it up (it overwrites config files etc).
slogic
AI Developer
Posts: 626
Joined: 17 Mar 2008, 19:03

Re: Installer changes

Post by slogic »

Those profiles are nice although i do not suffer from their absence because i always enter advanced mode of installers. The one case i don't like is installer has overwritten my uikeys.txt file.
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Installer changes

Post by hoijui »

ouh well..
wanted to post this in the new DDD forum :/

Licho, what you talk about has other threads already.

slogic, was this for this recent installer, or an older one?
cause looking at the code, it should not do that:

Code: Select all

	${IfNot} ${FileExists} "$INSTDIR\uikeys.txt"
		File "${CONTENT_DIR}\uikeys.txt"
	${EndIf}
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: Installer changes

Post by Licho »

hoijui wrote:ouh well..
Licho, what you talk about has other threads already.
Really? Where? There were 2 custom installers, but those must be remade now with 0.82. I think it would be nice to simply publish zipped installer sources including all files it needs somewhere when its done. Nothing more.
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Installer changes

Post by hoijui »

hey! you misquoted me!!! ;-)

i wanted to say, search for the other threads or open a new one for that.
User avatar
oksnoop2
Posts: 1207
Joined: 29 Aug 2009, 20:12

Re: Installer changes

Post by oksnoop2 »

I like the install options. What would be the difference between them? And if possible I would find some other name for headless because I don't know what that means. :oops: Though I may be alone in this. Maybe do a poll in General Discussion to see what people think each version of the install means to them. Anyway I really do like this noob friendly initiative.
User avatar
CarRepairer
Cursed Zero-K Developer
Posts: 3359
Joined: 07 Nov 2007, 21:48

Re: Installer changes

Post by CarRepairer »

Licho wrote:custom game-based release.
I have no idea how Spring installer works but hopefully the prepackaged Spring widgets can be optional and/or removed, especially in this case.

http://springrts.com/phpbb/viewtopic.php?f=21&t=21937
slogic
AI Developer
Posts: 626
Joined: 17 Mar 2008, 19:03

Re: Installer changes

Post by slogic »

hoijui wrote:slogic, was this for this recent installer, or an older one?
cause looking at the code, it should not do that:

Code: Select all

	${IfNot} ${FileExists} "$INSTDIR\uikeys.txt"
		File "${CONTENT_DIR}\uikeys.txt"
	${EndIf}
Hm, i compared it with my .bak file and they were identical. So i made a conclusion it is overwritten. In game i noticed this by another <esc> behaviour. I may be wrong though.
Post Reply

Return to “Engine”