Date
March 7, 2024
Hours
Tags
Admitting defeat for using Zig to build the installer for CleanBuild.
It simply does not have a native way to interact with the Windows registry. I don’t have enough low-level programming knowledge to hack my way through it.
My assumption is interacting with the Windows API is fundamentally a non-trivial task. It feels like its just not built that way.
Instead will focus on just the directory removal script. That should be something native Zig can do.
Then maybe try WiX to wrap the zig executable and push to reg for the windows installer.