GhostDoc Enterprise Edition

  • 1
  • 2
  • 3

2021.2.21150 | Updated: 02 Jun 2021



Downloads of v 2021.2.21150:



Software Author(s):

  • submain

  • 1
  • 2
  • 3
GhostDoc Enterprise Edition 2021.2.21150

  • 1
  • 2
  • 3

Some Checks Have Failed or Are Not Yet Complete

Not All Tests Have Passed

Validation Testing Passed

Verification Testing Passed


Scan Testing Resulted in Flagged as a Note:

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


To install GhostDoc Enterprise Edition, run the following command from the command line or from PowerShell:


To upgrade GhostDoc Enterprise Edition, run the following command from the command line or from PowerShell:


To uninstall GhostDoc Enterprise Edition, 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 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

4. Choose your deployment method:

choco upgrade ghostdoc-enterprise -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 ghostdoc-enterprise -y --source="'STEP 3 URL'"

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

Exit $exitCode

- name: Ensure ghostdoc-enterprise installed
    name: ghostdoc-enterprise
    state: present
    version: 2021.2.21150
    source: STEP 3 URL

See docs at

chocolatey_package 'ghostdoc-enterprise' do
  action    :install
  version  '2021.2.21150'
  source   'STEP 3 URL'

See docs at

    Name: ghostdoc-enterprise,
    Version: 2021.2.21150,
    Source: STEP 3 URL

Requires Otter Chocolatey Extension. See docs at

cChocoPackageInstaller ghostdoc-enterprise
   Name     = 'ghostdoc-enterprise'
   Ensure   = 'Present'
   Version  = '2021.2.21150'
   Source   = 'STEP 3 URL'

Requires cChoco DSC Resource. See docs at

package { 'ghostdoc-enterprise':
  provider => 'chocolatey',
  ensure   => '2021.2.21150',
  source   => 'STEP 3 URL',

Requires Puppet Chocolatey Provider module. See docs at

salt '*' chocolatey.install ghostdoc-enterprise version="2021.2.21150" source="STEP 3 URL"

See docs at

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package was approved as a trusted package on 02 Jun 2021.


GhostDoc is a Visual Studio extension that automatically generates XML documentation comments for methods and properties based on their type, parameters, name, and other contextual information.

When generating documentation for class derived from a base class or for interface implementation (e.g. .NET Framework or your custom framework), GhostDoc will use the documentation that Microsoft or the framework vendor has already written for the base class or interface.


  • Save keystrokes and time; simplify documenting your code
  • Automatically generate a starting point for your help documentation
  • Benefit of the base class documentation
  • StyleCop compliant documentation templates
  • (Pro) Documentation quality and maintenance
  • (Pro) Code Spell Checker
  • (Pro) Build Help File
  • (Pro) Take control of your help files with Help Configurations and Template Libraries
  • See this page for the full comparison between editions.

If you follow good naming conventions in your code, then you will get very decent results on the summary GhostDoc generates. When I see code that is not documented, it is as simple as hit Ctrl-Shift-D to have GhostDoc document it.


  • Uninstall is not completely silent, after uninstall a browser window pops up

$ErrorActionPreference = 'Stop';

$cacheDirectory = Get-PackageCacheLocation

$packageArgs = @{
  packageName    = $env:chocolateyPackageName
  fileType       = 'exe'
  url            = ''
  unzipLocation  = $cacheDirectory
  softwareName   = 'GhostDoc Enterprise'
  checksum       = '73d151d3f9faeaa56bda19e836db4e8e379dc2f206c8b6442cea601992857973f689c2d677ed4919bb24b666b92b7eebaa8e301f9dcd4a416a2a49776200662b'
  checksumType   = 'sha512'
  silentArgs     = ''
  validExitCodes = @(0)
  options        = @{
    Headers = @{
      Referer = ''

[array]$existingKey = Get-UninstallRegistryKey @packageArgs
$toolsDir = (Split-Path -Parent $MyInvocation.MyCommand.Definition)

if ($existingKey.Length -eq 1) {
  $existingKey | ForEach-Object {
    . "$toolsDir\helpers.ps1"
    Write-Host "Uninstalling previous version of $($packageArgs.softwareName)"
    UninstallGhostDoc "$($_.PSChildName)"

Install-ChocolateyZipPackage @packageArgs

$packageArgs["file"] = Get-ChildItem $cacheDirectory -Filter "*.exe" -Recurse | Select-Object -First 1 -ExpandProperty FullName

if ($env:chocolateyInstallOverride -ne $true) {
  Start-Process "autohotkey.exe" "$toolsDir\ghostdocInstall.ahk","Enterprise"
Install-ChocolateyInstallPackage @packageArgs
$ErrorActionPreference = 'Stop';

[array]$key = Get-UninstallRegistryKey -SoftwareName 'GhostDoc Enterprise'
$toolsDir = (Split-Path -Parent $MyInvocation.MyCommand.Definition)

if ($key.Count -eq 1) {
  $key | ForEach-Object {
    . "$toolsDir\helpers.ps1"
    UninstallGhostDoc "$($_.PSChildName)"
} elseif ($key.Count -eq 0) {
  Write-Warning "$env:chocolateyPackageName has already been uninstalled by other means."
} elseif ($key.Count -gt 1) {
  Write-Warning "$($key.Count) matches found!"
  Write-Warning "To prevent accidental data loss, no programs will be uninstalled."
  Write-Warning "Please alert the package maintainer that the following keys were matched:"
  $key | ForEach-Object { Write-Warning "- $($_.DisplayName)" }
#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn  ; Enable warnings to assist with detecting common errors.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.
SetTitleMatchMode, RegEx

edition = %1%
winTitleWelcome = GhostDoc %edition% Setup
winTitleWelcomeText = Click Next to continue
winTitleLicense = GhostDoc %edition% Licence Agreement
winTitleIntegrationText = Visual Studio Intergation
winTitleReady = Ready to Install
winTitleCompleted = Completing the GhostDoc %edition% Setup Wizard

WinWait, %winTitleWelcome%, %winTitleWelcomeText%
ControlSend, Button1, {Enter}, %winTitleWelcome%, %winTitleWelcomeText%

Sleep, 100

WinWait, %winTitleLicense%
Control, Check,, Button2, %winTitleLicense%
ControlSend, Button5, {Enter}, %winTitleLicense%

Sleep, 100
WinWait, %winTitleWelcome%
ControlSend, Button1, {Enter}, %winTitleWelcome%

Sleep, 100
WinWait, %winTitleWelcome%, %winTitleIntegrationText%
ControlSend, Button1, {Enter}, %winTitleWelcome%

Sleep, 100
WinWait, %winTitleWelcome%, %winTitleReady%
ControlSend, Button1, {Enter}, %winTitleWelcome%

Sleep, 1000
WinWait, %winTitleWelcome%, %winTitleCompleted%
ControlSend, Button1, {Enter}, %winTitleWelcome%
function UninstallGhostDoc() {

  $packageArgs = @{
    packageName   = $env:ChocolateyPackageName
    file          = ''
    fileType      = 'msi'
    silentArgs    = "$msiGuid /qn /norestart"
    validExitCodes= @(0)

  Uninstall-ChocolateyPackage @packageArgs

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
GhostDoc Enterprise Edition 2021.2.21090 32 Thursday, April 1, 2021 Approved
GhostDoc Enterprise Edition 2021.1.20350 57 Tuesday, December 15, 2020 Approved
GhostDoc Enterprise Edition 2020.2.20300 33 Wednesday, November 4, 2020 Approved
GhostDoc Enterprise Edition 2020.2.20270 46 Tuesday, September 29, 2020 Approved
GhostDoc Enterprise Edition 2020.2.20230 49 Friday, August 21, 2020 Approved
GhostDoc Enterprise Edition 2020.2.20200 58 Saturday, August 1, 2020 Approved
GhostDoc Enterprise Edition 2020.1.20070 157 Friday, March 13, 2020 Approved
GhostDoc Enterprise Edition 2019.3.19260 152 Tuesday, September 17, 2019 Approved
GhostDoc Enterprise Edition 2019.2.19200 122 Tuesday, July 23, 2019 Approved

[Software Changelog](
Package Changelog

Discussion for the GhostDoc Enterprise Edition Package

Ground Rules:

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