ManagedWimLib 1.1.1
See the version list below for details.
dotnet add package ManagedWimLib --version 1.1.1
NuGet\Install-Package ManagedWimLib -Version 1.1.1
<PackageReference Include="ManagedWimLib" Version="1.1.1" />
paket add ManagedWimLib --version 1.1.1
#r "nuget: ManagedWimLib, 1.1.1"
// Install ManagedWimLib as a Cake Addin #addin nuget:?package=ManagedWimLib&version=1.1.1 // Install ManagedWimLib as a Cake Tool #tool nuget:?package=ManagedWimLib&version=1.1.1
Usage
Initialization
ManagedWimLib requires binary of wimlib to work.
Internally it is done by loading functions dynamically (using LoadLibrary
and GetProcAddress
).
Wim.GlobalInit()
should be explicitly called before using ManagedWimLib
.
Put this snippet in your application's init code:
if (IntPtr.Size == 8) // This app is running on 64bit .Net Framework
Wim.GlobalInit(Path.Combine("x64", "libwim-15.dll"));
else // This app is running on 32bit .Net Framework
Wim.GlobalInit(Path.Combine("x86", "libwim-15.dll"));
WARNING: Architecture of libwim-15.dll
must be matched with caller!
Embedded precompiled binary
ManagedWimLib comes with libwim-15.dll
, precompiled binaries of wimlib 1.13.0-BETA5
.
They will be copied into $(OutDir)\x86\libwim-15.dll
and $(OutDir)\x64\libwim-15.dll
automatically at build.
Custom binary
To use custom wimlib
binary instead, call Wim.GlobalInit()
with path to custom libwim-15.dll
.
NOTE: Create empty file named ManagedWimLib.Precompiled.Exclude
in project directory to prevent copy of package-embedded libwim-15.dll
.
Cleanup
To unload wimlib
explicitly, call Wim.GlobalCleanup()
.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
.NETFramework 4.5
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories (3)
Showing the top 3 popular GitHub repositories that depend on ManagedWimLib:
Repository | Stars |
---|---|
WOA-Project/WoA-Installer-Rpi
This repository was deprecated, use:
|
|
gus33000/UUPMediaCreator
An utility to create Windows Media files (.ISO, .WIM, .VHD) from Unified Update Platform files
|
|
pebakery/pebakery
PEBakery is a script engine that specializes in customizing the Windows Preinstalled Environment (WinPE/WinRE).
|
Version | Downloads | Last updated |
---|---|---|
2.5.3 | 3,255 | 9/5/2023 |
2.5.2 | 242 | 8/9/2023 |
2.5.1 | 180 | 8/1/2023 |
2.5.0 | 1,296 | 2/15/2023 |
2.4.0 | 2,691 | 2/14/2022 |
2.3.0 | 508 | 1/27/2022 |
2.2.0 | 1,894 | 5/15/2021 |
2.1.0 | 438 | 4/9/2021 |
2.0.1 | 1,129 | 6/6/2020 |
2.0.0 | 556 | 6/6/2020 |
1.4.3 | 5,624 | 10/31/2019 |
1.4.2 | 508 | 10/25/2019 |
1.4.1 | 481 | 10/20/2019 |
1.4.0 | 524 | 10/20/2019 |
1.3.0 | 954 | 5/9/2019 |
1.2.4 | 1,804 | 12/5/2018 |
1.2.3 | 789 | 10/30/2018 |
1.2.2 | 771 | 10/29/2018 |
1.2.1 | 871 | 10/18/2018 |
1.2.0 | 790 | 10/15/2018 |
1.1.2 | 828 | 10/14/2018 |
1.1.1 | 805 | 10/13/2018 |
1.1.0 | 983 | 9/5/2018 |
1.0.0 | 1,727 | 5/22/2018 |
- Fix Wim.GetErrorString() to report correct error message