Deployment Types - Installation Program Arguments
Keep the current single box for 'Installation Program' and ' Uninstall Program' under the 'Programs' tab in a deployment type... however allow admins to select 'granular' switches or arguments.
So in this option, the admin would have:
A 'pre-program install' argument field.
A 'program' field.
And a 'post-program install' argument field.
The same for un-installations.
Additionally to this, I imagine the granular options will have a new window.
This windows should also have a 'explore program' button, which when clicked brings up the potential switches or arguments for EXE / MSI / MSIX / etc. Allowing users to select the options required.
ConfigMgr will then simply populate the original installation / uninstall program field with the one liner, with the full argument.
This will retain the option for admins to either type in, copy paste from another location, or manually select the switches / arguments as needed.