Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Make Rocbkbox Utility available as .exe not as .zip
« previous next »
  • Print
Pages: [1] 2

Author Topic: Make Rocbkbox Utility available as .exe not as .zip  (Read 4187 times)

Offline tomers

  • Developer
  • Member
  • *
  • Posts: 76
Make Rocbkbox Utility available as .exe not as .zip
« on: September 10, 2008, 01:52:07 AM »
rbutilqt-v1.0.6.zip    3.13 MB (3,288,494 bytes)
rbutilqt.exe             3.17 MB (3,331,072 bytes)

Diff:                       41.6 KB (42578 bytes)


There is no reason to have the utility be downloaded as an archive file.
Having to extract a compressed archive with just a single file is just another burden for the user, and can be considered as an annoyance.

It is better if users will be able to click the link on Rockbox's web site, then choose 'Open', and just run the utility.
Logged

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3421
  • creature
Re: Make Rocbkbox Utility available as .exe not as .zip
« Reply #1 on: September 10, 2008, 02:29:16 AM »
There is a reason why to provide Rockbox Utility as a zip file, even if it's not obvious to you: zip automatically calculates a checksum of the files. If your download is corrupted there is a bigger chance to detect this before running the program.

Besides, we had the translation files in the zip archive in previous versions (now they are bundled in the resources of the binary), and that time an archive was needed.
Logged
Rockbox Utility development binaries (updated infrequently) · How to ask questions the smart way · We do not estimate timeframes.

Offline tomers

  • Developer
  • Member
  • *
  • Posts: 76
Re: Make Rocbkbox Utility available as .exe not as .zip
« Reply #2 on: September 10, 2008, 03:09:02 AM »
> zip automatically calculates a checksum of the files

That's a good reason for doing so.
Maybe we can have is in an NSIS executable, which also calculates checksum? It doesn't require the user to handle zip file extraction, as it is a sort of 'self-extracting archive'.

Also (this is a discussion which should be in a separate thread) we can create a full-blown installer, which puts the utility in a proper locatation (%PROGRAMFILES%) and can create Start Menu shortcuts, etc.

I guess this was already thought of, and I would appreciate if you could give me an insight about it.

Thanks
Logged

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: Make Rocbkbox Utility available as .exe not as .zip
« Reply #3 on: September 10, 2008, 04:07:51 AM »
I don't think we should assume about the "proper" location for the program.  For instance, I would find it troublesome to find it installed at some default "Program Files" directory if I intend to keep it on my player (a logical place for it, IMO).
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: Make Rocbkbox Utility available as .exe not as .zip
« Reply #4 on: September 10, 2008, 04:43:02 AM »
Also I'd just like to point out that while that difference may seem insignificant to you, the user, since you're only downloading it once - it makes a crap load of difference to our server and our bandwidth usage - it all adds up!
Logged

Read The Manual Please

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Make Rocbkbox Utility available as .exe not as .zip
« Reply #5 on: September 10, 2008, 04:55:06 AM »
I'd also suggest that rbutil may include more files in the future (plugins, or who knows what) and having it always be a .zip means the documentation will never have to change back and forth between "run it" and "extract it, then run it"
Logged

Offline tomers

  • Developer
  • Member
  • *
  • Posts: 76
Re: Make Rocbkbox Utility available as .exe not as .zip
« Reply #6 on: September 10, 2008, 05:08:03 AM »
Please let me know what you think about the following suggestion:

The Rockbox utility will be packed as an NSIS installer.

* It will have redundancy check built-in.
* It will be compressed.
* It might include any other files.
* It will be an executable, which is easier to use once downloaded.

When run, the installer prompts the user with the following:

    How do you want to use Rockbox Utility?

    * Onetime run
       (Rockbox utility will be extracted to the temporary folder, and run from there)

    * Installed to the digital player device
       (The user will be prompt for the drive letter of the device)

    * Installed to host machine
       (Rockbox utility will be installed as a 'normal' application, and the user might be prompted to target location, defaulted to Program Files, whether we want to have shortcuts, etc.

On the last screen, after the utility was extracted to the location the user have specified, he will be asked whether he would like to run the utility.

The implementation for what I described should be easy to implement in NSIS.
Logged

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: Make Rocbkbox Utility available as .exe not as .zip
« Reply #7 on: September 10, 2008, 05:09:35 AM »
NSIS is also platform specific though - so we'd have one solution for Windows, and a completely different one for other platforums. A lot of extra work for us for very little gain as far as I can see.
Logged

Read The Manual Please

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Make Rocbkbox Utility available as .exe not as .zip
« Reply #8 on: September 10, 2008, 05:15:38 AM »
As it works right now, "installation" is the same for all OSes. "Download the archive for your OS, unzip it where you want to put it, and run the included binary."

What, exactly, is the problem with .zip files?
Logged

Offline gevaerts

  • Administrator
  • Member
  • *
  • Posts: 1053
Re: Make Rocbkbox Utility available as .exe not as .zip
« Reply #9 on: September 10, 2008, 05:25:15 AM »
Quote from: tomers on September 10, 2008, 05:08:03 AM
* It will be an executable, which is easier to use once downloaded.

That's only true if you don't have to answer seventeen questions before you can run it
Logged

Offline ZincAlloy

  • Member
  • *
  • Posts: 488
Re: Make Rocbkbox Utility available as .exe not as .zip
« Reply #10 on: September 10, 2008, 06:17:39 AM »
Quote from: tomers on September 10, 2008, 01:52:07 AM

There is no reason to have the utility be downloaded as an archive file.
Having to extract a compressed archive with just a single file is just another burden for the user, and can be considered as an annoyance.


If the user considers .zip files as a burdon he or she will consider Rockbox as being too complicated, anyway.
Logged

Offline LambdaCalculus

  • Member
  • *
  • Posts: 2257
  • Dreaming of Turing Machines...
    • The Nostalgia Roadtrip
Re: Make Rocbkbox Utility available as .exe not as .zip
« Reply #11 on: September 10, 2008, 06:18:19 AM »
Quote from: gevaerts on September 10, 2008, 05:25:15 AM
That's only true if you don't have to answer seventeen questions before you can run it

Besides, there may also be users who prefer to keep RButil on their DAPs as a matter of convenience, especially with the Windows version.
Logged
Former Rockbox dev. Rising from the ashes...

Players: iPod Video /w 128GB SSD mod, H320 /w 128GB SSD mod

Offline tomers

  • Developer
  • Member
  • *
  • Posts: 76
Re: Make Rocbkbox Utility available as .exe not as .zip
« Reply #12 on: September 10, 2008, 07:17:51 AM »
> Besides, there may also be users who prefer to keep RButil on their DAPs as a matter of convenience

As I suggested, the installer would copy it to your DAP if you chose to.

> If the user considers .zip files as a burdon he or she will consider Rockbox as being too complicated, anyway.

The question is do we want to have as many users as possible? Do we want to be an alternative to all OFs Rockbox have been ported to?
If the answer is positive, we should do a simple 'browse to -> click download -> install' process for this crowd. I can guess that far more than 80% of DAP owner are Windows users, and would consider Rockbox if that process was available for them. They expect (and deserve) a 'no-brainer', 100% automatic way to have Rockbox for their DAP.
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Make Rocbkbox Utility available as .exe not as .zip
« Reply #13 on: September 10, 2008, 07:23:25 AM »
So, you posit that "unzip" is too difficult for them to manage, but using the Rockbox software itself isn't?
Logged

Offline LambdaCalculus

  • Member
  • *
  • Posts: 2257
  • Dreaming of Turing Machines...
    • The Nostalgia Roadtrip
Re: Make Rocbkbox Utility available as .exe not as .zip
« Reply #14 on: September 10, 2008, 07:26:48 AM »
Quote from: tomers on September 10, 2008, 07:17:51 AM
They expect (and deserve) a 'no-brainer', 100% automatic way to have Rockbox for their DAP.

And that is exactly what Rockbox Utility is already.
Logged
Former Rockbox dev. Rising from the ashes...

Players: iPod Video /w 128GB SSD mod, H320 /w 128GB SSD mod

  • Print
Pages: [1] 2
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Make Rocbkbox Utility available as .exe not as .zip
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.121 seconds with 14 queries.