AutoHotkey Community

It is currently May 25th, 2012, 1:44 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 35 posts ]  Go to page 1, 2, 3  Next

What should be the installer's filename?
Keep it as it is now, e.g. AutoHotkey102506.exe 49%  49%  [ 41 ]
Omit the version number, e.g. AutoHotkeyInstall.exe 51%  51%  [ 43 ]
Total votes : 84
Author Message
PostPosted: January 23rd, 2005, 4:08 pm 
Offline

Joined: March 2nd, 2004, 3:36 pm
Posts: 10720
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 July 4th, 2006, 5:17 am, edited 1 time in total.

Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 24th, 2005, 1:38 am 
Offline

Joined: August 26th, 2004, 3:11 pm
Posts: 80
Location: Chelsea - MA, USA
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:
NumpadMouse v2 (Draw)
top-recode project (private server script) (pkodev)


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 24th, 2005, 6:51 am 
Offline

Joined: March 28th, 2004, 3:53 pm
Posts: 1865
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.

_________________
Image


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 24th, 2005, 7:51 am 
Offline
User avatar

Joined: December 29th, 2004, 1:28 pm
Posts: 2537
Keeping the installer name the same would make life a bit easier when trying to autoupdate... :)


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 24th, 2005, 9:45 am 
Offline

Joined: March 28th, 2004, 3:53 pm
Posts: 1865
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.

_________________
Image


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 24th, 2005, 10:19 am 
Offline
User avatar

Joined: December 20th, 2004, 12:19 pm
Posts: 794
Location: LooseChange911.com Ask Questions, Demand Answers █ The WTC bldgs █ shouldn't have fallen █ that fast
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.

_________________
AutoHotkey-Hotstring.ahk - Helping the world spell "AutoHotkey" correctly! (btw, it's a lowercase k!)


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 24th, 2005, 10:20 am 
Offline

Joined: October 19th, 2004, 12:11 pm
Posts: 102
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


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 24th, 2005, 2:44 pm 
Offline

Joined: August 26th, 2004, 3:11 pm
Posts: 80
Location: Chelsea - MA, USA
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:
NumpadMouse v2 (Draw)
top-recode project (private server script) (pkodev)


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 24th, 2005, 3:29 pm 
Offline

Joined: March 2nd, 2004, 3:36 pm
Posts: 10720
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.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 25th, 2005, 1:54 am 
Offline

Joined: March 2nd, 2004, 3:36 pm
Posts: 10720
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.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 8th, 2005, 6:32 pm 
Offline

Joined: January 5th, 2005, 6:38 pm
Posts: 5
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 .... :D


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 8th, 2005, 7:19 pm 
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 :shock: Cut&Paste? Stimmt, ist ja noch Fastnacht ... (just kidding) :lol:


Top
  
Reply with quote  
 Post subject:
PostPosted: February 9th, 2005, 3:39 am 
Offline

Joined: March 2nd, 2004, 3:36 pm
Posts: 10720
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.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 9th, 2005, 5:05 am 
Offline

Joined: November 6th, 2004, 11:03 am
Posts: 170
Location: Salt Lake City, UT
@ 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 :D

Welcome, BTW, to AutoHotkey! 8)


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 5th, 2006, 11:17 pm 
Offline

Joined: March 2nd, 2004, 3:36 pm
Posts: 10720
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.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 35 posts ]  Go to page 1, 2, 3  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group