Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HKCU not being tracked during install of Squirrel pkg #705

Closed
bc3tech opened this issue Apr 22, 2016 · 5 comments
Closed

HKCU not being tracked during install of Squirrel pkg #705

bc3tech opened this issue Apr 22, 2016 · 5 comments

Comments

@bc3tech
Copy link
Contributor

bc3tech commented Apr 22, 2016

What You Are Seeing?

Working on a new package that is comprised of a piece of software that is a Squirrel installer distributed with in a .zip file. Upon installation, Programs and Features is populated with the software name, a key is added in HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall but no .registry file is written to the chocolatey package's "tracking" directory (C:\ProgramData\chocolatey\.chocolatey\<pkg name>). This makes uninstall problematic for this particular pkg

What is Expected?

It's expected that a .registry file be written which contains the changes to the registry so that Uninstall-ChocolateyPackage can do its work.

How Did You Get This To Happen? (Steps to Reproduce)

The installer for this choco package in my repo reproduces this on choco v0.9.10-beta-20160422

Output Log

Chocolatey v0.9.10-beta1-289-g589515c
Chocolatey is running on Windows v 10.0.14295.0
Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
Command line: "C:\ProgramData\chocolatey\choco.exe" install franz -y -pre -s . --debug --verbose --force
Received arguments: install franz -y -pre -s . --debug --verbose --force
The source '.' evaluated to a 'normal' source type

NOTE: Hiding sensitive configuration data! Please double and triple 
 check to be sure no sensitive data is shown, especially if copying 
 output to a gist for review.
Configuration: CommandName='install'|
CacheLocation='C:\Users\brand\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|Sources='.'|SourceType='normal'|
Debug='True'|Verbose='True'|Force='True'|Noop='False'|
HelpRequested='False'|RegularOutput='True'|QuietOutput='False'|
PromptForConfirmation='False'|AcceptLicense='True'|
AllowUnofficialBuild='False'|Input='franz'|AllVersions='False'|
SkipPackageInstallProvider='False'|PackageNames='franz'|
Prerelease='True'|ForceX86='False'|OverrideArguments='False'|
NotSilent='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='False'|
ForceDependencies='False'|Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.14295.0'|
Information.PlatformName='Windows'|
Information.ChocolateyVersion='0.9.10.0'|
Information.ChocolateyProductVersion='0.9.10-beta1-289-g589515c'|
Information.FullName='choco, Version=0.9.10.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|

Information.Is64Bit='True'|Information.IsInteractive='True'|
Information.IsUserAdministrator='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Features.AutoUninstaller='True'|
Features.CheckSumFiles='True'|Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='False'|Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
ListCommand.LocalOnly='False'|
ListCommand.IncludeRegistryPrograms='False'|ListCommand.PageSize='25'|
ListCommand.Exact='False'|ListCommand.ByIdOnly='False'|
ListCommand.IdStartsWith='False'|ListCommand.OrderByPopularity='False'|
ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
NewCommand.AutomaticPackage='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|FeatureCommand.Command='unknown'|
ConfigCommand.Command='unknown'|PushCommand.TimeoutInSeconds='0'|
PinCommand.Command='unknown'|
_ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
Installing the following packages:
franz
By installing you accept licenses for the packages.
franz v0.9.10-beta already installed. Forcing reinstall.
Backing up existing franz prior to upgrade.
Moving 'C:\ProgramData\chocolatey\lib\franz'
 to 'C:\ProgramData\chocolatey\lib-bkp\franz'
Attempting to create directory "C:\ProgramData\chocolatey\lib\franz".
Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\franz\Franz-win32-x64-0.9.10.zip.txt"
 to "C:\ProgramData\chocolatey\lib\franz\Franz-win32-x64-0.9.10.zip.txt".
Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\franz\franz.nupkg"
 to "C:\ProgramData\chocolatey\lib\franz\franz.nupkg".
Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\franz\franz.nuspec"
 to "C:\ProgramData\chocolatey\lib\franz\franz.nuspec".
Attempting to create directory "C:\ProgramData\chocolatey\lib\franz\tools".
Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\franz\tools\chocolateyinstall.ps1"
 to "C:\ProgramData\chocolatey\lib\franz\tools\chocolateyinstall.ps1".
Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\franz\tools\chocolateyuninstall.ps1"
 to "C:\ProgramData\chocolatey\lib\franz\tools\chocolateyuninstall.ps1".
Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\franz\tools\FranzSetup.exe"
 to "C:\ProgramData\chocolatey\lib\franz\tools\FranzSetup.exe".
Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\franz\tools\FranzSetup.exe.ignore"
 to "C:\ProgramData\chocolatey\lib\franz\tools\FranzSetup.exe.ignore".
Capturing package files in 'C:\ProgramData\chocolatey\lib\franz'
 Found 'C:\ProgramData\chocolatey\lib\franz\Franz-win32-x64-0.9.10.zip.txt'
  with checksum '930E1743A5BBF79AFD7E3D7EEB8B3827'
 Found 'C:\ProgramData\chocolatey\lib\franz\franz.nupkg'
  with checksum 'E41E9380351C91748C9B783EEC6A1CAA'
 Found 'C:\ProgramData\chocolatey\lib\franz\franz.nuspec'
  with checksum '89E9A7B790B8F3706C933F54C71DA506'
 Found 'C:\ProgramData\chocolatey\lib\franz\tools\chocolateyinstall.ps1'
  with checksum '0615CA8E372D8BF730CEF877B59CB8B4'
 Found 'C:\ProgramData\chocolatey\lib\franz\tools\chocolateyuninstall.ps1'
  with checksum '361A82D6EF12A31AAEF79F6DF4FA283D'
 Found 'C:\ProgramData\chocolatey\lib\franz\tools\FranzSetup.exe'
  with checksum '98E1ECFCD222DD806BF99C9D1C529CCD'
 Found 'C:\ProgramData\chocolatey\lib\franz\tools\FranzSetup.exe.ignore'
  with checksum 'BEA07E6D2B8DCE396FE21BAA61B34956'
[NuGet] Uninstalling 'franz 0.9.10-beta'.
[NuGet] Removed file 'chocolateyinstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\franz\tools'.
[NuGet] Removed file 'chocolateyuninstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\franz\tools'.
[NuGet] Removed file 'franz.nuspec' to folder 'C:\ProgramData\chocolatey\lib\franz'.
[NuGet] Removed file 'franz.nupkg' to folder 'C:\ProgramData\chocolatey\lib\franz'.
[NuGet] The directory is not empty.

[NuGet] Successfully uninstalled 'franz 0.9.10-beta'.
Attempting to delete directory "C:\ProgramData\chocolatey\lib\franz".
Attempting to delete directory "C:\Users\brand\AppData\Local\Temp\chocolatey\franz\0.9.10-beta".
[NuGet] Installing 'franz 0.9.10-beta'.
[NuGet] Added file 'chocolateyinstall.ps1' to folder 'franz\tools'.
[NuGet] Added file 'chocolateyuninstall.ps1' to folder 'franz\tools'.
[NuGet] Added file 'franz.nuspec' to folder 'franz'.
[NuGet] Added file 'franz.nupkg' to folder 'franz'.
[NuGet] Successfully installed 'franz 0.9.10-beta'.

franz v0.9.10-beta (forced)
Contents of 'C:\ProgramData\chocolatey\lib\franz\tools\chocolateyinstall.ps1':
# IMPORTANT: Before releasing this package, copy/paste the next 2 lines into PowerShell to remove all comments from this file:
#   $f='c:\path\to\thisFile.ps1'
#   gc $f | ? {$_ -notmatch "^\s*#"} | % {$_ -replace '(^.*?)\s*?[^``]#.*','$1'} | Out-File $f+".~" -en utf8; mv -fo $f+".~" $f

$ErrorActionPreference = 'Stop'; # stop on all errors


$packageName= 'franz' # arbitrary name for the package, used in messages
$toolsDir   = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$url        = 'http://downloads.meetfranz.com/releases/0.9.10/Franz-win32-ia32-0.9.10.zip' # download url
$url64      = 'http://downloads.meetfranz.com/releases/0.9.10/Franz-win32-x64-0.9.10.zip' # 64bit URL here or remove - if installer is both, use $url
#$fileLocation = Join-Path $toolsDir 'NAME_OF_EMBEDDED_INSTALLER_FILE'
#$fileLocation = '\\SHARE_LOCATION\to\INSTALLER_FILE'
$fileType = 'EXE'

$packageArgs = @{
  packageName   = $packageName
  unzipLocation = $toolsDir
  fileType      = 'EXE' #only one of these: exe, msi, msu
  url           = $url
  url64bit      = $url64
  #file         = $fileLocation

  #MSI
  # silentArgs    = "/qn /norestart /l*v `"$env:TEMP\chocolatey\$($packageName)\$($packageName).MsiInstall.log`"" # ALLUSERS=1 DISABLEDESKTOPSHORTCUT=1 ADDDESKTOPICON=0 ADDSTARTMENU=0
  # validExitCodes= @(0, 3010, 1641)
  #OTHERS
  # Uncomment matching EXE type (sorted by most to least common)
  #silentArgs   = '/S'           # NSIS
  #silentArgs   = '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' # Inno Setup
  #silentArgs   = '/s'           # InstallShield
  #silentArgs   = '/s /v"/qn"' # InstallShield with MSI
  #silentArgs   = '/s'           # Wise InstallMaster
  silentArgs   = '-s'           # Squirrel
  #silentArgs   = '-q'           # Install4j
  #silentArgs   = '-s -u'        # Ghost
  # Note that some installers, in addition to the silentArgs above, may also need assistance of AHK to achieve silence.
  # silentArgs   = ''             # none; make silent with input macro script like AutoHotKey (AHK)
                                 #       https://chocolatey.org/packages/autohotkey.portable
  #validExitCodes= @(0) #please insert other valid exit codes here

  # optional, highly recommended
  softwareName  = 'franz*' #part or all of the Display Name as you see it in Programs and Features. It should be enough to be unique
  checksum      = ''
  checksumType  = 'md5' #default is md5, can also be sha1
  checksum64    = ''
  checksumType64= 'md5' #default is checksumType
}

# Install-ChocolateyPackage @packageArgs
#Install-ChocolateyZipPackage @packageArgs
# if you are making your own internal packages (organizations), you can embed the installer or 
# put on internal file share and use the following instead (you'll need to add $file to the above)
#Install-ChocolateyInstallPackage @packageArgs 

## Main helper functions - these have error handling tucked into them already
## see https://github.com/chocolatey/choco/wiki/HelpersReference

## Install an application, will assert administrative rights
## add additional optional arguments as necessary
##Install-ChocolateyPackage $packageName $fileType $silentArgs $url [$url64 -validExitCodes $validExitCodes -checksum $checksum -checksumType $checksumType -checksum64 $checksum64 -checksumType64 $checksumType64]

## Download and unpack a zip file
$zipInstallDir = Install-ChocolateyZipPackage $packageName $url $toolsDir $url64

## Install Visual Studio Package
#Install-ChocolateyVsixPackage $packageName $url [$vsVersion] [-checksum $checksum -checksumType $checksumType]
#Install-ChocolateyVsixPackage @packageArgs

# see the full list at https://github.com/chocolatey/choco/wiki/HelpersReference

# downloader that the main helpers use to download items
# if removing $url64, please remove from here
# $dlFileLoc = Get-ChocolateyWebFile $packageName ($toolsDir + 'franzInstall') $url $url64

# installer, will assert administrative rights - used by Install-ChocolateyPackage
# use this for embedding installers in the package when not going to community feed or when you have distribution rights
Write-Host ($zipInstallDir + '\FranzSetup.exe')
Install-ChocolateyInstallPackage $packageName $fileType $silentArgs ($zipInstallDir + "\FranzSetup.exe")

# unzips a file to the specified location - auto overwrites existing content

# Runs processes asserting UAC, will assert administrative rights - used by Install-ChocolateyInstallPackage
#Start-ChocolateyProcessAsAdmin 'STATEMENTS_TO_RUN' 'Optional_Application_If_Not_PowerShell' -validExitCodes $validExitCodes

# add specific folders to the path - any executables found in the chocolatey package folder will already be on the path. This is used in addition to that or for cases when a native installer doesn't add things to the path.
#Install-ChocolateyPath 'LOCATION_TO_ADD_TO_PATH' 'User_OR_Machine' # Machine will assert administrative rights

# add specific files as shortcuts to the desktop
#$target = Join-Path $toolsDir "$($packageName).exe"
# Install-ChocolateyShortcut -shortcutFilePath "<path>" -targetPath "<path>" [-workDirectory "C:\" -arguments "C:\test.txt" -iconLocation "C:\test.ico" -description "This is the description"]

# outputs the bitness of the OS (either "32" or "64")
# Get-ChocolateyUnzip $dlFileLoc ($toolsDir + 'franz')

# cd ($toolsDir + 'franz')
# .\ FranzSetup.exe

#Install-ChocolateyEnvironmentVariable -variableName "SOMEVAR" -variableValue "value" [-variableType = 'Machine' #Defaults to 'User']

#Install-ChocolateyFileAssociation 
#Install-BinFile ## only use this for non-exe files - chocolatey will automatically pick up the exe files and shim them automatically
## https://github.com/chocolatey/choco/wiki/CreatePackages#how-do-i-exclude-executables-from-getting-batch-redirects

##PORTABLE EXAMPLE
#$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
# despite the name "Install-ChocolateyZipPackage" this also works with 7z archives
#Install-ChocolateyZipPackage $packageName $url $toolsDir $url64
## END PORTABLE EXAMPLE

## [DEPRECATING] PORTABLE EXAMPLE
#$binRoot = Get-BinRoot
#$installDir = Join-Path $binRoot "$packageName"
#Write-Host "Adding `'$installDir`' to the path and the current shell path"
#Install-ChocolateyPath "$installDir"
#$env:Path = "$($env:Path);$installDir"

# if removing $url64, please remove from here
# despite the name "Install-ChocolateyZipPackage" this also works with 7z archives
#Install-ChocolateyZipPackage "$packageName" "$url" "$installDir" "$url64"
## END PORTABLE EXAMPLE

Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\franz\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters ''']
Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
Attempting to load assembly System.Management.Automation.resources failed:
 Could not load file or assembly 'System.Management.Automation.resources, Version=5.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
Attempting to load assembly System.Management.Automation.resources failed:
 Could not load file or assembly 'System.Management.Automation.resources, Version=4.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
Attempting to load assembly System.Management.Automation.resources failed:
 Could not load file or assembly 'System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
Attempting to load assembly System.Management.Automation.resources failed:
 Could not load file or assembly 'System.Management.Automation.resources, Version=1.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
PowerShell Version is '5.1.14295.1000' and CLR Version is '4.0.30319.42000'.
Loading community extensions
VERBOSE: Exporting function 'Format-FileSize'.
VERBOSE: Exporting function 'Get-ChecksumValid'.
VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
VERBOSE: Exporting function 'Get-EnvironmentVariable'.
VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
VERBOSE: Exporting function 'Get-FileName'.
VERBOSE: Exporting function 'Get-FtpFile'.
VERBOSE: Exporting function 'Get-ProcessorBits'.
VERBOSE: Exporting function 'Get-ToolsLocation'.
VERBOSE: Exporting function 'Get-UACEnabled'.
VERBOSE: Exporting function 'Get-VirusCheckValid'.
VERBOSE: Exporting function 'Get-WebFile'.
VERBOSE: Exporting function 'Get-WebHeaders'.
VERBOSE: Exporting function 'Install-BinFile'.
VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
VERBOSE: Exporting function 'Install-ChocolateyPackage'.
VERBOSE: Exporting function 'Install-ChocolateyPath'.
VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
VERBOSE: Exporting function 'Install-Vsix'.
VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
VERBOSE: Exporting function 'Set-EnvironmentVariable'.
VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
VERBOSE: Exporting function 'Test-ProcessAdminRights'.
VERBOSE: Exporting function 'Uninstall-BinFile'.
VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
VERBOSE: Exporting function 'UnInstall-ChocolateyZipPackage'.
VERBOSE: Exporting function 'Update-SessionEnvironment'.
VERBOSE: Exporting function 'Write-ChocolateyFailure'.
VERBOSE: Exporting function 'Write-ChocolateySuccess'.
VERBOSE: Exporting function 'Write-FileUpdateLog'.
VERBOSE: Exporting alias 'Generate-BinFile'.
VERBOSE: Exporting alias 'Add-BinFile'.
VERBOSE: Exporting alias 'Remove-BinFile'.
VERBOSE: Exporting alias 'refreshenv'.
VERBOSE: Importing function 'Format-FileSize'.
VERBOSE: Importing function 'Get-ChecksumValid'.
VERBOSE: Importing function 'Get-ChocolateyUnzip'.
VERBOSE: Importing function 'Get-ChocolateyWebFile'.
VERBOSE: Importing function 'Get-EnvironmentVariable'.
VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
VERBOSE: Importing function 'Get-FileName'.
VERBOSE: Importing function 'Get-FtpFile'.
VERBOSE: Importing function 'Get-ProcessorBits'.
VERBOSE: Importing function 'Get-ToolsLocation'.
VERBOSE: Importing function 'Get-UACEnabled'.
VERBOSE: Importing function 'Get-VirusCheckValid'.
VERBOSE: Importing function 'Get-WebFile'.
VERBOSE: Importing function 'Get-WebHeaders'.
VERBOSE: Importing function 'Install-BinFile'.
VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
VERBOSE: Importing function 'Install-ChocolateyPackage'.
VERBOSE: Importing function 'Install-ChocolateyPath'.
VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
VERBOSE: Importing function 'Install-ChocolateyShortcut'.
VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
VERBOSE: Importing function 'Install-Vsix'.
VERBOSE: Importing function 'Set-EnvironmentVariable'.
VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
VERBOSE: Importing function 'Test-ProcessAdminRights'.
VERBOSE: Importing function 'Uninstall-BinFile'.
VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
VERBOSE: Importing function 'UnInstall-ChocolateyZipPackage'.
VERBOSE: Importing function 'Update-SessionEnvironment'.
VERBOSE: Importing function 'Write-ChocolateyFailure'.
VERBOSE: Importing function 'Write-ChocolateySuccess'.
VERBOSE: Importing function 'Write-FileUpdateLog'.
VERBOSE: Importing alias 'Add-BinFile'.
VERBOSE: Importing alias 'Generate-BinFile'.
VERBOSE: Importing alias 'refreshenv'.
VERBOSE: Importing alias 'Remove-BinFile'.
Running 'ChocolateyScriptRunner' for franz v0.9.10-beta with packageScript 'C:\ProgramData\chocolatey\lib\franz\tools\chocolateyinstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\franz', installArguments: '', packageParameters: '',
Running 'C:\ProgramData\chocolatey\lib\franz\tools\chocolateyinstall.ps1'
Running 'Install-ChocolateyZipPackage' for franz with url:'http://downloads.meetfranz.com/releases/0.9.10/Franz-win32-ia32-0.9.10.zip', unzipLocation: 'C:\ProgramData\chocolatey\lib\franz\tools', url64bit: 'http://downloads.meetfranz.com/releases/0.9.10/Franz-win32-x64-0.9.10.zip', specificFolder: '', checksum: '', checksumType: '', checksum64: '', checksumType64: '' 
Running 'Get-ChocolateyWebFile' for franz with url:'http://downloads.meetfranz.com/releases/0.9.10/Franz-win32-ia32-0.9.10.zip', fileFullPath:'C:\Users\brand\AppData\Local\Temp\chocolatey\franz\0.9.10-beta\franzInstall.zip', url64bit:'http://downloads.meetfranz.com/releases/0.9.10/Franz-win32-x64-0.9.10.zip', checksum: '', checksumType: '', checksum64: '', checksumType64: ''
Running 'Get-ProcessorBits'
CPU is 64 bit
Setting url to 'http://downloads.meetfranz.com/releases/0.9.10/Franz-win32-x64-0.9.10.zip' and bitPackage to 64
Running 'Get-FileName' to determine name with url:'http://downloads.meetfranz.com/releases/0.9.10/Franz-win32-x64-0.9.10.zip', defaultName:'franzInstall.zip'
Using response url to determine file name.
File name determined from url is 'Franz-win32-x64-0.9.10.zip'
Running 'Get-WebHeaders' with url:'http://downloads.meetfranz.com/releases/0.9.10/Franz-win32-x64-0.9.10.zip', userAgent: 'chocolatey command line'
Setting the UserAgent to 'chocolatey command line'
Request Headers:
  'Accept':'*/*'
  'User-Agent':'chocolatey command line'
Response Headers:
  'Connection':'close'
  'Accept-Ranges':'bytes'
  'Content-Length':'53991762'
  'Content-Type':'application/zip'
  'Date':'Fri, 22 Apr 2016 14:52:13 GMT'
  'ETag':'"eb5c643-337d952-5304ec2b86500"'
  'Last-Modified':'Tue, 12 Apr 2016 19:35:16 GMT'
  'Set-Cookie':'DYNSRV=lin120; path=/'
  'Server':'Apache'
Downloading franz 64 bit
  from 'http://downloads.meetfranz.com/releases/0.9.10/Franz-win32-x64-0.9.10.zip'
Running 'Get-WebFile' for C:\Users\brand\AppData\Local\Temp\chocolatey\franz\0.9.10-beta\Franz-win32-x64-0.9.10.zip with url:'http://downloads.meetfranz.com/releases/0.9.10/Franz-win32-x64-0.9.10.zip', userAgent: 'chocolatey command line' 
Setting the UserAgent to 'chocolatey command line'
Downloading http://downloads.meetfranz.com/releases/0.9.10/Franz-win32-x64-0.9.10.zip to C:\Users\brand\AppData\Local\Temp\chocolatey\franz\0.9.10-beta\Franz-win32-x64-0.9.10.zip

Progress: 0% - Saving 86.69 KB of 51.49 MB (88770/53991762)      
Progress: 0% - Saving 263.49 KB of 51.49 MB (269810/53991762)    
Progress: 1% - Saving 477.35 KB of 51.49 MB (488810/53991762)    
Progress: 1% - Saving 712.61 KB of 51.49 MB (729710/53991762)    
Progress: 2% - Saving 963.54 KB of 51.49 MB (986670/53991762)    
Progress: 2% - Saving 1.24 MB of 51.49 MB (1300570/53991762)     
Progress: 3% - Saving 1.68 MB of 51.49 MB (1759010/53991762)     
Progress: 4% - Saving 2.24 MB of 51.49 MB (2351770/53991762)     
Progress: 5% - Saving 2.56 MB of 51.49 MB (2681730/53991762)     
Progress: 6% - Saving 3.08 MB of 51.49 MB (3230690/53991762)     
Progress: 7% - Saving 3.4 MB of 51.49 MB (3563570/53991762)      
Progress: 8% - Saving 3.87 MB of 51.49 MB (4054130/53991762)     
Progress: 8% - Saving 4.18 MB of 51.49 MB (4384090/53991762)     
Progress: 9% - Saving 4.57 MB of 51.49 MB (4792890/53991762)     
Progress: 10% - Saving 5.12 MB of 51.49 MB (5368130/53991762)     
Progress: 11% - Saving 5.66 MB of 51.49 MB (5931690/53991762)     
Progress: 12% - Saving 6.04 MB of 51.49 MB (6337570/53991762)     
Progress: 13% - Saving 6.61 MB of 51.49 MB (6936170/53991762)     
Progress: 14% - Saving 7 MB of 51.49 MB (7344970/53991762)        
Progress: 14% - Saving 7.4 MB of 51.49 MB (7762530/53991762)      
Progress: 15% - Saving 7.78 MB of 51.49 MB (8153810/53991762)     
Progress: 16% - Saving 8.01 MB of 51.49 MB (8396170/53991762)     
Progress: 16% - Saving 8.32 MB of 51.49 MB (8726130/53991762)     
Progress: 17% - Saving 8.78 MB of 51.49 MB (9210850/53991762)     
Progress: 18% - Saving 9.13 MB of 51.49 MB (9574390/53991762)     
Progress: 19% - Saving 9.58 MB of 51.49 MB (10045970/53991762)    
Progress: 20% - Saving 10.15 MB of 51.49 MB (10647490/53991762)   
Progress: 21% - Saving 10.69 MB of 51.49 MB (11208130/53991762)   
Progress: 22% - Saving 11.07 MB of 51.49 MB (11611090/53991762)   
Progress: 22% - Saving 11.47 MB of 51.49 MB (12027190/53991762)   
Progress: 23% - Saving 11.93 MB of 51.49 MB (12508990/53991762)   
Progress: 24% - Saving 12.38 MB of 51.49 MB (12980570/53991762)   
Progress: 25% - Saving 13 MB of 51.49 MB (13628810/53991762)      
Progress: 26% - Saving 13.53 MB of 51.49 MB (14186530/53991762)   
Progress: 27% - Saving 14.13 MB of 51.49 MB (14820170/53991762)   
Progress: 28% - Saving 14.59 MB of 51.49 MB (15299050/53991762)   
Progress: 29% - Saving 15.12 MB of 51.49 MB (15859690/53991762)   
Progress: 31% - Saving 15.8 MB of 51.49 MB (16572170/53991762)    
Progress: 32% - Saving 16.42 MB of 51.49 MB (17220410/53991762)   
Progress: 33% - Saving 17.03 MB of 51.49 MB (17859890/53991762)   
Progress: 35% - Saving 17.85 MB of 51.49 MB (18715450/53991762)   
Progress: 36% - Saving 18.53 MB of 51.49 MB (19430850/53991762)   
Progress: 37% - Saving 19.07 MB of 51.49 MB (19997330/53991762)   
Progress: 38% - Saving 19.68 MB of 51.49 MB (20633890/53991762)   
Progress: 40% - Saving 20.36 MB of 51.49 MB (21349290/53991762)   
Progress: 41% - Saving 20.96 MB of 51.49 MB (21982930/53991762)   
Progress: 42% - Saving 21.5 MB of 51.49 MB (22543570/53991762)    
Progress: 43% - Saving 21.96 MB of 51.49 MB (23025370/53991762)   
Progress: 44% - Saving 22.5 MB of 51.49 MB (23593310/53991762)    
Progress: 45% - Saving 23.18 MB of 51.49 MB (24307250/53991762)   
Progress: 46% - Saving 23.79 MB of 51.49 MB (24949650/53991762)   
Progress: 48% - Saving 24.58 MB of 51.49 MB (25770170/53991762)   
Progress: 49% - Saving 25.19 MB of 51.49 MB (26412570/53991762)   
Progress: 50% - Saving 25.79 MB of 51.49 MB (27043290/53991762)   
Progress: 51% - Saving 26.47 MB of 51.49 MB (27758690/53991762)   
Progress: 53% - Saving 27.03 MB of 51.49 MB (28347070/53991762)   
Progress: 53% - Saving 27.43 MB of 51.49 MB (28757330/53991762)   
Progress: 54% - Saving 27.95 MB of 51.49 MB (29306290/53991762)   
Progress: 55% - Saving 28.55 MB of 51.49 MB (29941390/53991762)   
Progress: 57% - Saving 29.23 MB of 51.49 MB (30652410/53991762)   
Progress: 58% - Saving 29.84 MB of 51.49 MB (31286050/53991762)   
Progress: 59% - Saving 30.44 MB of 51.49 MB (31919690/53991762)   
Progress: 60% - Saving 30.97 MB of 51.49 MB (32471570/53991762)   
Progress: 61% - Saving 31.57 MB of 51.49 MB (33108130/53991762)   
Progress: 62% - Saving 32.11 MB of 51.49 MB (33668770/53991762)   
Progress: 64% - Saving 32.71 MB of 51.49 MB (34299490/53991762)   
Progress: 65% - Saving 33.21 MB of 51.49 MB (34825090/53991762)   
Progress: 65% - Saving 33.52 MB of 51.49 MB (35146290/53991762)   
Progress: 66% - Saving 34.16 MB of 51.49 MB (35823730/53991762)   
Progress: 68% - Saving 34.85 MB of 51.49 MB (36542050/53991762)   
Progress: 69% - Saving 35.38 MB of 51.49 MB (37096850/53991762)   
Progress: 69% - Saving 35.78 MB of 51.49 MB (37514410/53991762)   
Progress: 71% - Saving 36.39 MB of 51.49 MB (38153890/53991762)   
Progress: 72% - Saving 36.84 MB of 51.49 MB (38629850/53991762)   
Progress: 73% - Saving 37.39 MB of 51.49 MB (39205090/53991762)   
Progress: 74% - Saving 37.97 MB of 51.49 MB (39809530/53991762)   
Progress: 75% - Saving 38.41 MB of 51.49 MB (40276730/53991762)   
Progress: 75% - Saving 38.86 MB of 51.49 MB (40749770/53991762)   
Progress: 77% - Saving 39.48 MB of 51.49 MB (41402390/53991762)   
Progress: 78% - Saving 40.05 MB of 51.49 MB (41996610/53991762)   
Progress: 79% - Saving 40.7 MB of 51.49 MB (42678430/53991762)    
Progress: 80% - Saving 41.31 MB of 51.49 MB (43314990/53991762)   
Progress: 81% - Saving 41.91 MB of 51.49 MB (43947170/53991762)   
Progress: 82% - Saving 42.38 MB of 51.49 MB (44434810/53991762)   
Progress: 83% - Saving 42.87 MB of 51.49 MB (44948730/53991762)   
Progress: 84% - Saving 43.4 MB of 51.49 MB (45503530/53991762)    
Progress: 85% - Saving 43.94 MB of 51.49 MB (46078770/53991762)   
Progress: 86% - Saving 44.4 MB of 51.49 MB (46557650/53991762)    
Progress: 87% - Saving 44.96 MB of 51.49 MB (47147490/53991762)   
Progress: 88% - Saving 45.45 MB of 51.49 MB (47661410/53991762)   
Progress: 89% - Saving 45.99 MB of 51.49 MB (48222050/53991762)   
Progress: 90% - Saving 46.38 MB of 51.49 MB (48630850/53991762)   
Progress: 91% - Saving 46.98 MB of 51.49 MB (49264490/53991762)   
Progress: 93% - Saving 47.71 MB of 51.49 MB (50026610/53991762)   
Progress: 94% - Saving 48.31 MB of 51.49 MB (50654410/53991762)   
Progress: 95% - Saving 48.85 MB of 51.49 MB (51217970/53991762)   
Progress: 96% - Saving 49.22 MB of 51.49 MB (51615090/53991762)   
Progress: 97% - Saving 49.76 MB of 51.49 MB (52172810/53991762)   
Progress: 98% - Saving 50.21 MB of 51.49 MB (52651690/53991762)   
Progress: 98% - Saving 50.59 MB of 51.49 MB (53048810/53991762)   
Progress: 99% - Saving 51.13 MB of 51.49 MB (53612370/53991762)   
Download of Franz-win32-x64-0.9.10.zip (51.49 MB) completed.
No virus checking built into FOSS Chocolatey.
Checking that 'C:\Users\brand\AppData\Local\Temp\chocolatey\franz\0.9.10-beta\Franz-win32-x64-0.9.10.zip' is the size we expect it to be.
Verifying package provided checksum of '' for 'C:\Users\brand\AppData\Local\Temp\chocolatey\franz\0.9.10-beta\Franz-win32-x64-0.9.10.zip'.
Running 'Get-ChecksumValid' with file:'C:\Users\brand\AppData\Local\Temp\chocolatey\franz\0.9.10-beta\Franz-win32-x64-0.9.10.zip', checksum: '', checksumType: ''
Running 'Get-ChocolateyUnzip' with fileFullPath:'C:\Users\brand\AppData\Local\Temp\chocolatey\franz\0.9.10-beta\Franz-win32-x64-0.9.10.zip'', destination: 'C:\ProgramData\chocolatey\lib\franz\tools', specificFolder: '`, packageName: 'franz'
Extracting C:\Users\brand\AppData\Local\Temp\chocolatey\franz\0.9.10-beta\Franz-win32-x64-0.9.10.zip to C:\ProgramData\chocolatey\lib\franz\tools...
7zip found at 'C:\ProgramData\chocolatey\tools\7za.exe'
Executing command ['C:\ProgramData\chocolatey\tools\7za.exe' x -aoa -o"C:\ProgramData\chocolatey\lib\franz\tools" -y "C:\Users\brand\AppData\Local\Temp\chocolatey\franz\0.9.10-beta\Franz-win32-x64-0.9.10.zip"]
VERBOSE: 
VERBOSE: 7-Zip (A) 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18
VERBOSE: 
VERBOSE: Processing archive: C:\Users\brand\AppData\Local\Temp\chocolatey\franz\0.9.10-beta\Franz-win32-x64-0.9.10.zip
VERBOSE: 
VERBOSE: Extracting  FranzSetup.exe
VERBOSE: 
VERBOSE: Everything is Ok
VERBOSE: 
VERBOSE: Size:       54096664
VERBOSE: Compressed: 53991762
Command ['C:\ProgramData\chocolatey\tools\7za.exe' x -aoa -o"C:\ProgramData\chocolatey\lib\franz\tools" -y "C:\Users\brand\AppData\Local\Temp\chocolatey\franz\0.9.10-beta\Franz-win32-x64-0.9.10.zip"] exited with '0'.
7za exit code: 0
C:\ProgramData\chocolatey\lib\franz\tools\FranzSetup.exe
Running 'Install-ChocolateyInstallPackage' for franz with file:'C:\ProgramData\chocolatey\lib\franz\tools\FranzSetup.exe', args: '', fileType: 'EXE', validExitCodes: '0' 
Installing franz...
Running 'Start-ChocolateyProcessAsAdmin' with exeToRun:'C:\ProgramData\chocolatey\lib\franz\tools\FranzSetup.exe', statements: ' ' 
Elevating Permissions and running ["C:\ProgramData\chocolatey\lib\franz\tools\FranzSetup.exe"  ]. This may take a while, depending on the statements.
Setting RunAs for elevation
Command ["C:\ProgramData\chocolatey\lib\franz\tools\FranzSetup.exe"  ] exited with '0'.
Finishing 'Start-ChocolateyProcessAsAdmin'
franz has been installed.
Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\franz\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '''] exited with '0'.
Calling command ['"C:\WINDOWS\System32\shutdown.exe" /a']
Command ['"C:\WINDOWS\System32\shutdown.exe" /a'] exited with '1116'
Capturing package files in 'C:\ProgramData\chocolatey\lib\franz'
 Found 'C:\ProgramData\chocolatey\lib\franz\Franz-win32-x64-0.9.10.zip.txt'
  with checksum '930E1743A5BBF79AFD7E3D7EEB8B3827'
 Found 'C:\ProgramData\chocolatey\lib\franz\franz.nupkg'
  with checksum 'E41E9380351C91748C9B783EEC6A1CAA'
 Found 'C:\ProgramData\chocolatey\lib\franz\franz.nuspec'
  with checksum '89E9A7B790B8F3706C933F54C71DA506'
 Found 'C:\ProgramData\chocolatey\lib\franz\tools\chocolateyinstall.ps1'
  with checksum '0615CA8E372D8BF730CEF877B59CB8B4'
 Found 'C:\ProgramData\chocolatey\lib\franz\tools\chocolateyuninstall.ps1'
  with checksum '361A82D6EF12A31AAEF79F6DF4FA283D'
 Found 'C:\ProgramData\chocolatey\lib\franz\tools\FranzSetup.exe'
  with checksum '98E1ECFCD222DD806BF99C9D1C529CCD'
 Found 'C:\ProgramData\chocolatey\lib\franz\tools\FranzSetup.exe.ignore'
  with checksum 'BEA07E6D2B8DCE396FE21BAA61B34956'
Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\franz.0.9.10-beta\.files.update".
Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\franz.0.9.10-beta\.sxs".
Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\franz.0.9.10-beta\.pin".
Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\franz".
 The install of franz was successful.

Chocolatey installed 1/1 package(s). 0 package(s) failed.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Exiting with 0
@ferventcoder
Copy link
Member

Perhaps it is something local to you? https://gist.github.com/choco-bot/f7f77974eaf73228e8b71df5d72a00f8

@ferventcoder
Copy link
Member

It even has a silent uninstall string on it.

@ferventcoder
Copy link
Member

I wonder if this is being caused by the same thing that is causing #699

@ferventcoder
Copy link
Member

I think once we fix that, it will fix this as well.

@ferventcoder ferventcoder modified the milestones: 0.9.10, 0.9.10.1 May 1, 2016
@ferventcoder ferventcoder modified the milestones: 0.9.10.1, 0.9.10.2, 0.9.10.3, 0.9.10.4 Jun 17, 2016
@ferventcoder ferventcoder modified the milestones: 0.9.10.3, 0.9.10.4, 0.9.10.5 Jun 22, 2016
@ferventcoder ferventcoder modified the milestones: 0.10.1, 0.10.2 Sep 2, 2016
@ferventcoder ferventcoder modified the milestones: 0.10.2, 0.10.3 Sep 20, 2016
@ferventcoder ferventcoder modified the milestones: 0.10.3, 0.10.4 Oct 3, 2016
@ferventcoder ferventcoder modified the milestones: 0.10.4, 0.10.x Jan 6, 2017
@pauby
Copy link
Member

pauby commented Jul 15, 2021

As this has the Invalid / Not Issue / No repro / Not Implementing label and #699 was closed in May 2016, I'm going to go ahead and close this. If we need to reopen it we can.

@pauby pauby closed this as completed Jul 15, 2021
@TheCakeIsNaOH TheCakeIsNaOH removed this from the 0.11.x milestone Feb 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants