Public Class Main Inherits System.Configuration.Install.Installer Public Sub New() End Sub ' Override the 'Install' method. ' The Installation will call this method to run the Custom Action Public Overrides Sub Install(ByVal savedState As IDictionary) MyBase.Install(savedState) System.Windows.Forms.MessageBox.Show("1") ' Get readme file name from custom action parameter Dim ProvidedName As String = Me.Context.Parameters("file") System.Windows.Forms.MessageBox.Show(ProvidedName) End Sub End ClassSo, basically, I should see a message box with "1" as well as a value that I defined in the Custom Action Properties of the class:
CustomActionData=/file="test"Basically, the goal here is to collect a textbox value, from a custom dialog, and save that into a Main.ini file into the System\Key value. I haven't found a way to do it from the interface. So, I assume I have to define a class library, add it into the project, base it on the Installer class, and found a way to read the custom dialog Key textbox value and store it in the Main.ini file.