As an alternative to Inno Setup, I'd also recommend WiX. That's what we use at my consulting company in place of the Visual Studio setup project, which has given us trouble in the past, and it's proven quite versatile and powerful (if a little obtuse initially).
Also note that if you're using the Express versions of Visual Studio, the setup and deployment templates are not included out of the box.
root = tkinter.Tk()
buttons=[i for i in range(10)]
#If specific button is pressed, output "YES"
for num in buttons: