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:

58

Downloads of v 10.1.2:

58

Last Update:

05 May 2025

Package Maintainer(s):

Software Author(s):

  • Graham Nelson et al

Tags:

inform7 interactive fiction parser generator

Inform

  • 1
  • 2
  • 3

10.1.2 | Updated: 05 May 2025

Downloads:

58

Downloads of v 10.1.2:

58

Maintainer(s):

Software Author(s):

  • Graham Nelson et al

Inform 10.1.2

Legal Disclaimer: Neither this package nor Chocolatey Software, Inc. are affiliated with or endorsed by Graham Nelson et al. The inclusion of Graham Nelson et al trademark(s), if any, upon this webpage is solely to identify Graham Nelson et al 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 Inform, run the following command from the command line or from PowerShell:

>

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

>

To uninstall Inform, 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 inform7 -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 inform7 -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 inform7
  win_chocolatey:
    name: inform7
    version: '10.1.2'
    source: INTERNAL REPO URL
    state: present

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


chocolatey_package 'inform7' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '10.1.2'
end

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


cChocoPackageInstaller inform7
{
    Name     = "inform7"
    Version  = "10.1.2"
    Source   = "INTERNAL REPO URL"
}

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


package { 'inform7':
  ensure   => '10.1.2',
  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 Pauby on 06 May 2025.

Description

Inform is a programming language for creating interactive fiction, using natural
language syntax. Using natural language and drawing on ideas from linguistics and from
literate programming, Inform is widely used as a medium for literary writing, as a prototyping
tool in the games industry, and in education, both at school and university level (where
Inform is often assigned material for courses on digital narrative). It has several times
ranked in the top 100 most influential programming languages according to the TIOBE index.
Created in April 2006, it was open-sourced in April 2022.

This Chocolatey package includes additional features to improve usability, especially in
automated builds and continuous integration/continuous deployment projects.

- Command-Line access: Automatically creates shims for the Inform compiler tools
(inform7.exe, inform6.exe, inblorb.exe, and intest.exe), as well as the Inform IDE
(inform.exe), allowing you to run them from any command prompt.

- Environment variables: Sets INFORM7_HOME pointing to the Inform installation directory
and INFORM7_INTERNAL pointing to the Internal directory, making it easier to integrate with
other tools and scripts.

- Customizable Installation Location: You can specify a custom installation directory
using
package parameters:

choco install inform7 --params "/InstallLocation:C:\your\install\path"

Paths with spaces are fully supported:

choco install inform7 --params "/InstallLocation:C:\Program Files\Inform7"

- Windows front end: The package also installs the Windows front end, Inform for Windows,
written by David Kinder. This is a simple GUI front end that makes it easier to work with
Inform projects on Windows. This can be run via selecting the Inform application from the
Start menu, or by running inform.exe from the command line.


tools\chocolateyinstall.ps1
# Inform 7 Installation Script
# 
# This script performs the following operations:
# 1. Determines the installation location based on package parameters or defaults
# 2. Downloads and installs Inform 7 application
# 3. Sets environment variables to allow integration with other tools
# 4. Configures selective shimming to ensure only executables in the root and
#    Compilers directories are available on the PATH

$ErrorActionPreference = 'Stop'
$toolsDir = "$(Split-Path -Parent $MyInvocation.MyCommand.Definition)"

# Import shared configuration
. (Join-Path $toolsDir "inform7-config.ps1")

$url = 'https://github.com/ganelson/inform/releases/download/v10.1.2/Inform_10_1_2_Windows.zip'
$setupName = 'Inform_10_1_2_Windows.exe'

# Get package parameters to determine installation location
$pp = Get-PackageParameters

# Determine if we're using a custom location
$usingCustomLocation = $null -ne $pp.InstallLocation

if ($pp.InstallLocation) {
    $inform7InstallDir = $pp.InstallLocation
    Write-Host "Using package parameter specified installation directory: $inform7InstallDir"
} else {
    $packagePath = Get-ChocolateyPath PackagePath
    $inform7InstallDir = $packagePath
    Write-Host "Using Chocolatey default installation directory: $inform7InstallDir"
}

# Ensure parent directory exists before installation
$parentDir = Split-Path -Parent $inform7InstallDir
if (-not (Test-Path $parentDir)) {
    Write-Host "Creating parent directory $parentDir"
    New-Item -ItemType Directory -Path $parentDir -Force | Out-Null
}

# Package installation parameters for NSIS installer
$packageArgs = @{
    packageName    = $env:ChocolateyPackageName
    unzipLocation  = $toolsDir
    fileType       = 'EXE'
    url            = $url

    softwareName   = 'Inform *'

    checksum       = '4DC80A37CF9DE1C0FFA9FD4B9E9BAD93479E844D4A1BE19DAC17BEC38BE63CBA'
    checksumType   = 'sha256'
    silentArgs     = "/S /D=$inform7InstallDir"  # For NSIS, /D= must be the last parameter
    validExitCodes = @(0) 
}

# Extract the installer from the ZIP archive
Write-Host "Downloading and extracting Inform 7 installer..."
Install-ChocolateyZipPackage @packageArgs

# Run the installer with the specified parameters
Write-Host "Installing Inform 7..."
$packageArgs.file = Join-Path -Path $toolsDir -ChildPath $setupName
Install-ChocolateyInstallPackage @packageArgs

# Set environment variables for integration with external tools and scripts
Write-Host "Setting up Inform environment variables..."

$internalDir = Join-Path $inform7InstallDir "Internal"

try {
    Install-ChocolateyEnvironmentVariable -VariableName "INFORM7_HOME" -VariableValue $inform7InstallDir -VariableType 'Machine'
    Write-Host "Environment variable INFORM7_HOME set to $inform7InstallDir"
    
    if (Test-Path $internalDir) {
        Install-ChocolateyEnvironmentVariable -VariableName "INFORM7_INTERNAL" -VariableValue $internalDir -VariableType 'Machine'
        Write-Host "Environment variable INFORM7_INTERNAL set to $internalDir"
    } else {
        Write-Warning "Internal directory not found at $internalDir - INFORM7_INTERNAL environment variable was not set."
    }
} catch {
    Write-Warning "Failed to set environment variables: $_"
    Write-Warning "This may occur if the script is not running with administrative privileges."
}

Write-Host "Inform 7 environment variables set."

# Configure selective shimming for executables
Write-Host "Setting up selective shimming for Inform7..."

$shimCount = 0
$ignoreCount = 0
$manualShimCount = 0

# Apply shimming based on the configuration file
foreach ($exePath in $Inform7ShimFiles.Keys) {
    $isGui = $Inform7ShimFiles[$exePath]
    $fullPath = Join-Path $inform7InstallDir $exePath
    $baseName = [System.IO.Path]::GetFileNameWithoutExtension($exePath)
    
    if (Test-Path $fullPath) {
        # Create .gui or .ignore files based on configuration
        if ($isGui) {
            New-Item "$fullPath.gui" -Type File -Force | Out-Null
            Write-Host "Creating GUI shim for $baseName"
        } else {
            Write-Host "Creating console shim for $baseName"
        }
        
        # For custom locations, also create manual shims
        if ($usingCustomLocation) {
            Install-BinFile -Name $baseName -Path $fullPath
            Write-Host "Created manual shim for $baseName using Install-BinFile"
            $manualShimCount++
        }
        
        $shimCount++
    } else {
        Write-Warning "File $fullPath not found, skipping shim creation"
    }
}

# Now identify and mark all other executables with .ignore to prevent shimming
Write-Host "Finding all other executables in the installation directory..."
$allExes = Get-ChildItem $inform7InstallDir -Include *.exe -Recurse
foreach ($exe in $allExes) {
    $exePath = $exe.FullName
    $relativePath = $exePath.Substring($inform7InstallDir.Length + 1)
    
    # If this file is not in our configured shim list, ignore it
    if (-not $Inform7ShimFiles.ContainsKey($relativePath)) {
        New-Item "$exePath.ignore" -Type File -Force | Out-Null
        Write-Host "Preventing shim for $relativePath"
        $ignoreCount++
    }
}

$summaryMessage = "Selective shimming complete. Created $shimCount shims, ignored $ignoreCount executables."
if ($usingCustomLocation) {
    $summaryMessage += " Created $manualShimCount manual shims for custom installation location."
}
Write-Host $summaryMessage

Write-Output "Inform 7 installation completed successfully."
 
tools\chocolateyuninstall.ps1
# Inform 7 Uninstallation Script
#
# This script performs the following operations:
# 1. Detects the Inform 7 installation from the Windows registry
# 2. Runs the application's uninstaller with silent parameters
# 3. Cleans up environment variables created during installation
# 4. Cleans up any manual shims created during installation
# 5. Allows Chocolatey to automatically handle shim removal
# 6. Performs final cleanup operations

$ErrorActionPreference = 'Stop'
$toolsDir = "$(Split-Path -Parent $MyInvocation.MyCommand.Definition)"

# Import shared configuration
. (Join-Path $toolsDir "inform7-config.ps1")

# Locate the application's uninstaller through registry entries
$softwareName = 'Inform *'
$validExitCodes = @(0, 3010, 1605, 1614, 1641)

[array]$key = Get-UninstallRegistryKey -SoftwareName $softwareName

# Run the application's uninstaller if found, with appropriate error handling
if ($key.Count -eq 1) {
    $key | ForEach-Object {
        $packageArgs = @{
            packageName    = $env:ChocolateyPackageName
            softwareName   = $softwareName
            fileType       = 'EXE'
            silentArgs     = '/S'
            validExitCodes = $validExitCodes
            file           = "$($_.UninstallString)"
        }

        Write-Host "Running Inform 7 uninstaller..."
        Uninstall-ChocolateyPackage @packageArgs
    }
} elseif ($key.Count -eq 0) {
    Write-Warning "Inform 7 not found in the registry. The application may have been uninstalled already."
} elseif ($key.Count -gt 1) {
    Write-Warning "Multiple instances of Inform 7 found in the registry. Please uninstall manually."
    Write-Warning "To prevent accidental data loss, no automatic uninstallation will be performed."
}

# Clean up any manual shims created with Install-BinFile
Write-Host "Removing manual shims..."

# Get the base names of all shimmed files from the configuration
$binFilesToRemove = Get-Inform7ShimBaseNames

foreach ($binFile in $binFilesToRemove) {
    try {
        Uninstall-BinFile -Name $binFile
        Write-Host "Removed manual shim for $binFile"
    } catch {
        $errorMessage = $_.Exception.Message
        Write-Warning "Could not remove manual shim for $binFile. Error: $errorMessage"
    }
}

# Let Chocolatey handle shim removal automatically
Write-Host "Chocolatey will automatically remove shims during uninstallation..."

# Clean up environment variables created during installation
Write-Host "Removing Inform 7 environment variables..."

try {
    Uninstall-ChocolateyEnvironmentVariable -VariableName "INFORM7_HOME" -VariableType 'Machine'
    Write-Host "Environment variable INFORM7_HOME removed"
    
    Uninstall-ChocolateyEnvironmentVariable -VariableName "INFORM7_INTERNAL" -VariableType 'Machine'
    Write-Host "Environment variable INFORM7_INTERNAL removed"
} catch {
    Write-Warning "Failed to remove environment variables. This may occur if the script is not running with administrative privileges."
}

# Perform final cleanup operations
Write-Host "Cleaning up any remaining files..."

Write-Host "Uninstallation complete."
Write-Output "Inform 7 has been successfully uninstalled."
tools\inform7-config.ps1
# Shared configuration for Inform 7 Chocolatey package
# This file defines the common values used across install and uninstall scripts

# Files to create shims for (both paths relative to installation root)
$script:Inform7ShimFiles = @{
    # Format: Key = relative path to executable, Value = whether it's a GUI app
    "Inform.exe"            = $true         # GUI app in root directory
    "Compilers\inform6.exe" = $false
    "Compilers\inform7.exe" = $false
    "Compilers\inblorb.exe" = $false
    "Compilers\intest.exe"  = $false
}

# Function to get just the base names of files (for easier use with Install-BinFile)
function Get-Inform7ShimBaseNames {
    $Inform7ShimFiles.Keys | ForEach-Object {
        [System.IO.Path]::GetFileNameWithoutExtension($_)
    }
} 

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

This package has no dependencies.

Discussion for the Inform Package

Ground Rules:

  • This discussion is only about Inform and the Inform 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 Inform, 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