pkgbuild optional install choices

i am using pkgbuild and productbuild to make an installer for a mac app .. it is not on the app store but we support mac and users download from our company website .. the installer PKG is great, but i need to add a checkbox option, such that when the user checks it, i pass the variable to the post install script and perform or not perform certain actions ... is this possible? how do i do it?

Did you figure it out? Can you post your solution?

pkgbuild optional install choices
 
 
Q