| View previous topic :: View next topic |
| What should be the installer's filename? |
| Keep it as it is now, e.g. AutoHotkey102506.exe |
|
47% |
[ 24 ] |
| Omit the version number, e.g. AutoHotkeyInstall.exe |
|
52% |
[ 27 ] |
|
| Total Votes : 51 |
|
| Author |
Message |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10450
|
Posted: Sun Jan 23, 2005 4:08 pm Post subject: Should the downloaded installer omit the version number? |
|
|
I've noticed more and more sites linking directly to the version-numbered installer.
There are two problems with this:
1) When the next version is released, anyone who downloads from the old link will not get the latest version.
2) The link will eventually become broken because I do not keep all past versions on the site.
In light of this, I'm considering changing the installer's filename to omit the version number. I know this will inconvenience anyone who keeps older versions on hand. Do you think this inconvenience is worth eliminating the two problems above?
Thanks for voting.
Last edited by Chris on Tue Jul 04, 2006 5:17 am; edited 1 time in total |
|
| Back to top |
|
 |
deguix
Joined: 26 Aug 2004 Posts: 72 Location: Everett - MA, USA
|
Posted: Mon Jan 24, 2005 1:38 am Post subject: |
|
|
I don't like a version numbered executable name because of the two problems you said. Linking the executable from another website will give the hoster constant nightmares. _________________ Working now on:
NSIS Wiki (NSIS) |
|
| Back to top |
|
 |
Rajat
Joined: 28 Mar 2004 Posts: 1715
|
Posted: Mon Jan 24, 2005 6:51 am Post subject: |
|
|
omitting seems justified. all the change i'd need to do to my archiving habits is add the version to the file before sending it to the folder with prev versions. _________________
 |
|
| Back to top |
|
 |
corrupt
Joined: 29 Dec 2004 Posts: 2328
|
Posted: Mon Jan 24, 2005 7:51 am Post subject: |
|
|
Keeping the installer name the same would make life a bit easier when trying to autoupdate...  |
|
| Back to top |
|
 |
Rajat
Joined: 28 Mar 2004 Posts: 1715
|
Posted: Mon Jan 24, 2005 9:45 am Post subject: |
|
|
| corrupt wrote: | Keeping the installer name the same would make life a bit easier when trying to autoupdate...  |
autoupdating isn't a problem if a separate text file with the latest version info is available. _________________
 |
|
| Back to top |
|
 |
JSLover
Joined: 20 Dec 2004 Posts: 542 Location: LooseChange911.com... the WTC attacks were done by the US Gov't... the official story is a lie...
|
Posted: Mon Jan 24, 2005 10:19 am Post subject: |
|
|
| corrupt wrote: | Keeping the installer name the same would make life a bit easier when trying to autoupdate...  |
I read somewhere that AutoHotkeyInstall.exe is already an alias for the current version, so people can already choose that if they want...but linking to both versions on the download page would make it more obvious. If you already have it both ways, why change? Link to both on the download page...
...actually instead of the scattered links in the words (for the "alternate" download & the zip) I think this would look better & be easier to pick which to download...
...well, in theory that was a good idea, but the permalink version isn't available on the "main" download site, neither is the zip...hrm?...ok...
...with some creative servering (is that a word?) you can make it 302 (redirect) from the permalink to the versalink (version link) & I'm pretty sure (in most browsers) it will offer to save to the name it was redirected to & not the originally clicked on link. So if your server is Apache or has Apache's concept of an .htaccess file you can redirect requests for AutoHotkeyInstall.exe to the current version, without having a real copy with that name. This kills both birds...one permalink, with versioned filenames. _________________
LooseChange911.com • See Loose Change (click image!) • LC Blog |
|
| Back to top |
|
 |
CarlosTheTackle
Joined: 19 Oct 2004 Posts: 102
|
Posted: Mon Jan 24, 2005 10:20 am Post subject: |
|
|
Whilst I always like the version number to be on the filename, I am happy to add it myself when I download it for the sake of the previously discussed advantages to the hosting issues.
C |
|
| Back to top |
|
 |
deguix
Joined: 26 Aug 2004 Posts: 72 Location: Everett - MA, USA
|
Posted: Mon Jan 24, 2005 2:44 pm Post subject: |
|
|
Oh yeah, you got a point here. Archiving will be easier if there is a version on the filename. But that's what I don't do (I just run the executable directly), so for me the version number doesn't matter. _________________ Working now on:
NSIS Wiki (NSIS) |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10450
|
Posted: Mon Jan 24, 2005 3:29 pm Post subject: |
|
|
Thanks for all the votes and comments.
| JSLover wrote: | | linking to both versions on the download page would make it more obvious. If you already have it both ways, why change? | That's a very nice proposal. Although the term permalink might be a little confusing, especially for those for whom English isn't their first language, it has the benefit of being concise. However, I know some sites will not notice the permalink (or misunderstand it), and link to the versioned filename instead.
| Quote: | | instead of the scattered links in the words (for the "alternate" download & the zip) I think this would look better & be easier to pick which to download... | That is very concise but it lacks clarity. For example, many might think that "zip" means the method of compression, not the fact that it is a version that lacks an installer. Another reason I make the link to the zip file obscure (buried in the description) is that it seems like a version few would want to use.
| Quote: | | with some creative servering (is that a word?) you can make it 302 (redirect) from the permalink to the versalink (version link) & I'm pretty sure (in most browsers) it will offer to save to the name it was redirected to & not the originally clicked on link. | I considered that but for decided against it two reasons:
1) There is doubt about it being compatible with all browsers.
2) Visitors looking for a hard link (that points to a real file) won't find one. For example, some hosting sites require a hard link to a file and not something that redirects.
| Quote: | | So if your server is Apache or has Apache's concept of an .htaccess file you can redirect requests for AutoHotkeyInstall.exe to the current version, without having a real copy with that name. This kills both birds...one permalink, with versioned filenames. | That's pretty interesting and I will look into it.
Thanks. |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10450
|
Posted: Tue Jan 25, 2005 1:54 am Post subject: |
|
|
With the latest release, the installer filename is now generic: AutoHotkeyInstall.exe
I know this will be inconvenient to some, but hopefully the net effect is positive. I'll be on the lookout for ways to have the best of both worlds, such as the methods proposed by JSLover.
Thanks for all the comments. |
|
| Back to top |
|
 |
HaSchmi
Joined: 05 Jan 2005 Posts: 5
|
Posted: Tue Feb 08, 2005 6:32 pm Post subject: |
|
|
All i need is the name with the actually version number and date in
a pretty manner on the web side near the download link
like e.g.
--------------------------------------------------------------------------------
Version 1.0.25.14 -- February 5, 2005 (see changelog)
AutoHotkey_1.0.25.14_(2005-Feb-05).exe
AutoHotkey (1283 KB): Includes installer, help file, script compiler, and ...
--------------------------------------------------------------------------------
or AutoHotkey_1.0.25.14_(Pre-1.0.26_build_2005-Feb-05).exe
So we only need to select and copy the name,
than click the DL-Link and paste the name to
store the file on disc.
Sure we could do that on our own, but
if you could do such thing automaticly ....  |
|
| Back to top |
|
 |
BoBo Guest
|
Posted: Tue Feb 08, 2005 7:19 pm Post subject: |
|
|
| Quote: | So we only need to select and copy the name,
than click the DL-Link and paste the name to
store the file on disc. | Das ist wie: "durch die Brust ins Auge" und kommt gleich nachm Handstand Cut&Paste? Stimmt, ist ja noch Fastnacht ... (just kidding)  |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10450
|
Posted: Wed Feb 09, 2005 3:39 am Post subject: |
|
|
For now, just copy and paste the version number. You can throw that in next to the filename in "Save As" by pressing the End key followed by four left arrows
I checked into using a PHP script to provide a versioned filename, but I'm not comfortable with its browser compatibility, the lack of an obvious filename for those who want a direct link, and other issues. |
|
| Back to top |
|
 |
ranomore
Joined: 06 Nov 2004 Posts: 178 Location: Salt Lake City, UT
|
Posted: Wed Feb 09, 2005 5:05 am Post subject: |
|
|
@ HaSchmi
Why not use the AHK Automated Installation script, changing the name of the downloaded installer based on the the lines in currentversion.txt?
URLDownloadToFile, %DownloadURL%/AutoHotkeyInstall.exe?%Rnd1%=%Rnd2%, %DownloadFolder%\AutoHotkey%LatestVer2%.exe
Change the blue part
Welcome, BTW, to AutoHotkey!  |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10450
|
Posted: Sun Mar 05, 2006 11:17 pm Post subject: |
|
|
JSLover spent some time creating a new method of putting the version number into the installer when you download it. The filename should now appear in the "Save As" dialog as AutoHotkey104203_Install.exe even though the link points to the permalink/generic filename AutoHotkeyInstall.exe.
It uses a .htaccess method to redirect to a PHP script containing print header("Location...
Although it seems to work well (even with UrlDownloadtoFile and WGet), please let me know if you have any problems with it. |
|
| Back to top |
|
 |
|