-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installer installs 64 bit application into 32 bit Program Files directory #11554
Comments
GE is currently built as 32-bit (except shell extensions). There has been some discussions about building a 64-bit app, not sure of the status. See also #9990 |
@silmaril42 why is this a problem? @gerhardol I did drop Prefer32Bit=true in #11240, so the app is now run as a 64bit process. We should stop building and distributing the 32bit shell extension too, but I've completely overlooked/forgotten about it. |
@gerhardol Here GE won't start unless .Net Core Desktop is installed in the 64 bit version. The 32 bit version didn't work for me. So this looks very much like a 64 bit application to me. @RussKie My problem was to find the correct dependency to make a baramundi install package for GE to use in our company. Usually we can trust the installation path to point to the correct bitness. The wrong path meant we needed one extra attempt (so not very much time was wasted here). The 4.2.1 release page already points to the correct x64 .Net installer. I agree that this is not high priority - it's simply something that doesn't feel right at the moment, but it does work. |
Correct. We welcome contributions though :) |
A tested PR with the adapted installation path is welcome.
GE does not use the shell extension itself. It is provided for all kind of filesystem shells - including file dialogs. |
32bit OS are getting rarer with every passing year, so it's not something we should continue to invest our efforts either. |
Of course, but that's not the point. The question is "When will the support for Win32 applications be removed from Windows?" |
Win32 and 32bit are two different things :)
|
I concur with this description. Recently I've managed to generate the I agree with the OP that the installer should default to Where in the code base should I change this default setting? |
That's a $64,000 question :) I would think the following need to happen:
It is also worth noting that the current version of Wix is pretty old, and it should be updated to the new version (v4 or v5), however, it is time consuming, and likely require dealing with some breaking changes that the new version introduced. |
The culprit is here (hard-coded
I'm preparing a PR to fix it, and we would discuss it further about my proposal there. I don't think we should worry too much about making GE going strictly 32-bit or strictly 64-bit. The existing GE build can be installed in either places and Windows won't complain. I think Windows accepts partially-64-bit apps in |
Here's a twist. |
We don't (actively) support x86 since Microsoft stopped supporting it. If you still use x86 platform you can build installers for it yourself. |
Environment
Issue description
The MSI installer
GitExtensions-4.2.1.17611-b0c0b2848.msi
installs the 64 bit application intoC:\Program Files (x86)\GitExtensions
if the default is left unchanged.64 bit applications should be installed to
C:\Program Files\
, or whatever the environment variable%ProgramFiles%
points to in a 64 bit environment (this only works if the installer actually runs in a 64 bit context).Steps to reproduce
/qn /norestart ALLUSERS=2 TELEMETRY_ENABLED=0
C:\Program Files (x86)\GitExtensions
Did this work in previous version of GitExtensions?
No response
Diagnostics
I also checked that the MSI installer is shown as "64-bit" in Process Explorer, too.
This means checking
%ProgramFiles%
should work here.The text was updated successfully, but these errors were encountered: