Skip to content

GitPortable (installer) is Not a Valid Win32 Application #2780

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

Closed
1 task done
Radon8472 opened this issue Aug 6, 2020 · 8 comments
Closed
1 task done

GitPortable (installer) is Not a Valid Win32 Application #2780

Radon8472 opened this issue Aug 6, 2020 · 8 comments
Labels

Comments

@Radon8472
Copy link

Radon8472 commented Aug 6, 2020

  • I was not able to find an open or closed issue matching what I'm seeing

Setup

  • Which version of Git for Windows are you using? Is it 32-bit or 64-bit?
$ git --version --build-options
  • PortableGit-2.28.0-32-bit.7z.exe

  • Which version of Windows are you running? Vista, 7, 8, 10? Is it 32-bit or 64-bit?

$ cmd.exe /c ver

Microsoft Windows XP [Version 5.1.2600]
  • What options did you set as part of the installation? Or did you choose the
    defaults?
# One of the following:
> type "C:\Program Files\Git\etc\install-options.txt"
> type "C:\Program Files (x86)\Git\etc\install-options.txt"
> type "%USERPROFILE%\AppData\Local\Programs\Git\etc\install-options.txt"
$ cat /etc/install-options.txt

NONE
  • Any other interesting things about your environment that might be related
    to the issue you're seeing?

Details

  • Which terminal/shell are you running Git from? e.g Bash/CMD/PowerShell/other

NONE

I expected that Instalation of GitPortanle should start

  • What actually happened instead?

A Windows Alert Dialog opened with the message: D:\Download\PortableGit-2.28.0-32-bit.7z.exe ist keine zulässige Win32-Anwendung (in english this means PortableGit-2.28.0-32-bit.7z.exe is Not a Valid Win32 Application

  • If the problem was occurring with a specific repository, can you provide the
    URL to that repository to help us with testing?

What I already did:

  • I tried to download the installer multiple times to ensure it is no download Problem
  • Completed a Virus Scan on the downloaded file (no curruption)
  • I Checked the sha-checksum: it is 11b854e9246057a22014dbf349adfc160ffa740dba7af0dbd42d642661b2cc7f
    that matches the sha-checksum in the Readme-area for this download here in this Repo

Suggestion to fix this

  • Offer a zip archiv as download option for git portable too
@rimrul
Copy link
Member

rimrul commented Aug 7, 2020

Microsoft Windows XP [Version 5.1.2600]

No. Absolutely no.

As of Git for Windows v2.10.1, Windows Vista or later are required.

Just to remind you, we're nearing the fourth aniversary of that release. Git for Windows 2.10.1 was released on October 4th 2016.

Newer windows versions don't seem to complain about this file being invalid.

ist keine zulässige Win32-Anwendung (in english this means ... is Not a Valid Win32 Application

Slight misstranslation here (not sure if it's yours or microsofts) "zulässig" tends to mean "permitted" rather than "valid"

If you still want to unpack it on XP (and then move the resulting Portable Git to some other machine, because it won't run on XP), you might be able to do so using 7-zip.

@rimrul rimrul added the invalid label Aug 7, 2020
@mfriedrich74
Copy link

mfriedrich74 commented Aug 7, 2020 via email

@Radon8472
Copy link
Author

Radon8472 commented Aug 7, 2020

ist keine zulässige Win32-Anwendung (in english this means ... is Not a Valid Win32 Application

Slight misstranslation here (not sure if it's yours or microsofts) "zulässig" tends to mean "permitted" rather than "valid"

I am using a german windows, so I am not 100% sure what the exact translation of this error would be in an english windows.
But

  1. I found this error-message string via google, so I thing that is the microsoft translation for this error
  2. in this context "valid" is a well matching synonym for "zulässig"

But I agree the best translation for valid would be 'gültig' in my language.

@rimrul
Copy link
Member

rimrul commented Aug 7, 2020

Either way, let's not get stuck on the translation.

I've verified that XP Professional SP3 does indeed throw said error message, but Windows 7 32 bit does not. I don't have a convenient Windows 10 32bit at my disposal atm, but will check with Vista.

@rimrul
Copy link
Member

rimrul commented Aug 7, 2020

Windows 10 and Windows Vista don't complain either.

@mfriedrich74
Copy link

mfriedrich74 commented Aug 8, 2020 via email

@dscho
Copy link
Member

dscho commented Aug 10, 2020

Windows XP is not supported by Git for Windows. See https://gitforwindows.org/requirements.html

@dscho dscho closed this as completed Aug 10, 2020
@dscho
Copy link
Member

dscho commented Aug 11, 2020

Offer a zip archiv as download option for git portable too

The idea of the Portable Git being a self-extracting 7-Zip archive is that you can unpack it with 7-Zip, without using the self-extracting part.

You will still not have much joy with Git for Windows on XP, though, as there are so many instances of Git Bash and git.exe using Win32 API functions that are simply not supported by Windows XP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants