Skip to content

(bethesdanet) Uninstaller doesn't work #157

@Destroy666x

Description

@Destroy666x

Chocolatey Version

1.2.0

Chocolatey License

No response

Package Version

0.0.6

Current Behaviour

The custom uninstaller throws an error ERROR: Cannot bind parameter 'RemainingScripts'. Cannot convert the "elseif" value of type "System.String" to type "System.Management.Automation.ScriptBlock", some type mismatch

Expected Behaviour

It should not throw an error. You may get more requests about this soon as the software is deprecated and a bunch of people will attempt to uninstall it.

Steps To Reproduce

  1. Install bethesdanet
  2. Attempt to uninstall bethesdanet

Environment

- Operating System (run `[System.Environment]::OSVersion.ToString()` in a PowerShell session): Microsoft Windows NT 10.0.19045.0
- PowerShell Version (run `$PSVersionTable` in a PowerShell session): 5.1.19041.1682
- Shell: ConEmu + clink

Chocolatey Log

I've already uninstalled it, it's easy enough to debug so I don't think it's worth reinstalling to include it.

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThe package installs / upgrades / uninstalls but there is a bug in functionality.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions