45 references to InstallAction
dotnet (45)
Commands\Workload\Install\MsiInstallerBase.cs (4)
408protected string GetMsiLogName(PackInfo packInfo, InstallAction action) 420protected string GetMsiLogName(MsiPayload msi, InstallAction action) 432protected string GetMsiLogName(string productCode, InstallAction action) 455protected string GetMsiLogName(WorkloadPackRecord record, InstallAction action)
Commands\Workload\Install\NetSdkMsiInstallerClient.cs (41)
317InstallAction plannedAction = PlanPackage(msi, state, InstallAction.Install, installedVersion); 319if (plannedAction == InstallAction.Install) 332InstallAction plannedAction = PlanPackage(msi, state, InstallAction.Uninstall, installedVersion); 334if (plannedAction == InstallAction.Uninstall) 438string logFile = GetMsiLogName(record.ProductCode, InstallAction.Uninstall); 445ExecutePackage(msi, InstallAction.Uninstall, msiNuGetPackageId); 464string logFile = GetMsiLogName(record.ProductCode, InstallAction.Uninstall); 471ExecutePackage(msi, InstallAction.Uninstall, msiNuGetPackageId); 498string logFile = GetMsiLogName(record, InstallAction.Uninstall); 507ExecutePackage(msi, InstallAction.Uninstall, id); 550InstallWorkloadManifestImplementation(manifestUpdate, offlineCache: null, action: InstallAction.Uninstall); 560void InstallWorkloadManifestImplementation(ManifestVersionUpdate manifestUpdate, DirectoryPath? offlineCache = null, InstallAction action = InstallAction.Install) 579InstallAction plannedAction = PlanPackage(msi, state, action, installedVersion); 599InstallAction plannedAction = PlanPackage(msi, state, InstallAction.Repair, installedVersion); 631InstallAction plannedAction = PlanPackage(msi, state, InstallAction.Install, installedVersion); 632if (plannedAction == InstallAction.Install) 692InstallAction plannedAction = PlanPackage(msi, state, InstallAction.Uninstall, installedVersion); 695if (plannedAction == InstallAction.Uninstall) 874private InstallAction PlanPackage(MsiPayload msi, DetectState state, InstallAction requestedAction, Version installedVersion) 876InstallAction plannedAction = InstallAction.None; 894plannedAction = (requestedAction != InstallAction.Repair) && (requestedAction != InstallAction.Uninstall) ? InstallAction.None : requestedAction; 900plannedAction = (requestedAction == InstallAction.Repair) ? InstallAction.Install 901: (requestedAction == InstallAction.Install) ? InstallAction.Install 902: InstallAction.None; 1021private void ExecutePackage(MsiPayload msi, InstallAction action, string displayName = null) 1029case InstallAction.Install: 1034case InstallAction.Repair: 1039case InstallAction.Uninstall: 1044case InstallAction.None: