Creating an Installer with a custom Dialog window that validates user input

Viewed 34

So I need to create an installer for a .NET project I'm working on with a custom window for a license validation and activation. This means that I would need to validate some user input (I need a valid License Key) to activate the license before proceeding with the instalation. I've tried multiple approaches but so far nothing is working. Here's what I tried:

  1. Using the Microsoft Setup Project for Visual Studio, I tried calling a WPF window during the instalation process. However, the window just does not show up, as I've explained in my issue here. So far, I've found no workaround for this.
  2. Still using the Microsoft Setup Project for VS, I can add custom dialogs to the installer but it is apparently not possible (see here and here) to validate user input of this dialog before continuing with the instalation process.
  3. I've also tried implementing a WiX installer but I cannot access the WiX Editors and it seems that Add-In Express's Designer for WiX Toolset has been discontinued. Would what I need even be possible to implement if I had access to the editors?

How should I do this? I would be thankful for any suggestion.

0 Answers
Related