I took a quick look into how other open source projects install NASM. A few use Chocolatey. It seems Chocolatey is installed on AppVeyor workers. Some projects download and run the installer package in a script. Finally, I noticed some NuGet packages for NASM.
I noticed some variation in which stage of the build the NASM package is installed. Some use "install", some use "init", some use "before_build". I figure "install" is the most obvious.
I took a quick look into how other open source projects install NASM. A few use Chocolatey. It seems Chocolatey is installed on AppVeyor workers. Some projects download and run the installer package in a script. Finally, I noticed some NuGet packages for NASM.
I noticed some variation in which stage of the build the NASM package is installed. Some use "install", some use "init", some use "before_build". I figure "install" is the most obvious.
Using Chocolatey:
Using installer:
Using Zip package (though I'm not a fan of the unpack/move):
Maybe not such a bad idea to show the NASM version info at the end of that last one.
I saw two NuGet packages. None look particularly well used.
I think I'm most interested in the Chocolatey approach.