Opened 9 months ago

Last modified 9 months ago

#2690 new enhancement

Windows installation improvements

Reported by: Reportage Owned by:
Priority: minor Milestone: undecided
Component: installer Version: 0.9.44
Keywords: Windows, defaults, options Cc: idk
Parent Tickets: Sensitive: no

Description (last modified by Reportage)

Various issues with the Windows installer:

  • %appdata% isn't always accessible, which appears to result in the config being stored in %WINDIR%\system32\config\systemprofile\
  • A configuration option to select the location of the I2P profile directory would be helpful.. placing it by default in a hidden location is sub-optimal (OS-independent)
  • Conflicting permissions when installing the service means that the normal user won't be able to edit files like wrapper.config
  • When service installation is selected at install time, the shortcuts for running the router console should not be deployed.. perhaps replaced with iconized shortcuts to stop and start the service
  • The language selection during the installation should be used to set routerconsole.lang config (OS-independent)
  • Configuration of the MaxMem? wrapper setting could be considered as an installation option (OS-independent)

Subtickets

Change History (3)

comment:1 Changed 9 months ago by Reportage

Description: modified (diff)

comment:2 Changed 9 months ago by zzz

Cc: idk added
Type: defectenhancement

1st item: Please provide more info, why wouldn't it be accessible, and why is the alternate location a problem

2 and 6th items: Adding more config panels to izpack won't be easy, and setting them up for translation is even less pleasant.

3rd item: Why are there 'conflicting permissions', please explain

4th item: probably a good idea, don't know how hard it would be

5th item: might be possible, although that may or not be better than just using the locale. There's some languages in the izpack list that we don't have translations for either.

comment:3 Changed 9 months ago by Reportage

Regarding %appdata% permissions, I'm guessing that installing the Windows service as 'system' messes with permissions, and as a result the I2P profile gets stored in the windows\system32 dir. Storing *anything* user-facing there is awful, given its lack of visibility and non-intuitive location.

Regarding additional options at install time, panel creation in IZPack doesn't seem over-complex: https://izpack.atlassian.net/wiki/spaces/IZPACK/pages/491663/Panel+Actions .. keeping the supporting text as minimal as possible should expedite translation via Transifex.

Re: conflicting permissions, files created by the 'system' account aren't accessible by a normal user without elevation to admin.

Creating links to start and stop a windows service: https://stackoverflow.com/questions/1995847/desktop-shortcut-to-restart-a-windows-service

Re missing languages, if the text isn't already on transifex, now's a good time!

Note: See TracTickets for help on using tickets.