views:

134

answers:

1

I have a WPF window that is shown as a custom action as part of my VS Setup Project installation. This works well, but I can't figure out how to inform the installer if the user presses the cancel button on the dialog that I'm popping up, so that it rolls back the install. Is there a way that my dialog can provide input to the installer? I'm just referencing the WPF project's DLL, set as a non-installer class in a custom action.

A: 

you can make a public variable in the form and store in it the state of the form and check on it in the installerClass after the ShowDialog().