Next you need to right click on the Start node of the tree view and choose the Add Dialog menu item as shown below: You can see that this is broken up into a couple of different sections that are common to all MSI setups.ģ. This brings up the User Interface editor and displays the default MSI user interface. Navigate to the view/Editor/User Interface as shown below. Next we need to make the modifications to the default user interface settings. (Once you get the information into the installer class you can do anything you want with it, we are placing it in the event log only to prove that the information was successfully passed in)Ģ. There are two key parts to this process the first is the addition of a custom user interface dialog and the second is passing whatever information is entered into the new user interface to the installer class in order to do something with this information during installation.įor the sake of simplicity this MSI is going to install an assembly called MySampleAssembly and inside the project we will add an installer class that will take the information the user enters via the newly added user interface and place this information into the event log. This can be useful when needing to do something during an install based on the user input. In this article I am going to demonstrate how to customize your MSI install to prompt the user for some information and then pass this information to an installer class.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |