Bug 363406 - 64-bit kate installs in 'Program Files (x86)' (reserved for 32-bit programs)
Summary: 64-bit kate installs in 'Program Files (x86)' (reserved for 32-bit programs)
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Windows CE Microsoft Windows
: NOR minor
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-22 17:39 UTC by 44thats44oars
Modified: 2016-05-29 10:44 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description 44thats44oars 2016-05-22 17:39:13 UTC
The 64-bit version of kate (obtained from here: ftp://kate-editor.org/haumann/Kate-2016.04-alpha_x86_64.exe) installs in 'C:\Program Files (x86)\Kate'. 'Program Files (x86)' is reserved for 32-bit/x86 programs, 64-bit programs just go in 'Program Files'.

Reproducible: Always

Steps to Reproduce:
Install the 64-bit version of kate on Windows (ftp://kate-editor.org/haumann/Kate-2016.04-alpha_x86_64.exe)

Actual Results:  
Kate is installed in 'Program Files (x86)'

Expected Results:  
Kate should install in 'Program Files'

This version: ftp://kate-editor.org/haumann/Kate-setup-2016.04.24-dev.exe seems to also be a 64-bit version of kate for Windows, though it installs in Program Files (x86)\Kate\bin
Comment 1 Kåre Särs 2016-05-22 19:26:47 UTC
Thanks for the report.

Newer installers compiled from released tar files can be found here:
http://download.kde.org/unstable/kate/

If you install over an older installation somehow the installation directory gets inherited from the old installation. Could that be the case here?
Comment 2 44thats44oars 2016-05-23 19:44:50 UTC
After uninstalling Kate, both Kate-setup-16.04.1-32bit.exe and  Kate-setup-16.04.1-64bit.exe from http://download.kde.org/unstable/kate/ install in the correcr directories. Although, if I try to install for example the 32-bit version while the 64-bit version is already installed, it will ask before removing the 64-bit version, then install the 32-bit version in the incorrect directory ('Program Files' rather than 'Program Files (x86)'). So you have to uninstall the version already installed before running running the other installer or it will get confused.

The files listed on the front of Kate's website seem to have quirky behaviour. With no version of Kate installed, Kate-2016.04-alpha_x86_64.exe installs incorrectly in 'Program Files (x86)' and Kate-setup-2016.04.24-dev.exe installs in 'Program Files'. I assumed that Kate-setup-2016.04.24-dev.exe was the 32-bit version, since it was the only other one listed than Kate-2016.04-alpha_x86_64.exe which is clearly 64-bit, but I might be wrong.

The files listed on http://download.kde.org/unstable/kate/ seem to work better and are less confusing. Is there a reason they aren't listed on the front page of Kate's website?
Comment 3 Kåre Särs 2016-05-24 09:53:47 UTC
Indeed the link in the article could be changed.
Comment 4 Dominik Haumann 2016-05-29 10:44:51 UTC
I changed the link.

What I did not anticipate is that it seems *many many* users removed the file and had a look at the ftp location, and then tried also the other *older* installer that still always installed to (x86).

However, *all* installers on kate-editor.org were always 64bit.

I removed the older installer now, and linked to download.kde.org.

If the installer messes up the proper installer folder, then I would say this is a very minor issue. And given we have more pressing issues, I think it is not worth following this, maybe it's even an NSIS installer issue upstream.

I will close this report now, since if you freshly install with the installer, the chosen program files location is correct.