Inno’s not bad – although someone at the VB forums often referred to it as No-No Setup. 😛
Seems the Wix toolset has all the info on the xml – have you seen this?
https://www.advancedinstaller.com/versus/wix-toolset/create-wix-custom-dialog-user-input.html