Unpacking Software Livestream

Join our monthly Unpacking Software livestream to hear about the latest news, chat and opinion on packaging, software deployment and lifecycle management!

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Chocolatey Coding Livestream

Join us for the Chocolatey Coding Livestream, where members of our team dive into the heart of open source development by coding live on various Chocolatey projects. Tune in to witness real-time coding, ask questions, and gain insights into the world of package management. Don't miss this opportunity to engage with our team and contribute to the future of Chocolatey!

Learn More

Calling All Chocolatiers! Whipping Up Windows Automation with Chocolatey Central Management

Webinar from
Wednesday, 17 January 2024

We are delighted to announce the release of Chocolatey Central Management v0.12.0, featuring seamless Deployment Plan creation, time-saving duplications, insightful Group Details, an upgraded Dashboard, bug fixes, user interface polishing, and refined documentation. As an added bonus we'll have members of our Solutions Engineering team on-hand to dive into some interesting ways you can leverage the new features available!

Watch On-Demand
Chocolatey Community Coffee Break

Join the Chocolatey Team as we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Watch The Replays
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand

Downloads:

801

Downloads of v 1.0.20:

314

Last Update:

15 Apr 2024

Package Maintainer(s):

Software Author(s):

  • iventoy.com

Tags:

iventoy pxe boot network ipxe f12

iVentoy

  • 1
  • 2
  • 3

1.0.20 | Updated: 15 Apr 2024

Downloads:

801

Downloads of v 1.0.20:

314

Maintainer(s):

Software Author(s):

  • iventoy.com

iVentoy 1.0.20

Legal Disclaimer: Neither this package nor Chocolatey Software, Inc. are affiliated with or endorsed by iventoy.com. The inclusion of iventoy.com trademark(s), if any, upon this webpage is solely to identify iventoy.com goods or services and not for commercial purposes.

  • 1
  • 2
  • 3

Some Checks Have Failed or Are Not Yet Complete

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Resulted in Flagged as a Note:

At least one file within this package has greater than 0 detections, but less than 5

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install iVentoy, run the following command from the command line or from PowerShell:

>

To upgrade iVentoy, run the following command from the command line or from PowerShell:

>

To uninstall iVentoy, run the following command from the command line or from PowerShell:

>

Deployment Method:

NOTE

This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to https://community.chocolatey.org/api/v2/)


2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade iventoy -y --source="'INTERNAL REPO URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade iventoy -y --source="'INTERNAL REPO URL'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Install iventoy
  win_chocolatey:
    name: iventoy
    version: '1.0.20'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'iventoy' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '1.0.20'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller iventoy
{
    Name     = "iventoy"
    Version  = "1.0.20"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'iventoy':
  ensure   => '1.0.20',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

Package Approved

This package was approved by moderator Windos on 16 Apr 2024.

Description

iventoy

Summary

  • iVentoy is an enhanced version of the PXE server.
  • With iVentoy you can boot and install OS on multiple machines at the same time through the network.
  • iVentoy is extremely easy to use, without complicated configuration, just put the ISO file in the specified location and select PXE boot in the client machine.
  • iVentoy supports x86 Legacy BIOS, IA32 UEFI, x86_64 UEFI and ARM64 UEFI mode at the same time.
  • iVentoy supports 110+ common types of OS (Windows/WinPE/Linux/VMware).

Features

  • Simple to use Get Started
  • Cross-platform, can run in both Windows and Linux.
  • Specially optimized for PXE scenarios, with flexible functions.
  • Directly boot ISO files, no extraction needed.
  • Native boot menu style for Legacy & UEFI
  • Directory layout corresponded boot menu.
  • Supports Legacy BIOS and IA32/X86_64/ARM64 UEFI mode.
  • Supports 110+ common types of OS (Windows/WinPE/Linux/VMware)
  • System or ISO level boot password protection.
  • Multiple devices to install different OSs at the same time.
  • Device filtering by MAC address.
  • Support querying MAC address filtering status.
  • Support MAC address attribution query.
  • Client device information. (Manufacture, product name etc.)
  • Directly get ISO internal files with HTTP. Notes
  • File Injection feature. Notes
  • Windows auto installation supported. Notes
  • Linux auto installation supported. Notes
  • Variables Expansion supported for install script Notes
  • Automatically solve the driver missing during Linux installation.

See iventoy.com for details.

Package Note

Starting with version 1.0.20, iVentoy will now be installed to $env:ChocolateyInstall\lib\iventoy. This change was made because Chocolatey is intended to be used in a multi-user environment. Before this version, the package installation script was placing iVentoy in $env:LocalAppData\iventoy, which is limited to the current user only.

iso folder moved: The iso folder will be moved to this new location and will not be deleted.
iso folder retention on uninstall: If you choose to uninstall iVentoy, the iso folder will not be deleted.


tools\ChocolateyBeforeModify.ps1
$ErrorActionPreference	= "Stop";

# Stop-Process won't error if the process doesn't exist
Get-Process iVentoy_32 -ErrorAction SilentlyContinue | Stop-Process -ErrorAction Stop
Get-Process iVentoy_64 -ErrorAction SilentlyContinue | Stop-Process -ErrorAction Stop
tools\ChocolateyInstall.ps1
$ErrorActionPreference	= "Stop";

# Release URL: https://github.com/ventoy/PXE/releases
$packageName = "iventoy"
$version = "1.0.20" # Chocolatey package version may differ from the filename version
$url = "https://github.com/ventoy/PXE/releases/download/v${version}/iventoy-${version}-win32-free.zip"
$checksum = "0C7A81FF54B7449B90A4774E3BE1EA692E8B7A9DCA941A2DC324A0FA844C3788"
$url64 = "https://github.com/ventoy/PXE/releases/download/v${version}/iventoy-${version}-win64-free.zip";
$checksum64 = "BE41A256B44C872CC15229E273B32F62E41E22371E14D6AEFE7F5A72C0D3E51A"

# Set new install location to ChocolateyInstall\lib\iventoy - implemented April 2024
$unzipLocation = [System.IO.Path]::Combine($env:ChocolateyInstall, "lib", $packageName)

$packageArgs = @{
    packageName    = $packageName
    unzipLocation  = $unzipLocation
    fileType       = 'ZIP'
    url            = $url
    checksum       = $checksum
    checksumType   = 'sha256'
    url64          = $url64
    checksum64     = $checksum64
    checksumType64 = 'sha256'
}

Install-ChocolateyZipPackage @packageArgs

# Move iso folder and remove iVentoy directory in old location if it exists (local app data) - implemented April 2024
$oldUnzipLocation = Join-Path ([Environment]::GetFolderPath("LocalApplicationData")) $packageName
$oldIsoPath = Join-Path $oldUnzipLocation "iso"

# If the old location exists, move the iso folder to the new location
if (Test-Path $oldUnzipLocation) {
    $isoContents = Get-ChildItem -Path $oldIsoPath -Recurse
    if ($isoContents) {
        # move iso folder to new location
        Move-Item -Path $oldIsoPath -Destination $unzipLocation -Force -ErrorAction SilentlyContinue

        # iso folder contains data, remove everything except the iso folder
        Get-ChildItem -Path $unzipLocation -Recurse -Exclude "iso" |
        Where-Object { -not $_.FullName.StartsWith($isoFolder, [System.StringComparison]::OrdinalIgnoreCase) } |
        ForEach-Object {
            try {
                Remove-Item -Path $_.FullName -Force -Recurse -ErrorAction Stop
            } catch {
                Write-Output "Error removing item: $($_.Exception.Message)"
            }
        }

        # Confirm the old iso folder was moved, if so, remove the iventoy directory
        if (-Not (Test-Path $oldIsoPath)) {
            try {
                Remove-Item -Path $oldUnzipLocation -Recurse -Force -ErrorAction Stop
            } catch {
                Write-Output "Error removing directory ${oldUnzipLocation}: $($_.Exception.Message)"
            }
        } else {
            Write-Output "Error moving iso folder to new location, old location still exists: ${oldIsoPath}"
        }
    } else {
        # iso folder is empty, remove the entire iventoy directory
        try {
            Remove-Item -Path $unzipLocation -Recurse -Force -ErrorAction Stop
        } catch {
            Write-Output "Error removing directory ${unzipLocation}: $($_.Exception.Message)"
        }
    }
}

# Copy all files/folders from the iventoy-$version folder to the unzipLocation
Copy-Item -Path "$unzipLocation\iventoy-$version\*" -Destination $unzipLocation -Force -Recurse -ErrorAction SilentlyContinue
Remove-Item "$unzipLocation\iventoy-$version" -Force -Recurse -ErrorAction SilentlyContinue

# Create shortcuts
@(
    , @('iVentoy', 'iVentoy_32.exe')
    , @('iVentoy', 'iVentoy_64.exe')
    , @('iVentoy ISOs', 'iso')
) | ForEach-Object {
    $targetPath = Join-Path $unzipLocation $_[1]

    # Create Programs shortcuts
    $programsShortcutPath = Join-Path ([Environment]::GetFolderPath("Programs")) "$($_[0]).lnk"

    # If the $targetPath exists, create a shortcut
    if (Test-Path $targetPath) {
        Install-ChocolateyShortcut -ShortcutFilePath $programsShortcutPath -Target $targetPath -WorkingDirectory $unzipLocation
    }

    # Create Desktop shortcuts
    $desktopShortcutPath = Join-Path ([Environment]::GetFolderPath("Desktop")) "$($_[0]).lnk"

    # If the $targetPath exists, create a shortcut
    if (Test-Path $targetPath) {
        Install-ChocolateyShortcut -ShortcutFilePath $desktopShortcutPath -Target $targetPath -WorkingDirectory $unzipLocation
    }
}
tools\ChocolateyUninstall.ps1
$ErrorActionPreference = "Stop"

$packageName = "iventoy"

# Set new install location to $env:ChocolateyInstall\lib\iventoy - implemented April 2024
$unzipLocation = [System.IO.Path]::Combine($env:ChocolateyInstall, "lib", $packageName)
$isoPath = Join-Path $unzipLocation "iso"

# Array of shortcut locations
$shortcutFolders = @([Environment]::GetFolderPath("Programs"), [Environment]::GetFolderPath("Desktop"))
$shortcutNames = @('iVentoy', 'iVentoy ISOs')

# Remove shortcuts from Programs and Desktop
foreach ($folder in $shortcutFolders) {
    foreach ($name in $shortcutNames) {
        $targetPath = Join-Path $folder "$name.lnk"
        if (Test-Path $targetPath) {
            Remove-Item -Path $targetPath -ErrorAction SilentlyContinue
        }
    }
}

# Check if the iso folder is empty before taking action
if (Test-Path $unzipLocation) {
    $isoContents = Get-ChildItem -Path $isoPath -Recurse
    if ($isoContents) {
        # iso folder contains data, remove everything except the iso folder
        Get-ChildItem -Path $unzipLocation -Recurse -Exclude "iso" |
        Where-Object { -not $_.FullName.StartsWith($isoPath, [System.StringComparison]::OrdinalIgnoreCase) } |
        ForEach-Object {
            try {
                # Write-Output "Removing item: $($_.FullName)"
                Remove-Item -Path $_.FullName -Force -Recurse -ErrorAction Stop
            } catch {
                Write-Output "Error removing item: $($_.Exception.Message)"
            }
        }
    } else {
        # iso folder is empty, remove the entire iventoy directory
        try {
            Remove-Item -Path $unzipLocation -Recurse -Force -ErrorAction Stop
        } catch {
            Write-Output "Error removing directory ${unzipLocation}: $($_.Exception.Message)"
        }
    }
}

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Add to Builder Version Downloads Last Updated Status
iVentoy 1.0.19 229 Thursday, September 14, 2023 Approved
iVentoy 1.0.18 79 Monday, August 14, 2023 Approved
iVentoy 1.0.17 57 Friday, August 4, 2023 Approved
iVentoy 1.0.6 91 Saturday, July 1, 2023 Approved

This package has no dependencies.

Discussion for the iVentoy Package

Ground Rules:

  • This discussion is only about iVentoy and the iVentoy package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or iVentoy, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus