-
Notifications
You must be signed in to change notification settings - Fork 163
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
Windows GUI: Enable 64-bit version #882
Conversation
Need to clean up the project file and change paths to relative... |
Please see the updated first post. I recommend having 64-bit installer version due to the advantages listed in first post, the fact that most PCs should be 64-bit already and the effect of smaller installed size on 64-bit PCs due to removal of |
Not tested but my understanding is that the 32-bit binaries are no more in the installer, size is smaller so it is good, but the 32-bit related code won't work. We'll have to update build scripts in https://github.com/MediaArea/MediaArea-Utils/ , please some patience, it is on our side but we have other things to finish before managing that (including building the GUI twice). It won't be forever but not in June. Thank you for pushing us in that direction, just that in the cases of EdgeView and 64-bit we are the blockers and we need some time. But don't give up, we are still very happy with you pushing us.
You can not imagine the count of emails I received when we stop WinXP support despite the fact it was end of life for years, I bet the same for 32-bit, actually even worse (we have no stat, sadly). |
This PR makes the installer generate a universal one. It will use only 64-bit binaries on 64-bit PCs. For 32-bit PCs should be still the same as now unless I made a mistake somewhere.
Found outdated stats: https://blogs.windows.com/windowsexperience/2010/07/08/64-bit-momentum-surges-with-windows-7/ |
Now I have doubts, looks like that 32-bit Windows is less than 1% so I would think to remove it... |
Well the last time I remember seeing a 32-bit Windows PC was several years ago on a low-end small-sized Intel tablet. |
I have read it again and it seems that my first read was wrong.
We need to find where it is in our scripts and add the right line for building the 64-bit version. Theses scripts are very old so we need to read and understand them again :-D. |
Where I think it is after a quick look: https://github.com/MediaArea/MediaArea-Utils/blob/master/build_release/BuildRelease.bat#L285 |
Less than 0.1% if we look at the 64 vs 32 chart. That link also shows Windows 7 is less than 0.5% in the versions chart. Here is another source of stats: https://store.steampowered.com/hwsurvey If we assume these stats accurately represent the actual user base and also assume that all unlisted versions are 32-bit, then the percentage of 32-bit Windows will be around 3%. Side note: take a look at the Windows 11 share in both sources... it's time for Windows 11 explorer context menu 😉 |
Corrected path for x64 CURL since I just saw its location in the repos. Also tested the combined installer in Windows 7 VM. Did not run into any issues and also confirmed it uninstalled cleanly from install directory. @JeromeMartinez Might want to add check to see if MediaInfo is running during uninstall or add
Added as an additional commit. It builds but install/uninstall is not tested.
This one leave it up to your team since need server URL and I'm not good enough with NSIS to do this. From another page:
Then you might want to update your 8-year old 7-Zip that I came across at https://github.com/MediaArea/MediaArea-Utils-Binaries/tree/master/Windows/7-Zip. I tried compressing the extracted 7z dev snapshot with my latest 7-Zip using the same command line as your script and it resulted in a slightly smaller file size. |
7a7bdec
to
c264a6d
Compare
Improved the installer. The first change is adding back the option to run MediaInfo after installation has completed. I saw that it was removed "because it is run in admin privileges". It is now run at user privileges. The second change is regarding this:
Now if MediaInfo is running or something is using If MediaInfo is not running and nothing is using This is implemented using macros from |
Add 64-bit only installer. Size comparison (including WebView2 branch changes):
Current version: Maybe can do something like this if want to minimize download size: |
d450ed5
to
8dff815
Compare
Re-based on 24.06 while ensuring version numbers in project file are updated. Also reduced number of commits and moved an unrelated commit to another branch where that file was changed over there. |
The Stub installer is also something we are thinking to add while changing to a 64-bit offer so we show 1 small installer only to all download websites without issue with 32-bit machines (there may actually be more than estimated in the wild). |
ed0cb24
to
6662470
Compare
Rebased and changed 24.05 to 24.06 in installer scripts that I missed. |
Re-add run MediaInfo on install completed and better clean-up on uninstall when MediaInfo is running during uninstall.
For reference MediaArea/MediaArea-Utils#297, #905 and #883 were required for having everything ready for our workflow. |
This build is not from latest master and still has disappearing menu glitch but it's okay, I found a newer dev snapshot. I will use it until the next version to enjoy the new changes and also as additional testing. Might want to update the project files for ZenLib and zlib to add 64-bit targets so that people who use IDE to build will not have trouble. They can easily manually add the target themselves though. I didn't expect building from CLI to work without 64-bit target in project file but it does. |
Requires building 64-bit versions of ZenLib and zlib as well. For these two, no changes required other than enabling 64-bit.
Advantages of 64-bit version:
Issues that may be related: #575 #788 #868