Tag Archives: howto

HOWTO Convert SVN repository to GIT

updated: 18/12/2025 In my previous post, I wrote about using GIT with an SVN server pathing across different processes. One of these was cloning an SVN repository.  This topic can be used to convert an SVN repository to GIT one with all its revision history. The Process We can use the cloning command to set up the starting revision of our new GIT clone, by … Continue reading HOWTO Convert SVN repository to GIT »

HOWTO Upgrade to W11 on PC with Unsupported CPU

With Windows 10’s incoming end-of-support, I started to study the destiny of some of my old PCs. A good idea might be to run the MS PC Health Check for a detailed view of the situation. Without a maintained OS, I might consider installing some linux distribution, or even dismiss the asset. My preferred solution would be to find a way to upgrade to W11 … Continue reading HOWTO Upgrade to W11 on PC with Unsupported CPU »

HOWTO integrate NASM with VS2022

updated 01/11/2024 Occasionally I use Intel assembler language to squeeze processing power from my programs. A cheap solution was C inline assembler sections, but VS2022 doesn’t support them in a 64-bits program.  Other compilers use more or less complex solutions (IBM assembler, …). This forced me to consider including and linking .asm files in my projects.  I can split them with 32 and 64 bits … Continue reading HOWTO integrate NASM with VS2022 »

HOWTO install ‘winget’ from command line

Sometimes we might need to use the amazing ‘winget’ command where it isn’t available (for example from a Windows Sandbox, …). The few steps below will solve this problem. The installation process To install ‘winget’ command, you will need to download C++ Runtime framework packages for Desktop Bridge from MS, selecting the proper package (x86, x64, …) from the ‘How to install and update Desktop … Continue reading HOWTO install ‘winget’ from command line »

HOWTO detect WIN11 using Windows API

The main problem here is that Windows 11 is a Windows 10++, and there is no function like IsWindows10OrGreater(). This forced us to write down our own IsWindows11OrGreater(). I want to write a function similar to the existing IsWindows*() using VerifyVersionInfo(). Here is the working body of such a function: BOOL IsWindows11OrGreater() { OSVERSIONINFOEX vi; ULONGLONG conditions; memset (&vi, 0, sizeof(vi)); vi.dwOSVersionInfoSize = sizeof(vi); vi.dwMajorVersion … Continue reading HOWTO detect WIN11 using Windows API »

HOWTO uninstall a program from Inno Setup kit

Introduction One of the many challenges in releasing the latest version of Horodruin was that the main edition switched to 64-bits. This means that we cannot simply install/update the new program over the existing one, mainly because 64 bits programs have a different default system folder (‘Program Files‘) than 32 bits ones (‘Program Files (x86)‘). The best option here is to uninstall the old one, … Continue reading HOWTO uninstall a program from Inno Setup kit »

HOWTO block Windows 11 automatic upgrade

Introduction Recently I tried to upgrade my previous flagship notebook to Windows 11 but it didn’t work. The update constantly failed because of several problems that I wasn’t able to fix. When I decided to sign off from W11 upgrade, I discovered that I cannot change my previous decision anymore. This problem is that Windows Update constantly tries the upgrade process failing every single time … Continue reading HOWTO block Windows 11 automatic upgrade »

HOWTO set new SVN server in git-svn

These days, we migrated our SVN server to a cloud VM, and one of the needed tasks is to switch also my GIT repositories. An easy approach is to rebuild them, but it has one major drawback: it is possible only if your GIT repositories don’t include uncommitted revisions.  In these cases, you will lose them all. Since I have several unaligned GITs, I needed … Continue reading HOWTO set new SVN server in git-svn »