Opened 7 years ago

Last modified 6 years ago

#417 confirmed task

Improve WarFoundry installation experience

Reported by: ibboard Owned by:
Priority: blocker Milestone: WarFoundry API 0.2
Component: General/Unknown Version: Unknown or N/A
Keywords: documentation install usability userdocs Cc:
Blocked By: Blocking:

Description

While WarFoundry is just a simple app that should install and go, the process could be better explained and better handled (including error handling).

Things we need:

  • Better install documentation
  • Better start scripting
  • Better checks for dependencies (and messages about what to do)
  • Better error handling/reporting

Change History (18)

comment:1 Changed 7 years ago by ibboard

Milestone: WarFoundry API 0.2
Status: newconfirmed

comment:2 Changed 7 years ago by IBBoard <dev@…>

In b612d7137f4de815272e626181ef6566a89b5fcb/IBBoard.WarFoundry.GUI.GTK:

Re #417: Improve WarFoundry installation experience

  • Initial attempt at a script that tries to do some validation and fix Ubuntu problems

comment:3 Changed 7 years ago by IBBoard <dev@…>

In c549fd4ff4bf54f8d1e985f0c84ca746d0db4d02/IBBoard.WarFoundry.GUI.GTK:

Re #417: Improve install process

  • Add error messages with Zenity, in case user just double-clicks .sh file from Nautilus

comment:4 Changed 7 years ago by IBBoard <dev@…>

In 81e130f3b85ee238ff18e2cba67174b35fcdee33/IBBoard.WarFoundry.API:

Re #417: Improve install experience

  • Make hacked default path available (will need improving/replacing)

Also:

  • Fix type casting issue

comment:5 Changed 7 years ago by IBBoard <dev@…>

In 1a632b133606ca2ab1ebc5e362e6b1e182404bdf/IBBoard.WarFoundry.API:

Re #417: Improve WarFoundry installation experience

  • Make the original "hack" something that is core

comment:6 Changed 7 years ago by IBBoard <dev@…>

In 08b30dc56af4cb0c9e154be447d44900173c0a3f/IBBoard.WarFoundry.GUI.GTK:

Re #417: Improve WarFoundry installation experience

  • Make it more obvious how to get data files in GTK# UI

comment:7 Changed 7 years ago by IBBoard <dev@…>

In 2d1dd73a3289541697eed076f2c56cc263bb1a48/IBBoard.WarFoundry.GUI.GTK:

Re #417: Improve install experience

  • Add a "Add data file" action (currently has no error checking)

comment:8 Changed 7 years ago by IBBoard <dev@…>

In 6b4cc1fc3f4274cded4cecd0f66a6856aa2df32a/IBBoard.WarFoundry.GUI.GTK:

Re #417: Improve WarFoundry installation experience

  • Make use of new library call to add data files

comment:9 Changed 7 years ago by IBBoard <dev@…>

In 89e2442bbb60ea59c9ad611e3b454968252f4096/IBBoard.WarFoundry.GUI.GTK:

Re #417: Improve install/first use experience

  • Handle errors in GTK# interface

comment:10 Changed 7 years ago by IBBoard <dev@…>

In e532d2f51ff0a582c7ab11c2c6810dc045f72a35/IBBoard.WarFoundry.GUI.WinForms:

Re #417: Make installation/first use easier

  • Add "Add Data File" menu item

comment:11 Changed 7 years ago by IBBoard <dev@…>

In 2bde6d18d3bd927fdfbce537a75db09498794894/IBBoard.WarFoundry.GUI.WinForms:

Re #417: Improve install/first use experience

  • Add "Get More" link to army creation form to match GTK#

comment:12 Changed 7 years ago by IBBoard <dev@…>

In 425912324be52d0dfb3db234e622e6156b05504a/IBBoard.WarFoundry.GUI.WinForms:

Re #417: Improve install/first use experience

  • Handle file copy errors in WinForms and tell user

comment:13 Changed 6 years ago by Vincent Lhote

It would be good to use kdialog instead of zenity on KDE systems, zenity might not be installed in this case.

On Debian Squeeze, I have the same issue as in Ubuntu, I need the “--runtime=v4.0” or I get an error.

Another minor point is that the Nightly build is a zip, so the execution bit on the sh file is lost.

comment:14 Changed 6 years ago by ibboard

Thanks for the suggestion. I've not merged it yet, but you can try this new script for the KDialog option: http://dev.ibboard.co.uk/repos/IBDev-IBBoard.WarFoundry.GUI.GTK/files/4149dbdf042f52078b8a12c77430ac7b60b55876/WarFoundry.sh (click "Download as raw" on the right)

I'll look into what can be done about Debian Squeeze. Unfortunately, the guys on the Mono mailing list aren't that useful and say I should just build as 4.0, even though most distros haven't moved everything over to it yet.

I'll look into the zip and the execution bit - unfortunately, that is just what the build service provides at the moment, but there may be another option.

comment:15 Changed 6 years ago by Vincent Lhote

Another point: the sh contains a test on monoo, I don’t think this is installed when installing mono, might it be a typo?

comment:16 Changed 6 years ago by ibboard

I noticed that one and fixed it in my local branch a while ago, but it hasn't made it into the main dev version because of other changes. I'll try to get it merged and released soon.

comment:17 Changed 6 years ago by IBBoard <dev@…>

In 4149dbdf042f52078b8a12c77430ac7b60b55876/IBBoard.WarFoundry.GUI.GTK:

Re #417: Improve WarFoundry installation experience

  • Add handling for KDE and kdialog instead of Zenity

comment:18 Changed 6 years ago by ibboard

Permission on the script have been fixed in the latest build.

Note: See TracTickets for help on using tickets.