Notices: This section not yet converted to new layout. Download stats are rolling back out.

927

Downloads

655

Downloads of v 1.0.0.20161105

11/5/2016

Last update

App Install Recorder PowerShell Scripts

1.0.0.20161105

Package test results are passing.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved as a trusted package on 6/19/2019.

Parses a procmon trace to create an installer of whatever was traced. Creates a populated folder structure and a .REG
Perfect for figuring out what some mysterious installers do.

To install App Install Recorder PowerShell Scripts, run the following command from the command line or from PowerShell:

C:\> choco install appinstallrecorder

To upgrade App Install Recorder PowerShell Scripts, run the following command from the command line or from PowerShell:

C:\> choco upgrade appinstallrecorder

Files

Hide
  • tools\chocolateyInstall.ps1 Show
    $PackageName = 'appinstallrecorder'
    $url = 'https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Components.PostAttachments/00/10/55/52/66/AppInstallRecorderScripts.zip'
    $validExitCodes = @(0)
    $checksum      = '9C909029F8354E616185BFF964D09A0F5FAAE303'
    $checksumType  = 'sha1'
    
    Install-ChocolateyZipPackage "$packageName" "$url" "$(Split-Path -parent $MyInvocation.MyCommand.Definition)" -checksum $checksum -checksumType $checksumType
    
    $sourcefolder = "$env:chocolateyinstall\lib\$packagename\tools"
    $targetfolder = "$env:programdata\$packagename"
    
    Write-Output "Target folder: $targetfolder"
    
    If (!(Test-Path "$targetfolder")) {New-Item "$targetfolder" -ItemType Directory }
    Copy-Item "$sourcefolder\*" "$targetfolder" -exclude "Chocolatey*install.ps1" -Force
    $shortcutpaths = @("$([Environment]::GetFolderPath('CommonDesktopDirectory'))", "$([Environment]::GetFolderPath('CommonStartMenu'))")
    
    $codeblock = "{Write-output `'Create `"packages`" from filtered procmon traces.  Launching Help...`' ;  start `'http://blogs.msdn.com/b/aaron_margosis/archive/2014/09/05/the-case-of-the-app-install-recorder.aspx`'} ; dir"
    
    Foreach ($SCPath in $shortcutpaths)
    {
      If (Test-Path $SCPath)
      {
        write-output "SCPATH: $SCPath"
        If (Test-Path "$SCPath\App Install Recorder Scripts.lnk") {Remove-Item "$SCPath\App Install Recorder Scripts.lnk" -force}
        Install-ChocolateyShortcut -ShortcutFilePath "$SCPath\App Install Recorder Scripts.lnk" -TargetPath "$env:windir\system32\windowspowershell\v1.0\PowerShell.exe" -Arguments "-noexit & $codeblock" -WorkingDirectory "$targetfolder"
      }
    }
    
    
    Write-Output "***********************************************************************************************************************"
    Write-Output "*  INSTRUCTIONS: The scripts are available in $targetpath and shortcuts named `"App Install Recorder Scripts`"          *"
    Write-Output "*    have been created on the desktop and start menu that open a PowerShell prompt to that location.                  *"
    Write-Output "*    For details on use them see:                                                                                     *"
    Write-Output "*      http://blogs.msdn.com/b/aaron_margosis/archive/2014/09/05/the-case-of-the-app-install-recorder.aspx            *"
    Write-Output "***********************************************************************************************************************"
    
  • tools\chocolateyUninstall.ps1 Show
    $packageName = 'appinstallrecorder'
    
    $targetfolder = "$env:programdata\$packagename"
    Remove-Item "$targetfolder\AppInstallPlayback.cmd"
    Remove-Item "$targetfolder\Capture-Recording.ps1"
    
    Remove-Item -Recurse -Force "$([Environment]::GetFolderPath('CommonDesktopDirectory'))\App Install Recorder Scripts.lnk"
    Remove-Item -Recurse -Force "$([Environment]::GetFolderPath('CommonStartMenu'))\App Install Recorder Scripts.lnk"
    
    
    
    Uninstall-ChocolateyZipPackage $packageName AppInstallRecorderScripts.zip
    

Virus Scan Results

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.

Dependencies

This package has no dependencies.

Package Maintainer(s)

Software Author(s)

  • Aaron Margosis

Copyright

Aaron Margosis

Tags

Version History

Version Downloads Last updated Status
App Install Recorder PowerShell Scripts 1.0.0 272 Sunday, January 17, 2016 approved

Discussion for the App Install Recorder PowerShell Scripts Package

Ground rules:

  • This discussion is only about App Install Recorder PowerShell Scripts and the App Install Recorder PowerShell Scripts 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 App Install Recorder PowerShell Scripts, 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
Chocolatey.org uses cookies to enhance the user experience of the site.
Ok