// Constructor. public PerformanceCounterInstaller() { categoryHelp = String.Empty; categoryName = String.Empty; counters = new CounterCreationDataCollection(); action = UninstallAction.Remove; }
internal static void VSUninstallActions(Primitives ip) { ip.UninstallActions.Add( UninstallAction.CreateUninstallAction( new List <ArchitectureConfiguration> { ArchitectureConfiguration.x86, ArchitectureConfiguration.x64 }, new List <OperatingSystemConfiguration> { OperatingSystemConfiguration.Windows81 }, "2999226", UninstallAction.TemplateType.Pre, UninstallAction.WixObjectType.MSU ) ); ip.UninstallActions.Add( UninstallAction.CreateUninstallAction( new List <ArchitectureConfiguration> { ArchitectureConfiguration.x86, ArchitectureConfiguration.x64 }, new List <OperatingSystemConfiguration> { OperatingSystemConfiguration.Windows8 }, "2999226", UninstallAction.TemplateType.Pre, UninstallAction.WixObjectType.MSU ) ); ip.UninstallActions.Add( UninstallAction.CreateUninstallAction( new List <ArchitectureConfiguration> { ArchitectureConfiguration.x86, ArchitectureConfiguration.x64 }, new List <OperatingSystemConfiguration> { OperatingSystemConfiguration.Windows7 }, "2999226", UninstallAction.TemplateType.Pre, UninstallAction.WixObjectType.MSU ) ); }
protected void AddUninstallAction(LuatScript script, UninstallAction action) { m_uninstallScriptActions[script].Add(action); }
// Constructor. public EventLogInstaller() { log = String.Empty; source = String.Empty; action = UninstallAction.Remove; }
private void btnPreDesinstalar_Desinstalar_Click(object sender, EventArgs e) { UninstallAction.DoAction(_instalacao, this); }