Menu

The automatical download / installation does not work

Martin
2018-04-07
2018-04-12
  • Martin

    Martin - 2018-04-07

    The automatical download / installation does not work with me:
    [IMG]https://i.imgur.com/Dr3nD2e.png[/IMG]
    [IMG]https://i.imgur.com/VsQQvbw.png[/IMG]

    I don't know if it was already installed, the last version, but this was shown when I tried to install:
    [IMG]https://i.imgur.com/ehrJPlO.png[/IMG]

    Is there anything I could do?

     

    Last edit: Martin 2018-04-07
  • Peter Verbeek

    Peter Verbeek - 2018-04-07

    It seems you have successfully installed 1.4.5.0.
    Sometimes the downloading of Peace fails. If so, you have to try it a few times. Or download it from the Peace website when you get the notice of a new version instead of downloading automatically.

     
  • Martin

    Martin - 2018-04-08

    Hmmm, yes, yes, but why is there an error shown when the update is installed / downloaded correctly?

    The best would be to let the update install auotmatically.

     
  • Peter Verbeek

    Peter Verbeek - 2018-04-08

    Only after a succesful download you can install the new version. Btw, Peace downloads the Peace Setup tool containing the new version. So you've managed to download it succesfully and starting it (your image https://i.imgur.com/ehrJPlO.png).

    Unfortunately the download functions of AutoIt, the programming languamge I use, are a bit unstable and therefore the download can fail (usually right at the end). I wish I could fixed it. I'm looking for a solution.

    I think an automatical update isn't a good option because people have to know that Peace can be updated with new features. The choice to update is theirs not mine.

     
  • Martin

    Martin - 2018-04-08

    Hmmm, I suppose I cannot understand correctly. When an error message is shown I would thing the download failed or anything else. May be I miss anything, I will see what will happenn with the next update.

    [QUOTE]Unfortunately the download functions of AutoIt, the programming languamge I use, are a bit unstable and therefore the download can fail (usually right at the end). I wish I could fixed it. I'm looking for a solution.[/QUOTE]
    Ah yes, I understand. I do not have any idea, but if....

    [QUOTE]I think an automatical update isn't a good option because people have to know that Peace can be updated with new features. The choice to update is theirs not mine.[/QUOTE]
    Actually I would think, it would be a very good option. You could leave the choice by the user. E.g. show a message (or / and make a setting) with the next update, something like, activate full automatic updateds or download and / or install each update by yourself or confirm update / download, etc.? Or something like that.

     
  • Peter Verbeek

    Peter Verbeek - 2018-04-08

    The last thing you said actually makes sense. Thanks! But I have to solve the download issue first so it becomes stable. So the settings can be:

    1. Download and then automatic install a new version
    2. Download and then ask to install a new version
    3. Don't download but notify there's a new version
    4. Don't download and don't notify there's a new version
     
  • Martin

    Martin - 2018-04-08

    Oops, and the other things I said...yes, the issue first.

    1. a. Without interactioning and / or without a message and / or without informing. Completely automatically download and install.
    2. a. May be with a schedule: ask again to install in 5 hours (and such) or so. And do not ask(again) for install, I want manually install it.
     
  • Peter Verbeek

    Peter Verbeek - 2018-04-09

    Good points.
    I think 1. needs always a message after updating showing it's updated and the release notes (with the new stuff). It's of no use when Peace is updated automatically and the user doesn't even realizing it. Why update then in the first place?
    2. I'm not sure about the schedule. I only update Peace every few month or so but it an interesting thought I can play with. Your suggestion of a "do not ask again" feature is spot on.

     
  • Martin

    Martin - 2018-04-09
    1. No, no. Why can't the user choose what he wants? If he does not want a message let him choose it, have it like this. If he is not interested in the new stuff...and why should he realize it at all, as long as Peace works all is OK. If he is interested in the news / new features he just will choose to get a message.

    <<Why update then in the first place?
    May be fixing bugs and such. And enhancements, new features. If a user wants a feature he would have to search for it, be it an old one or one brought by the last update. There are not so many programs I am interested in what has been done for the update, they just shall work. E.g. Firefox, I really do not want to know what a new update brings, it just shall run, this lame browser. There are so many programs one uses, if one wants to know all the new features, improvements, bugs one had to spent very much time. But I am interested in new features of Peace.

    1. I had thought there are much more updates than every few months or so. But, yes, the schedule is not that important at all, I would think. But as you are dealing with such update options you could consider it.

    And Peace is a quite small program, the updates are done quite fast other than with the trashy, cruel Win.

    << Your suggestion of a "do not ask again" feature is spot on.
    Yes, or "do not ask again until next update" or so.

     
  • Peter Verbeek

    Peter Verbeek - 2018-04-09

    So:

    1. Download and automatic install a new version, user is unaware of it but benefits
    2. Download and automatic install a new version, user gets a message after installation
    3. Download and ask to install a new version whilst showing a link to the release notes
    4. Don't download but notify there's a new version whilst showing a link to the release notes
    5. Don't download and don't notify there's a new version, user don't want to update

    Possible checkboxes on the Settings window:
    [ ] Check for a new version and install it at next startup of Peace
    [ ] Ask for confirmation of the installation
    [ ] Notify me when a new version is installed

    By checking the second checkbox your "Don't ask me again until next update"-checkbox will be presented.

     
  • Martin

    Martin - 2018-04-10

    The changelog link (or may be even the log itself or the new features only, if it would fit on that window) can be shown on each message, I would say, it does not bother, I guess. So the user might do another decision, if he wants a new feature.

    And 2. may be with that meassage before downloading (instead of at the end). But 4. does include this, if I see it right. And 4. has a button or such the user can click to downlaod and / or install Peace then or / and a button to cancel or to only download or download and install.

    << [ ] Check for a new version and install it at next startup of Peace
    [ ] Check for a new version at eah start of Peace...or immediately?
    Or can Peace check periodically? That would be good. I try to shut off the computer es less as possible, it mostly hibernates, so the update could hesitate 1, 2 weeks or so, when Peace checks for updates only on start up.

    <<<[ ] Ask for confirmation of the installation
    and / or of the download

    <<< [ ] Check for a new version and install it at next startup of Peace
    Without showing a message / completely automatically / without user interaction

    <<[ ] Notify me when a new version is installed
    [ ] Notify me before a new version is installed and / or downloaded

    And may be at the first time the user is shown an update message the message could show all or some of the update options available in the settings so he does not need to go there to set those options.

    <<By checking the second checkbox your "Don't ask me again until next update"-checkbox will be presented.
    Yes, that's good.

     
  • Peter Verbeek

    Peter Verbeek - 2018-04-12

    I've figured out what the cause was that a download would produce an error right at the end of the download. Read on if you're interested: I check if the downloaded file PeaceSetup.exe matches in size with the one on the Peace website. This way I can conclude that the download went all right and start the downloaded (new) Peace Setup. But often the returned size by the Windows file system was zero bytes. This is probably caused that the file system hasn't refresh itself to the new size of the downloaded file.

    Anyway, one issue remains: Sometimes a download won't get started

    Thanks for the remarks and discussion of downloading/installing Peace. Because of the issues I'm not sure what and how to implement the features we've discussed. I'll use our discussion as reference.
    Btw. the "next startup" is needed because it isn't right to force Peace to stop and start the newer version. One could be in the middle of something so a message must be given that a new version will be started.
    Anyway, for starters I can try to create a periodically check for a new version as you've suggested. As you're saying many users are booting up with Peace and not frequently restarting the computer and therefore Peace again.
    If I have something to show I'll let you try it :)

     
  • Martin

    Martin - 2018-04-12

    No, no, there is no reason to say thank you, I am very thankful for such a great program (do not know any better one).

    Sounds very well, the issue is found, very well done.

    So when a download does not start you just will have to start it a next time, I guess. Cannot remember to have had this issue.

    Yes, of course, if you want me to test I will do so.

     

Log in to post a comment.