Score:0

Desktopinfo stuck in Powershell

kr flag

I packaged desktopinfo with chocolatey, it can install and will show me app on the upper right side of my screen, however, in powershell, it stuck at "installing desktopinfo". Here is my install.ps1 code

$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"

$fileLocation = Join-Path $toolsDir 'DesktopInfo.exe'

$packageArgs = @{ packageName = $env:ChocolateyPackageName unzipLocation = $toolsDir fileType = 'EXE' #only one of these: exe, msi, msu #url = $url #url64bit = $url64 file = $fileLocation validExitCodes= @(0, 3010, 1641) Checksum = '89DB341406ECFEE7AFD8DB47F0D23E3345637F98B4D083A52325020954118CDC' ChecksumType = 'sha256'

softwareName = 'Desktopinfo*' #part or all of the Display Name as you see it in Programs and Features. It should be enough to be unique

}

Install-ChocolateyInstallPackage @packageArgs # https://chocolatey.org/docs/helpers-install-chocolatey-install-package

In addition, is there a way or code missing for it to be added to startup, so everytime PC starts, it will automatically show details?

Any input will be highly appreciated.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.