Skip to content

Instantly share code, notes, and snippets.

@horta
Last active April 28, 2021 03:12
Show Gist options
  • Save horta/18a6bda81f254d6a9f8f61e82101b66b to your computer and use it in GitHub Desktop.
Save horta/18a6bda81f254d6a9f8f61e82101b66b to your computer and use it in GitHub Desktop.
ZLIB installer for Windows.
:: Attention!
:: Please, refer to the https://github.com/horta/zlib.install repository
:: for an up-to-date version of this installer.
@horta
Copy link
Author

horta commented Apr 7, 2020

Do you have Visual studio? Try opening a develop prompt of visual studo and running it from there.

@athanggupte
Copy link

Thank you @horta for creating this batch file. It was very helpful and saved a lot of my time.

@gaet-63
Copy link

gaet-63 commented Apr 11, 2021

Dear, I have done alle the process but I can't find the software Zlib...
I don't have in the register and when i go to th location and I open the application in the folder.
I have a message : not compatible with your version of windows 64 bits

Can you help me?

@horta
Copy link
Author

horta commented Apr 11, 2021

It won't change your register: it just compile and copy the files into PROGRAMFILES folder. I would need to log file and the output from when you ran the installation script: https://github.com/horta/zlib.install

@artucera
Copy link

artucera commented Apr 23, 2021

@horta I'm sorry to bother but this thing is giving me a huge headache... I follow all the steps, install VisualStudio and Cmake but when I open the command prompt and run the code it outputs: '"powershell" not recognized as internal or external command....'
what am I doing wrong? Thanks so much for your help!

@horta
Copy link
Author

horta commented Apr 23, 2021

@artucera
Copy link

artucera commented Apr 23, 2021

@horta Thanks, unfortunately I had it already. I tried to uninstall it and install it back again but it still outputs the same stuff, I don't really know how to proceed...
the exact error message is:
powershell: The term 'powershell' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
./install_zlib.bat: The term './install_zlib.bat' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
Remove-Item: Cannot find path 'C:\Users\artur\install_zlib.bat' because it does not exist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment