47 references to InstallRequestType
dotnet (45)
Commands\Workload\Install\MsiInstallerBase.cs (8)
180
InstallResponseMessage response = Dispatcher.SendMsiRequest(
InstallRequestType
.RepairMsi,
332
InstallResponseMessage response = Dispatcher.SendMsiRequest(
InstallRequestType
.InstallMsi,
365
InstallResponseMessage response = Dispatcher.SendMsiRequest(
InstallRequestType
.UninstallMsi,
500
protected void UpdateDependent(
InstallRequestType
requestType, string providerKeyName, string dependent)
504
if (provider.Dependents.Contains(dependent) && requestType ==
InstallRequestType
.AddDependent)
510
if (!provider.Dependents.Contains(dependent) && requestType ==
InstallRequestType
.RemoveDependent)
520
if (requestType ==
InstallRequestType
.RemoveDependent)
527
else if (requestType ==
InstallRequestType
.AddDependent)
Commands\Workload\Install\NetSdkMsiInstallerClient.cs (7)
326
UpdateDependent(
InstallRequestType
.AddDependent, msi.Manifest.ProviderKeyName, _dependent);
339
UpdateDependent(
InstallRequestType
.RemoveDependent, msi.Manifest.ProviderKeyName, _dependent);
413
UpdateDependent(
InstallRequestType
.RemoveDependent, depProvider.ProviderKeyName, dependent);
584
UpdateDependent(
InstallRequestType
.AddDependent, msi.Manifest.ProviderKeyName, _dependent);
603
UpdateDependent(
InstallRequestType
.AddDependent, msi.Manifest.ProviderKeyName, _dependent);
639
UpdateDependent(
InstallRequestType
.AddDependent, msi.Manifest.ProviderKeyName, _dependent);
682
UpdateDependent(
InstallRequestType
.RemoveDependent, msi.Manifest.ProviderKeyName, _dependent);
Commands\Workload\Install\NetSdkMsiInstallerServer.cs (15)
60
case
InstallRequestType
.Shutdown:
65
case
InstallRequestType
.CachePayload:
70
case
InstallRequestType
.WriteWorkloadInstallationRecord:
75
case
InstallRequestType
.DeleteWorkloadInstallationRecord:
80
case
InstallRequestType
.InstallMsi:
84
case
InstallRequestType
.UninstallMsi:
88
case
InstallRequestType
.RepairMsi:
92
case
InstallRequestType
.AddDependent:
93
case
InstallRequestType
.RemoveDependent:
98
case
InstallRequestType
.SaveInstallStateManifestVersions:
103
case
InstallRequestType
.RemoveManifestsFromInstallStateFile:
108
case
InstallRequestType
.AdjustWorkloadMode:
114
case
InstallRequestType
.AdjustWorkloadSetVersion:
119
case
InstallRequestType
.RecordWorkloadSetInGlobalJson:
124
case
InstallRequestType
.GetGlobalJsonWorkloadSetVersions:
Commands\Workload\Install\WorkloadInstallRecords\RegistryWorkloadInstallationRecordRepository.cs (2)
62
InstallResponseMessage response = Dispatcher.SendWorkloadRecordRequest(
InstallRequestType
.DeleteWorkloadInstallationRecord,
111
InstallResponseMessage response = Dispatcher.SendWorkloadRecordRequest(
InstallRequestType
.WriteWorkloadInstallationRecord,
Installer\Windows\InstallMessageDispatcher.cs (11)
73
public InstallResponseMessage SendCacheRequest(
InstallRequestType
requestType, string manifestPath,
93
public InstallResponseMessage SendDependentRequest(
InstallRequestType
requestType, string providerKeyName, string dependent)
112
public InstallResponseMessage SendMsiRequest(
InstallRequestType
requestType, string logFile, string packagePath = null, string productCode = null)
129
return Send(new InstallRequestMessage { RequestType =
InstallRequestType
.Shutdown });
139
public InstallResponseMessage SendWorkloadRecordRequest(
InstallRequestType
requestType, WorkloadId workloadId, SdkFeatureBand sdkFeatureBand)
158
RequestType =
InstallRequestType
.RemoveManifestsFromInstallStateFile,
173
RequestType =
InstallRequestType
.SaveInstallStateManifestVersions,
189
RequestType =
InstallRequestType
.AdjustWorkloadMode,
205
RequestType =
InstallRequestType
.AdjustWorkloadSetVersion,
215
RequestType =
InstallRequestType
.RecordWorkloadSetInGlobalJson,
226
RequestType =
InstallRequestType
.GetGlobalJsonWorkloadSetVersions,
Installer\Windows\InstallRequestMessage.cs (1)
101
public
InstallRequestType
RequestType
Installer\Windows\MsiPackageCache.cs (1)
78
Dispatcher.SendCacheRequest(
InstallRequestType
.CachePayload, manifestPath, packageId, packageVersion);
dotnet.Tests (2)
WindowsInstallerTests.cs (2)
75
InstallResponseMessage r1 = cd.SendMsiRequest(
InstallRequestType
.UninstallMsi, "");
199
if (request.RequestType ==
InstallRequestType
.Shutdown)