Downloads:

5,227

Downloads of v 1.12:

601

Last Update:

02 Dec 2014

Package Maintainer(s):

Software Author(s):

  • David White and others

Tags:

game strategy turn-based

The Battle for Wesnoth

This is not the latest version of The Battle for Wesnoth available.

1.12 | Updated: 02 Dec 2014

Downloads:

5,227

Downloads of v 1.12:

601

Maintainer(s):

Software Author(s):

  • David White and others

The Battle for Wesnoth 1.12

This is not the latest version of The Battle for Wesnoth available.

Some Checks Have Failed or Are Not Yet Complete

1 Test Unknown and 1 Passing Test


Validation Testing Unknown


Verification Testing Passed

Details

To install The Battle for Wesnoth, run the following command from the command line or from PowerShell:

>

To upgrade The Battle for Wesnoth, run the following command from the command line or from PowerShell:

>

To uninstall The Battle for Wesnoth, run the following command from the command line or from PowerShell:

>

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

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • 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://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. Enter your internal repository url

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

4. Choose your deployment method:


choco upgrade wesnoth -y --source="'STEP 3 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 wesnoth -y --source="'STEP 3 URL'"
$exitCode = $LASTEXITCODE

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

Exit $exitCode

- name: Ensure wesnoth installed
  win_chocolatey:
    name: wesnoth
    state: present
    version: 1.12
    source: STEP 3 URL

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

Coming early 2020! Central Managment Reporting available now! More information...


chocolatey_package 'wesnoth' do
  action    :install
  version  '1.12'
  source   'STEP 3 URL'
end

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


Chocolatey::Ensure-Package
(
    Name: wesnoth,
    Version: 1.12,
    Source: STEP 3 URL
);

Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.


cChocoPackageInstaller wesnoth
{
   Name     = 'wesnoth'
   Ensure   = 'Present'
   Version  = '1.12'
   Source   = 'STEP 3 URL'
}

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


package { 'wesnoth':
  provider => 'chocolatey',
  ensure   => '1.12',
  source   => 'STEP 3 URL',
}

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


salt '*' chocolatey.install wesnoth version="1.12" source="STEP 3 URL"

See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package was approved by moderator ferventcoder on 07 Dec 2014.

Description

The Battle for Wesnoth is a turn-based tactical strategy game with a high fantasy theme.

Build up a great army, gradually turning raw recruits into hardened veterans. In later games, recall your toughest warriors and form a deadly host whom none can stand against! Choose units from a large pool of specialists, and hand-pick a force with the right strengths to fight well on different terrains against all manner of opposition.


tools\chocolateyInstall.ps1
$packageName = 'wesnoth'
$fileType = 'exe'
$silentArgs = '/S'
# {\{DownloadUrlx64}\} gets “misused” here as 32-bit download link due to limitations of Ketarin/chocopkgup
$url = 'http://sourceforge.net/projects/wesnoth/files//wesnoth-1.12/wesnoth-1.12/wesnoth-1.12-win32.exe/download'

Install-ChocolateyPackage $packageName $fileType $silentArgs $url
tools\chocolateyUninstall.ps1
try {

  $packageName = 'wesnoth'
  $fileType = 'exe'
  $silentArgs = '/S'
  $validExitCodes = @(0)

  $unfile = "${Env:ProgramFiles}\Battle for Wesnoth 1.12\Uninstall.exe"
  $unfilex86 = "${Env:ProgramFiles(x86)}\Battle for Wesnoth 1.12\Uninstall.exe"

  if (Test-Path "$unfile") {$file = "$unfile"}
  if (Test-Path "$unfilex86") {$file = "$unfilex86"}

  if ((Test-Path "$unfile") -or (Test-Path "$unfilex86")) {
    Uninstall-ChocolateyPackage $packageName $fileType $silentArgs $file -validExitCodes $validExitCodes
  }

  Write-ChocolateySuccess $packageName
} catch {
  Write-ChocolateyFailure $packageName $($_.Exception.Message)
  throw
}

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.

Version Downloads Last Updated Status
The Battle for Wesnoth 1.15.3-beta 48 Thursday, March 12, 2020 Exempted
The Battle for Wesnoth 1.15.2-beta 58 Wednesday, October 23, 2019 Approved
The Battle for Wesnoth 1.15.1-beta 35 Tuesday, September 24, 2019 Approved
The Battle for Wesnoth 1.15.0-beta 45 Monday, September 2, 2019 Approved
The Battle for Wesnoth 1.14.12 81 Wednesday, May 20, 2020 Approved
The Battle for Wesnoth 1.14.9 308 Tuesday, September 24, 2019 Approved
The Battle for Wesnoth 1.14.7 184 Wednesday, April 17, 2019 Approved
The Battle for Wesnoth 1.14.6 128 Wednesday, February 27, 2019 Approved

This package has no dependencies.

Discussion for the The Battle for Wesnoth Package

Ground Rules:

  • This discussion is only about The Battle for Wesnoth and the The Battle for Wesnoth 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 The Battle for Wesnoth, 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