User forums > General (but related to Code::Blocks)

Unofficial Code::Blocks installer for Windows x64 August 2021

(1/4) > >>

AndrewCot:
Updated for the release on 15-Sep-2021.
[/b]
The installers references in this post are *not* official Code::Blocks releases, nor are they thoroughly tested like the official builds done by the Code::Blocks Team.
The installers do, however include changes that make the Code::Blocks installation and setup/configuration on Windows allot easier compared to the official installer.

Installer download link:

https://sourceforge.net/projects/unofficial-cb-installers/

C::B exe/dll changed/update highlights compared to the last nightly SVN 12516 release:

    1. Auto-detect POP up condition on startup has changed. After initial install will only pop up if the default compiler has issues. (SF Ticket 1117)
    2. Auto-detect compiler dialog has the option to show the installed or all the compilers. (SF Ticket 1117). Reworked and simplified the code in the 4-Sep-2021 release.
    3. The compiler selection dialog has the option of showing the detected compilers or all the compilers. Fix a number of compiler selection dialog bugs. (SF Ticket 1111)
    4. Added support for the following Windows compilers via the XML files (Ticket 374)
                - GCC MSYS2 - MinGW-w32
                - GCC MSYS2 - MinGW-W64
                - GCC TDM-32
                - GCC TDM-64
                - GCC MinGW-w32
                - GCC MinGW-w64
                - GCC LLVM Clang MinGW-W64
                - Other MinGW w32 or w64 compilers like winlib or gytx
    5. 64bit built with MSYS2 mingw64 GCC 10.3 using the latest MSYS 2 release.
    6. 32bit built with MingGW-64 installer using "GCC 8.1.0 , i686, posix threading, dwarf exception hading and 0 build revision" configuration.
    7. Moved Help->About->Information to Help->"System Information" and added allot of extra info on the CB and PC setup. Added copy to clipboard button that anonymize's the data when copied to the clipboard. (SF Ticket 748)
    8. Added extra help plugin menu items for the updated documentation included in the installation. These appear as sub menu items in the Help menu.
    9. Copy Debug Watch variable content to clipboard. Add three extra watches dialog context menu options: copy data, copy symbol and data and copy the symbol tree. (SF Ticket 654)
    10. Incorporated SVN changes up to SVN 12529. See https://sourceforge.net/p/codeblocks/code/12529/log/ for change info.
    11. Incorporated SF ticket 1135 to fix open a WXS or XRC file containing a wxStdDialogButtonSizer (p.e. src\sdk\resources\auto_detect_compilers.xrc) in wxSmith's editor wxWidgets shows an assert.

Updated installer highlights compard to the C::B 20.03 NSIS installer:
    1. Option to download and run the following compiler installers from the internet:
            MinGW-W64
            TDM
            MSSY2
            Cygwin
    2. Optionally remove user application data if found on an unnstall.
    3. Option to un-install if already found when installing.
    4. Optionally checks for fortan plugin and if found adds it to the installer.
    5. Output filename includes date and 32 or 64 bit and version.
    6. Added missing files that are included in the nightly build.
    7. Inno setup only does a full install.
    8. Updated start menu links.
    9. Ability to specify the start menu directory.
    10. Ability to specify the install directory.
    11. On an un-install allot more registry entries are removed (NSIS still leaves a few). Not all entries are removed.
    12. To many other changes to mention....
    13. Check out the https://sourceforge.net/projects/unofficial-cb-installers/files/Installer_Pages.odt file for the installer pages.
    14. Now installs Code::Blocks in the "C:\Program Files" directory for the 64 bit installer.
    15. Inno installer uses InnoSetup Compiler(ISS) (http://www.jrsoftware.org) aka ISS V6.2.0
    16. NSIS installer uses NSIS compiler (http://nsis.sourceforge.net) V3.7.0
    17. Inno installer script file is "Installer_ISS_full_only.iss"
    18. NSIS installer script file is "Installer_NSIS.nsi"
    19. NSIS only - Added XP SP 3 x86 and x64 support - different set of files from https://sourceforge.net/p/codeblocks/code/11196/tree/trunk/src/exchndl /win32/bin and /win64/bin.. NOTE: Inno setup 6 does not support XP anymore. x66 works, but x64 has issue with mscrt.dll function missing.
    20. Both Installer can install using non admin (user) account. Admin is needed to install in the C:\Program file.... directory. If you run normally you install as a user, but if you run as admin you are asked which type of installation  you want.
    21. Both Installer can optionally open the https://github.com/ssbssa/gdb/releases web page as a sub checkbox in the compiler install page under the MINGW checkbox. This qallows the user to manually install a later GDB for MINGW that works. (SF ticket 1020)
    22. Installer code is not a separate repo, but a directory in the C::B GitHub source repo tree. (SF Ticket 1119)
    23. Massive NSIS changes (Including updating parts to the new NSIS 3 way of working) (SF Ticket 1119)
    24. Inno Setup installer created and tested (SF Ticket 1119)
    25. Graphics changes included in the installers (I am not a graphical arteist if you get it!) (SF Ticket 1119)
    26. Installer script files support both 32 and 64 bit in the one script file. (SF Ticket 1119)
    27. Can build the installer(s) from a batch file now. (SF Ticket 1119)
    28. On Windows initial install auto detect GDB installation and configure it for use. (SF Ticket 1114)
    29. Asks if you want to uninstall previopus version before installing new version.
    30. Install and uninstall checks to see you are running as admin or normal user so the install/uninstall uses the same priveleges as last one.
    31. Modified nsi to only show the download compiler page if an internet connection is detected.
    32. Modified nsi to support installing the following if they are in the same directory as the installer:
            * i686-8.1.0-release-posix-dwarf-rt_v6-rev0.7z
            * x86_64-8.1.0-release-posix-seh-rt_v6-rev0.7z
          These can be downloaded from https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/8.1.0/


NOTES:
If you want to check these installers out then I would advise backing up your Code::Blocks install and user data directories before running the installer so you can go back to your current configuration.
You can also rename Code::Blocks install and user data directories instead of backing them up if you want to be

AndrewCot:
32 bit installers are now available if anyone wants to give them a go, but be aware the 32 bit release have only had a quick test to see that the installers work and that CB will start and run.

AndrewCot:
Updated 64 bit installers available with the following changes:

04-Aug-21 Ticket 808 - Updated the default compiler background color to red if invalid. With 1117 this should resolve 808.
05-Aug-21 Ticket 748 - Moved Help->About->Information to Help->"System Information" and added allot of extra info on the CB and PC setup for helping with issues and bugs.
05-AUG-21 Added extra help plugin menu items for the updated documentation included in the installation. These appear as sub menu items in the Help menu.

ollydbg:
Nice work!

I would suggest you can add the build information of the C::B binary, such as what compiler do you use to build the C::B.

Also, is it possible to to support portable mode, I mean we have a "CBlauncher.exe", which can run C::B in portable mode, in this mode, all the options are stored in a local sub folder.

AndrewCot:
The x64 info is included in the original post above. The readme on the Sourceforge file download page is the latest and includes the build info for x86, which was updated when I did the x86 installers.

All of the installers include the CbLauncher.exe as the installers include everything the existing ones do plus some more files.  Looks like I need to do a cross check on the start menu shortcuts between the NSIS and ISS scripts as the ISS script does not include adding a shortcut like the NSIS installer does.

Do you mean by "support portable" mode by adding the shortcut into the ISS installers?  If not, can you please elaborate or point me where I can find out what I need to do to add the mode in.

Navigation

[0] Message Index

[#] Next page

Go to full version