SvRooij.ContentPrep
0.2.1
dotnet add package SvRooij.ContentPrep --version 0.2.1
NuGet\Install-Package SvRooij.ContentPrep -Version 0.2.1
<PackageReference Include="SvRooij.ContentPrep" Version="0.2.1" />
paket add SvRooij.ContentPrep --version 0.2.1
#r "nuget: SvRooij.ContentPrep, 0.2.1"
// Install SvRooij.ContentPrep as a Cake Addin #addin nuget:?package=SvRooij.ContentPrep&version=0.2.1 // Install SvRooij.ContentPrep as a Cake Tool #tool nuget:?package=SvRooij.ContentPrep&version=0.2.1
SvRooij.ContentPrep
A library to create and decrypt Intune content packages .intunewin
.
[!WARNING] This is not a replacement for the Microsoft tool, it is a re-implementation of the tool based upon public available information. It is not feature complete and it might not work for your use case. If you need a tool that works, use the Microsoft tool. This library is provided as-is, without any warranty or support.
Installation
dotnet add package SvRooij.ContentPrep
Usage
Create a package
// Add ILogger optional, or register through DI
var logger = new NullLogger();
var packager = new SvRooij.ContentPrep.Packager(logger);
await packager.CreatePackage("C:\\path\\to\\source", "setup.exe", "C:\path\\to\\destination", null, cancellationToken);
Create a partial package
Use the method above, if you plan to use the portal to upload the the app to the tenant. Use this method if you want to handle the uploading yourself. You'll need to extract the file from above.
// Add ILogger optional, or register through DI
var logger = new NullLogger();
var packager = new SvRooij.ContentPrep.Packager(logger);
Stream fileStreamWithZippedFolder = ...;
Stream outputStream = new MemoryStream();
await packager.CreateUploadablePackage(fileStreamWithZipperFolder, outputStream, new ApplicationDetails { Name ="Application name", SetupFile = "some_setup.exe" } cancellationToken);
[!NOTE]
This method is more an advanced scenario. Start with the method above, if you get the graps of it, try this one.
Decrypt a package
// Add ILogger optional, or register through DI
var logger = new NullLogger();
var packager = new SvRooij.ContentPrep.Packager(logger);
await packager.Unpack("C:\\path\\to\\source.intunewin", "C:\path\\to\\destination", cancellationToken);
Support
If you like my work, becoming a GitHub Sponsor is the best way to support me.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Microsoft.Extensions.Logging.Abstractions (>= 7.0.1)
- Microsoft.NETCore.Platforms (>= 7.0.4)
- System.Runtime.CompilerServices.Unsafe (>= 6.0.0)
-
net8.0
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on SvRooij.ContentPrep:
Repository | Stars |
---|---|
svrooij/WingetIntune
Package any app from Winget to Intune - WinTuner
|
Version | Downloads | Last updated |
---|---|---|
0.2.1 | 49 | 11/21/2024 |
0.2.0 | 120 | 10/2/2024 |
0.1.3-alpha0001 | 273 | 12/5/2023 |
0.1.2 | 259 | 10/23/2023 |
0.1.2-alpha0013 | 98 | 10/19/2023 |
0.1.2-alpha0007 | 134 | 10/17/2023 |