AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Should the downloaded installer omit the version number?
Goto page 1, 2, 3  Next
 
Reply to topic    AutoHotkey Community Forum Index -> Announcements
View previous topic :: View next topic  

What should be the installer's filename?
Keep it as it is now, e.g. AutoHotkey102506.exe
48%
 48%  [ 41 ]
Omit the version number, e.g. AutoHotkeyInstall.exe
51%
 51%  [ 43 ]
Total Votes : 84

Author Message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10716

PostPosted: Sun Jan 23, 2005 3:08 pm    Post subject: Should the downloaded installer omit the version number? Reply with quote

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 4:17 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
deguix



Joined: 26 Aug 2004
Posts: 76
Location: Chelsea - MA, USA

PostPosted: Mon Jan 24, 2005 12:38 am    Post subject: Reply with quote

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:
top-recode project (private server script) (pkodev)
Back to top
View user's profile Send private message
Rajat



Joined: 28 Mar 2004
Posts: 1687

PostPosted: Mon Jan 24, 2005 5:51 am    Post subject: Reply with quote

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
View user's profile Send private message
corrupt



Joined: 29 Dec 2004
Posts: 2485

PostPosted: Mon Jan 24, 2005 6:51 am    Post subject: Reply with quote

Keeping the installer name the same would make life a bit easier when trying to autoupdate... Smile
Back to top
View user's profile Send private message Visit poster's website
Rajat



Joined: 28 Mar 2004
Posts: 1687

PostPosted: Mon Jan 24, 2005 8:45 am    Post subject: Reply with quote

corrupt wrote:
Keeping the installer name the same would make life a bit easier when trying to autoupdate... Smile

autoupdating isn't a problem if a separate text file with the latest version info is available.
_________________
Back to top
View user's profile Send private message
JSLover



Joined: 20 Dec 2004
Posts: 634
Location: LooseChange911.com The WTC bldgs shouldn't have fallen that fast. The official story is a lie!

PostPosted: Mon Jan 24, 2005 9:19 am    Post subject: Reply with quote

corrupt wrote:
Keeping the installer name the same would make life a bit easier when trying to autoupdate... Smile

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.
_________________

Home • Click image! • Blog
Back to top
View user's profile Send private message Visit poster's website
CarlosTheTackle



Joined: 19 Oct 2004
Posts: 102

PostPosted: Mon Jan 24, 2005 9:20 am    Post subject: Reply with quote

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
View user's profile Send private message
deguix



Joined: 26 Aug 2004
Posts: 76
Location: Chelsea - MA, USA

PostPosted: Mon Jan 24, 2005 1:44 pm    Post subject: Reply with quote

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:
top-recode project (private server script) (pkodev)
Back to top
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10716

PostPosted: Mon Jan 24, 2005 2:29 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10716

PostPosted: Tue Jan 25, 2005 12:54 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
HaSchmi



Joined: 05 Jan 2005
Posts: 5

PostPosted: Tue Feb 08, 2005 5:32 pm    Post subject: Reply with quote

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 Wink


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 .... Very Happy
Back to top
View user's profile Send private message
BoBo
Guest





PostPosted: Tue Feb 08, 2005 6:19 pm    Post subject: Reply with quote

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 Shocked Cut&Paste? Stimmt, ist ja noch Fastnacht ... (just kidding) Laughing
Back to top
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10716

PostPosted: Wed Feb 09, 2005 2:39 am    Post subject: Reply with quote

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 Smile

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
View user's profile Send private message Send e-mail
ranomore



Joined: 06 Nov 2004
Posts: 170
Location: Salt Lake City, UT

PostPosted: Wed Feb 09, 2005 4:05 am    Post subject: Reply with quote

@ 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 Very Happy

Welcome, BTW, to AutoHotkey! Cool
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10716

PostPosted: Sun Mar 05, 2006 10:17 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Announcements All times are GMT
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You cannot post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group