Menu

#1119 Windows Installer update request

Undefined
open
Feature_Request
2022-04-15
2021-07-21
No

It would be advantageous for the Windows installer scripts to be updated and enhanced for the following:
1) Include in the codeblocks trunk source to make it easier to work on the installer
2) Include in the codeblocks trunk source so in the future the CI/CD process could be enhanced to build the installer as part of the CB build.
3) Modify the install scripts to use relative paths to find the CB files that are required for the install (if 1) is done).
4) Update the scripts for NSIS 3 functionality (last install page to include option to run CB or open the codeblocks manaul or click on the link to www.codeblocks.org)
5) Modify the script so it can be build the exe against either the SVN or github repos.
6) Modify the script so it can build either the 32 or 64 bit installer via the change of one define.
7) Add missing files that are included in the nightly build
8) Add user select-able option to uninstall previous version before installing new version.
9) Add ability to download the https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/installer/mingw-w64-install.exe and run it if the user says yes to download and run it. This allows cuts the number of executables from 4 to 2 exe's.
10) Add the ability to remove the %APPDATA%\codeblocks directory if the user says yes to it in the uninstaller.
11) For the NSIS installer upgrade to the UltraModernUI (https://github.com/SuperPat45/UltraModernUI) and use the enhanced features it includes for the following:
a) New uninstall options - repair, reinstall, modify, remove
b) Upgrade version support
c) New install type page (min, standard, full or custom)
12) Add codeblocks manuals from
13) Add wxPDwidget pdf file
14) Update/Add shortcuts for codeblocks web site, docs, bugs etc
15) Create new shortcuts for:
a) cb_share_config.exe
b) cctest.exe
c) Addr2LineUI.exe

Discussion

  • Andrew Cottrell

    Andrew Cottrell - 2021-07-28

    Attached is the installer and uninstaller dialogs for NSIS and ISS that I have working successfully for 64 bit systems.

     

    Last edit: Andrew Cottrell 2021-07-28
  • ollydbg

    ollydbg - 2021-08-01

    I'm not familiar with the installer setup.

    I opened the .odt file by Libre Office, and it looks quite nice.

    BTW: cctest.exe is belong to CodeCompletion plugin, but it is only for internal testing, so no need to add this file to the installer.

     
  • Andrew Cottrell

    Andrew Cottrell - 2021-08-01

    Thanks for the feedback. I will remove cctest.exe in the next installer update. If you want to try the installers, you can grab them from the following URL:
    https://sourceforge.net/projects/unofficial-cb-installers/
    Make sure you read the info on the files page to see if you want to give them a try or not. Just in case make sure you backup your install and config directories just in case.

     
  • Andrew Cottrell

    Andrew Cottrell - 2021-08-10

    The changes for the installer are available from the following github branch:
    https://github.com/acotty/codeblocks_sf/tree/AC-WindowsInstaller

    All of the changes are in the new windows_installer directory, so if you want to test the installer use your exsting code and use the new install process / files in the windows_installer. The new process of building the installers can be seen in the batch files in the directory. The ReadmeInstallerRelease.txt file will need to be changed once the code /changes are okay to be incorporated into the trunk .

     
  • Morten MacFly

    Morten MacFly - 2021-09-12

    Please see comments in the forum:
    https://forums.codeblocks.org/index.php/topic,24603.msg167932.html

     
  • Andrew Cottrell

    Andrew Cottrell - 2022-01-20

    https://forums.codeblocks.org/index.php/topic,24603.msg169072.html#msg169072 :

    With the clangd_client plugin eventually needing to be incorporated into the Windows installer, which I have done already in my unofficial installer. The existing NSIS installer code/process is IMHO not very nice to work on and is old, so if someone wants to do the work then go for it.

    The other option is for someone to check out the updated Windows installer I have done (that incorporates the changes as per the posts above) and give further feedback so it can eventually replace the existing installer code and process.

     
  • Morten MacFly

    Morten MacFly - 2022-01-28

    What plugin is clangd_client ?

     
    • Andrew Cottrell

      Andrew Cottrell - 2022-01-28
       
  • Andrew Cottrell

    Andrew Cottrell - 2022-02-23

    Attached is a 7z file that is the patch as I cannot create a SVN patch as there are binary files in the changes. The 7z file is to be uncompressed in the root directory and creates a windows_installer directory with the files in it.
    There are no changes to any of the existing SVN files, so it should be relatively easy to add w.r.t. once it is added then other devs can change it as they want and if they do not like it it can be deleted.

     
  • Morten MacFly

    Morten MacFly - 2022-04-15
    • assigned_to: Morten MacFly
     
  • Morten MacFly

    Morten MacFly - 2022-04-15

    See here, please:
    https://forums.codeblocks.org/index.php/topic,24603.msg169914.html#msg169914

     

Log in to post a comment.