The NoMachine setup accepts /verysilent or /silent options.
Instructions are available here:
How to install NoMachine on Windows in silent or verysilent mode
https://www.nomachine.com/AR07K00682
Once the installation has completed, and make sure you reboot when prompted, you can proceed to disable the printers and other services. This can be done via the NoMachine server UI. For more information about this, please see here:
https://www.nomachine.com/DT10O00155#2.3.
If you prefer not to disable it via the UI, you can do it manually. There is a separate document explaining how to proceed with that:
Enabling and disabling the NoMachine device sharing services manually
https://www.nomachine.com/DT10O00151#12