10 references to InstallState
dotnet (1)
Commands\Workload\Install\MsiInstallerBase.cs (1)
360
return WindowsInstaller.ConfigureProduct(productCode, WindowsInstaller.INSTALLLEVEL_DEFAULT,
InstallState
.ABSENT,
finalizer (1)
Program.cs (1)
198
InstallState
.ABSENT,
Microsoft.Win32.Msi (4)
NativeMethods.cs (1)
29
public static extern uint MsiConfigureProductEx(string szProduct, int iInstallLevel,
InstallState
eInstallState, string szCommandLine);
WindowsInstaller.cs (3)
34
public static uint ConfigureProduct(string productCode, int installLevel,
InstallState
installState, string commandLine)
174
public static
InstallState
QueryProduct(string productCode)
176
return (
InstallState
)NativeMethods.MsiQueryProductState(productCode);
Microsoft.Win32.Msi.Tests (4)
WindowsInstallerTests.cs (4)
19
[InlineData("",
InstallState
.INVALIDARG)]
20
[InlineData("{807215B4-F42F-4E5F-BFEE-9817D7F2CEA5}",
InstallState
.UNKNOWN)]
21
public void QueryProductStateReturnsAnError(string productCode,
InstallState
expectedState)
23
InstallState
state = WindowsInstaller.QueryProduct(productCode);