Opened 8 years ago

Last modified 3 years ago

#4177 new enhancement

Add a silent switch to the Windows installer

Reported by: Itms Owned by:
Priority: If Time Permits Milestone: Backlog
Component: Build & Packages Keywords: simple
Cc: Patch:

Description

As requested on the forums here: https://wildfiregames.com/forum/index.php?/topic/21057-silent-install-switch/

It would be convenient for some of our users to have the possibility of installing the game silently on Windows. Linux users can already do that with their package managers, so it would be nice to add the option to the Windows installer.

Attachments (1)

silent_reinstall_a20_WIP_2016-09-01.diff (952 bytes ) - added by fcxSanya 8 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 by fcxSanya, 8 years ago

NSIS (the installation system we're using) has built-in support of silent installation/uninstallation (see section "4.12 Silent Installers/Uninstallers" in http://nsis.sourceforge.net/Docs/Chapter4.html#silent), it basically works with our install script, but I see some issues with reinstall:

  1. reinstall request messagebox is displayed in silent mode
  2. reinstall always calls non-silent uninstaller
  3. $INSTDIR set via /D switch (which is the standard way to specify the installation directory in silent mode) overrides the previous install path on uninstaller when it's called for reinstall

Attached patch fixes first two issues (possible in a non-optimal way) by forcing reinstall in silent mode without asking user for #1 and by calling 'quiet' uninstaller in silent mode for #2. Third one requires additional research.

comment:2 by Silier, 3 years ago

Keywords: simple removed
severity: simple

comment:3 by Silier, 3 years ago

Keywords: simple added
Note: See TracTickets for help on using tickets.