MsiInstaller is the basic class which initiates, controls, terminates installation process. Following are the useful functions which .Net application can use. Install() - All features and components are installed.Install(List<MsiFeature> listOfFeatures) - Only the list of features which are supplied as argument are installed. Remove() - All features and components are uninstalled. Remove(List<MsiFeature> listOfFeatures) - Only the list of features which are supplied as argument are uninstalled. Repair() - MsiInstaller class detects list of features already installed on local system and re-installs them. Update(List<MsiFeature> installList, List<MsiFeature> uninstallList,) Install List - Feature is reinstalled if it is already installed or that feature is freshly installed. Uninstall List - Feature which are already installed are removed or other features are ignored. .Net application needs to subscribe InstallerMessageReceived event to handle Windows Installer messages. Know more Download sample |