-1

I'm developing the installer using WixSharp. I want to track (catch, subscribe etc) the event when user clicks the cancel button (cancel / abort installation).

I want to track during the stage user inputs the data and during the installation files process as well. It's better no changing the standard UI dialogs but using custom action or something. But if changing UI is the only way it's OK.

enter image description here

The project UI type is WixUI_InstallDir.

Thanks for attention.

constant
  • 57
  • 1
  • 6

1 Answers1

0

You can't track this button click if you use this project type. But you can customize this project type if you adds this dialogs forms in your project

WixSharp Managed Setup - Cusom UI

Just add dialogs from this project and cancel handler (i think you know how to do it in winforms). Don't forget to check Project.cs, there are dialogs sequence and ManagedUI parameter set.

Sergey Vaulin
  • 722
  • 4
  • 16