![]() ![]() ![]() Information.UserDomainName='WIN-E5K8TM30719'| Information.Is64BitProcess='True'|Information.IsInteractive='True'| Information.Is64BitOperatingSystem='True'| Information.FullName='choco, Version=1.1.0.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'| Information.ChocolateyProductVersion='1.1.0'| Information.PlatformName='Windows Server 2012 R2'| NotSilent='False'|ApplyPackageParametersToDependencies='False'|ĪpplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|ĪllowMultipleVersions='False'|AllowDowngrade='True'|įorceDependencies='False'|Information.PlatformType='Windows'| Prerelease='False'|ForceX86='False'|OverrideArguments='False'| SkipPackageInstallProvider='False'|PackageNames='xnviewmp.portable'| Input='xnviewmp.portable'|Version='1.3.0'|AllVersions='False'| PromptForConfirmation='False'|DisableCompatibilit圜hecks='False'|ĪcceptLicense='True'|AllowUnofficialBuild='False'| ![]() UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'| SourceType='normal'|Debug='True'|Verbose='True'|Trace='False'|įorce='True'|Noop='False'|HelpRequested='False'| 22:43:32,087 2536 - Configuration: CommandName='install'|ĬacheLocation='C:\Users\Administrator\AppData\Local\Temp\chocolatey'|ĬommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'| NOTE: Hiding sensitive configuration data! Please double and tripleĬheck to be sure no sensitive data is shown, especially if copying 22:43:32,056 2536 - The source 'c:\cached-packages ' evaluated to a 'normal' source type 2 success(es), 0 warning(s), and 0 error(s). 22:43:32,040 2536 - Pending Windows Package Installer SysWow64 = Checked 22:43:32,040 2536 - Pending Windows Package Installer = Checked 22:43:32,040 2536 - Pending File Rename Operations = Ignored 22:43:32,040 2536 - Pending Windows Auto Update = Checked 22:43:32,040 2536 - Pending Component Based Servicing = Checked 22:43:32,024 2536 - Package Exit Code / Exit On Reboot = Checked 22:43:32,009 2536 - Global Configuration Validation Checks: 22:43:31,931 2536 - Removing all pending packages that should not be considered installed. 22:43:31,915 2536 - Sending message 'PreRunMessage' out if there are subscribers. 22:43:31,900 2536 - RemovePendingPackagesTask is now ready and waiting for PreRunMessage. 22:43:31,837 2536 - Received arguments: install xnviewmp.portable -version 1.3.0 -fdvy -execution-timeout=2700 -allow-downgrade 22:43:31,805 2536 - Command line: "C:\ProgramData\chocolatey\choco.exe" install xnviewmp.portable -version 1.3.0 -fdvy -execution-timeout=2700 -allow-downgrade But I can't figure out what I'm doing wrong in Powershell.įeel free to use this script for yourself, by the way.22:43:31,291 2536 - XmlConfiguration is now operational Only the first two lines are different for the VSCode version: $project = "VSCode"Įxtracting and overwriting with 7z GUI works fine. While some files are updated, like Code.exe, which has the new version number, VSCode still shows the old version number and asks me to update. Make a staging folder, download an archive via cURL, extract the archive, then put the extracted contents into the app's actual folder.īut for VSCode, this fails somewhere. Get-ChildItem -Path ".\*" -Recurse | Remove-Item -Recurse Get-ChildItem -Path ".\*" -Recurse | Copy-Item -Destination. Write-Output `n`n"Trying to get file from:" $url Here's the specific script for XnViewMP, which works 100%: $project = "XnViewMP" With VSCode, after running the script, I'm always on the same version as before. I have a script that lets me update any app that is distributed in portable format, and it works. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |