I have uploaded a new NSIS x64 installer with the changes to hopefully resolve the issues, with the exception of the Additional page icons. I have updated the Installer_Pages.odt to show the updated and new pages in this release.
My feedback on your feedback is:
1. We only use NSIS, there is no need for an ISS based installer, we won't ship both. The ISS script is a relict from very old times
- NSIS was superior 10 years ago compared to ISS, but ISS has improved a hack of allot and is up to the job now. ISS apart from installing the components via a selectable list is allot easier to follow and program and enhance compared to NSIS based on my usage of both over the last few months.
- ISS uses pascal instead of a what appears to be some custom programming language that is not easy to understand or use compared to normal programing languages.
- There are ISS IDE's and GUI's to make it easier to create the script. But there is no specific NSIS IDE that make it easier to update/change the script.
- Both are not very good for creating a new GUI from scratch, but ISS has a bunch of templates you can use that make it a bit easier.
I agree to only ship one, but going forward the ISS script will be allot easier to maintain IMHO.
2. The logo is from CodeBlocks Version 1 which is around 20 years ago...?! :-) So it should be updated
- Fixed: rotated the current logo and cropped it and moved some of the text around, added
www.codeblocks.org text.
3. Did you try to run the installer in an unattended mode w/o GUI? this must work.
- C::B 20.03 - silent install pops up the splash screen
- Fixed/Updated:
a. Installs in C:\Users\andrew\AppData\Local\Programs\CodeBlocks if run as normal user with /S, but now does not pop up the spash dialog
b. Fixed admin unattended install for C:\program files.\
c. Updated the script to define MULTIUSER_INSTALLMODE_COMMANDLINE
4. It would be nice if one could skip the creation of shortcut (but its not a must)
- Fixed:
This is in the custom setup like in the 20.03 installer from what I can see. It is not easy to find.
Updated script for newly added shortcuts from missing apps.
- Fixed:
In the new installer if you run the custom install you can also select on the "Choose Start Menu Folder" there is a tickbox for "[ ] Do not create shortcuts" under the start menu folder list.
Updated script for mising macros.
5. Under additional icons: If I un-select all, what is actually created in that case? For me its nothing, so why are these on the "Additional" page?
- Need more info.
6. The Un-installer did not work well for me. It left tons of files, including all plugins and the executable.
- Problem:
If you install as admin for all users and then run the installer as a user the files are shown as to be removed on reboot, but they are not.
- Fix/work arround:
If you install for all users then you need to run the uninstaller as admin otherwise it will pop up and tell you to run the uninstall again with admin rights.
Added support for detecting if C::B was allready installed and by privelege in order to either ask the user to uninstall the previous version or run the installer as admin or as a normal user.
Added support for uninstalling 20.03 before installing update on x64 system as they are in different directories and may use different registry uninstall kys (HKLM or HKCU depending on install rights used)
- Hopefully I have covered the different options so files are not left, but if they are can you let me know how the previous version was installed (and if it was 20.03) and how the new installer was run (admin or normal user rights) and where the files that were left are (C:\program files, C:\program files (x86), C:\users......).
7. But, for people w/o internet connection (and these are many) there should also be a package that has our default compiler bundled. This is also related to running in unattended mode for admins and alike.
- Updated the download compiler page to not be shown if is no internet connection.
- Created a new page to install the following files if they exist (if they both don't exist the page is not shown)
* i686-8.1.0-release-posix-dwarf-rt_v6-rev0.7z
* x86_64-8.1.0-release-posix-seh-rt_v6-rev0.7z
They files are available from:
https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/8.1.0/ The new page could be modified in the future to add more files or use the files from a text file if the text file exists in the same directory, but someone else can do this.
- I do not like bundling the compiler as this causes newbies to think that C::B is the compiler........wrong!!!
- The way MINGW is bundled in 20.03 is not documented w.r.t. what goes into the "\MinGW" directory that the 20.03 nsi script uses. This change makes it consistent in that the files are sourced from the mingw release and are not modified in any way.
- The new page installs the compilers in C:\mingw32 or c:\mingw64 by default, which is allot better than the 20.03 default directory. These two directories are also the default mingw installer.
Let me know if there are any other changes or mods or updated or queries etc etc.