Introduction - If you have any usage issues, please Google them yourself
Using nsDialogs CreateButton create two buttons and add the silent parameter/I used to install/U parameter for silent uninstalling used as a reference, a good entry-level reference.