Skip to content

Commit 61aa24d

Browse files
committed
Updated for the new dependency installer structure
1 parent f548636 commit 61aa24d

2 files changed

Lines changed: 11 additions & 2 deletions

File tree

plugin_KinectOne/RuntimeInstaller.cs

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ internal class RuntimeInstaller : IDependencyInstaller
2222

2323
private string TemporaryFolderName { get; } = Guid.NewGuid().ToString().ToUpper();
2424

25+
public Task<bool> InstallTools(IProgress<InstallationProgress> progress)
26+
{
27+
return Task.FromResult(false); // Not supported (yet?)
28+
}
29+
2530
public bool IsInstalled
2631
{
2732
get
@@ -57,6 +62,9 @@ public string InstallerEula
5762
}
5863
}
5964

65+
public bool ProvidesTools => false;
66+
public bool ToolsInstalled => false;
67+
6068
public async Task<bool> Install(IProgress<InstallationProgress> progress)
6169
{
6270
return
@@ -287,7 +295,8 @@ private bool InstallFiles(IEnumerable<string> files, IProgress<InstallationProgr
287295

288296
var msiExecutableStart = new ProcessStartInfo
289297
{
290-
FileName = Path.Join(Environment.GetFolderPath(Environment.SpecialFolder.Windows), @"System32\msiexec.exe"),
298+
FileName = Path.Join(Environment.GetFolderPath(Environment.SpecialFolder.Windows),
299+
@"System32\msiexec.exe"),
291300
WorkingDirectory = Directory.GetParent(installFile)!.FullName,
292301
Arguments = $"/i {installFile} /quiet /qn /norestart ALLUSERS=1",
293302
CreateNoWindow = true,

plugin_KinectOne/plugin_KinectOne.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
</PropertyGroup>
1313

1414
<ItemGroup>
15-
<PackageReference Include="Amethyst.Plugins.Contract" Version="0.2.15" />
15+
<PackageReference Include="Amethyst.Plugins.Contract" Version="0.2.16" />
1616
<PackageReference Include="Microsoft.Kinect" Version="2.0.1410.19000" />
1717
<PackageReference Include="RestSharp" Version="108.0.3" />
1818
<PackageReference Include="System.ComponentModel.Composition" Version="8.0.0-preview.3.23174.8" />

0 commit comments

Comments
 (0)