Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a windows installer for the final 2.70 release #39

Closed
ETLegacyTeam opened this issue Mar 5, 2020 · 11 comments
Closed

Create a windows installer for the final 2.70 release #39

ETLegacyTeam opened this issue Mar 5, 2020 · 11 comments
Labels
cat: general Category engine (client/server) P1: Urgent Priority 1 📝 Task Indirectly related to code: libs update, documentation
Milestone

Comments

@ETLegacyTeam
Copy link
Member

ETLegacyTeam commented Mar 5, 2020

Author: @IR4T4 (IR4T4)
Date: 2012-05-31
Redmine Issue: 39, https://dev.etlegacy.com/issues/39


None


Related issue(s): #92


Related commit(s):
5cf8cf0 - misc: separated CPack configuration from CMake, re..
818e047 - general: better error message in case of missing f..
cdb21b0 - general: install adds (rotation files), general li..
0b4ec89 - general: legacy mod is started per default when fs..

@ETLegacyTeam ETLegacyTeam added cat: general Category engine (client/server) Fixed P1: Urgent Priority 1 📝 Task Indirectly related to code: libs update, documentation labels Mar 5, 2020
@ETLegacyTeam ETLegacyTeam added this to the 2.70rc1 milestone Mar 5, 2020
@ETLegacyTeam
Copy link
Member Author

From: muessli (muessli)
Date: 2012-05-17T23:06:03Z


Hi IR4T4,

what kind of Installer would you prefer?

mfg mॆअआॆअ

@ETLegacyTeam
Copy link
Member Author

From: @JanSimek (Radegast)
Date: 2012-05-18T00:45:31Z


Windows: We will eventually support CMake as our build system and CMake has a module for the "NSIS installer":http://nsis.sourceforge.net/Main_Page, so it would be 90% automatic job. I don't know if there is anything better (and most importantly free) than NSIS (?)

Mac: see above. CMake is able to create Mac bundles.

Linux: I think there are only two options: either "MojoSetup":http://icculus.org/mojosetup/ or bash script with the binary inside it ...and we will have native packages for 6 most popular linux distributions (automatically generated through "Open Build Service":http://www.open-build-service.org/) as well.

There is a cross-platform installer packed with features called "BitRock":http://installbuilder.bitrock.com, but unfortunately I don't have spare 1000$ to buy a license for it at the moment. If you have experience with creating installers for any of the mentioned platforms then we will be glad for your help or advice.

@ETLegacyTeam
Copy link
Member Author

From: muessli (muessli)
Date: 2012-05-18T10:55:49Z


Hi Radegast,

that looks/sounds very good!!
AFAIK NSIS had a "nsi-File"!? So everyone could adapt the ETL-Setup!?
For Linux, i would prefer native Packages (deb/rpm).

thx, mॆअआॆअ

@ETLegacyTeam
Copy link
Member Author

From: @JanSimek (Radegast)
Date: 2012-08-10T12:21:33Z


Basic NSIS installer is finished: https://github.com/etlegacy/etlegacy-tools/blob/master/etl.nsis

{TODO}

  1. either check for W:ET installation and copy the required files from there
  2. DONE: or download pak0.pk3, pak1.pk3, pak2.pk3 and mp_bin.pk3 from the internet (because of legal reasons we cannot ship them inside our installer)
  3. let the user select fs_homepath - see user:Jacker 's "solution":http://www.etlegacy.com/issues/59#note-9 - and create a shortcut to it
  4. (optional) migrate user's @etkey@

@ETLegacyTeam
Copy link
Member Author

From: @JanSimek (Radegast)
Date: 2012-08-12T15:44:01Z


{UPDATE} Installer has an option to download required pk3 files (pak*.pk3 and mp_bin.pk3) and creates desktop/start menu shortcuts

Edit: the new installer is https://github.com/etlegacy/etlegacy-tools/blob/master/etl-installer.nsi

@ETLegacyTeam
Copy link
Member Author

From: muessli (muessli)
Date: 2012-10-15T20:28:08Z


Hi Radegast,
is there any ZIP-File, that contains all the Stuff, to compile the etl-installer.nsi
without any File: . -> no files found-ErrorMessages?
(for Example: wolfet.ico, COPYING.txt, libfreetype-6.dll and so one...)
I dont mean *.pk3-Files!
mfg muessli

@ETLegacyTeam
Copy link
Member Author

From: @IR4T4 (IR4T4)
Date: 2012-10-26T09:11:06Z


muessli,
for editing installer features you don't have to have the real files. Just create some dummy txt files and rename them. Currently there is no zip or path created.

I do suggest to we'll add 2 pathes in misc folder: 'win' & 'linux' for those files.

{UPDATE} installer is updated to create new ET:L structure.

{TODO}

add etlded to windows menu

rename this "ET: L" in installer options to ET: Legacy v2.70

add +set fs_game legacy to etl and etlded

add option to set fs_hompath

add options to complete install (missing genuine files)

  • do a search for installed W:ET and get the files from
    -- search by key
    -- search by user input path
    --- if install is found
    ---- add option to use key
    ---- copy mp_bin.pk3, pa0.pk3, pak1.pk3, pak2.pk3 to etmain
    -- ask to download and install genuine files
    --- run installer again
    --- worst case points to http://www.etlegacy.com/projects/etlegacy/wiki/Windows

add omnibot files to installer options (default: true)

@ETLegacyTeam
Copy link
Member Author

From: @JanSimek (Radegast)
Date: 2012-11-02T11:46:17Z


I created a new installer based on the Inno Setup. It lets user to either select etmain directory of an existing W:ET installation and then it copies the required files or downloads them from our website. Game path could be extracted from the registry, however, I wasn't able to find the correct regkey. As discussed on the IRC, W:ET data files are distributed in Debian and OpenSuse repositories and the distribution by downloading from the internet is not against W:ET's license (bundling is).

{TODO}

  • fixme: missing file icons (add ader10's new icons)
  • fixme: windows text is scribbled on the Download page
  • (option) import etkey from W:ET 2.60b installation
  • (option) install omnibot files

@ETLegacyTeam
Copy link
Member Author

From: @IR4T4 (IR4T4)
Date: 2012-11-02T13:06:11Z


Try this regkey to find ET install path: HKLM "Software\Activision\Wolfenstein - Enemy Territory"

@ETLegacyTeam
Copy link
Member Author

From: @JanSimek (Radegast)
Date: 2012-11-02T14:07:23Z


IR4T4 wrote:

Try this regkey to find ET install path: HKLM "Software\Activision\Wolfenstein - Enemy Territory"

Found it, thanks. I have 64 bit Windows, so the key is HKLM "Wow6432Node\Software\Activision\Wolfenstein - Enemy Territory"

@ETLegacyTeam
Copy link
Member Author

From: @IR4T4 (IR4T4)
Date: 2012-11-10T14:13:13Z


Installer is created.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cat: general Category engine (client/server) P1: Urgent Priority 1 📝 Task Indirectly related to code: libs update, documentation
Projects
None yet
Development

No branches or pull requests

1 participant