password flags for *.zip
not took by 7z
from Expand-7zipArchive
#5866
Replies: 3 comments 13 replies
-
@ rashil2000 @ niheaven |
Beta Was this translation helpful? Give feedback.
-
powershell crashes: (copy following blocks, paste in powershell) cd $env:DUF\scoop\apps\qipress\1.077.2\
$spf = "$env:DUF\scoop\apps\scoop\current"
. $spf\lib\decompress.ps1
. $spf\lib\core.ps1 Expand-7zipArchive .\qipressportable_password0000.zip -Switches '-p0000' i tried
![]() |
Beta Was this translation helpful? Give feedback.
-
this is continuing happening manifest used
{
"$schema": "https://raw.githubusercontent.com/ScoopInstaller/Scoop/master/schema.json",
"description": "Display Real-Time Keystrokes and Mouse-Clicks on Screen",
"homepage": "http://aalapshah.in/qipress",
"license": "Shareware",
"shortcuts": [
[
"QiPress.exe",
"QiPress"
]
],
"pre_install": "Expand-7zipArchive \"$dir\\$fname\" -Switches \"-p0000\"",
"notes": "CheckVer scraps website, is unreliable & might show outdated number.",
"checkver": {
"url": "http://aalapshah.in/qipress",
"regex": "<div class=\"field--label\">Version</div>\\s*?<div class=\"field--item\">([\\d.]+)</div>"
},
"autoupdate": {
"url": "http://aalapshah.in/download/qipressportable_password0000.zip"
},
"version": "1.077.3",
"url": "http://aalapshah.in/download/qipressportable_password0000.zip",
"hash": "2541222610927098dc0ab96603b288707e61cd4014862fb20e8f4bde611563ea"
} qipress.install.scoop.stuck.password.VSCodium_T3bfBqaHkK.mp4lack of comments support in json-manifest files make rapid trials while writing them extremely cumbersome & tedious 😭 |
Beta Was this translation helpful? Give feedback.
-
hi!
title(s):
*.zip
not took by7z
fromExpand-7zipArchive
7z
fromExpand-7zipArchive
details
i am trying to create manifest for personal use.
the downloaded file is a .zip file.
and for some reason, it seems that the switches from
Expand-7zipArchive
are not reaching7z.exe
and hence, it is failing on password.Following is what i put in there in the manifest:
The
$fname
is inspired frominstaller.script
at App-Manifests scoop wikiAnd
nirlauncher
seems to be only manifest using the passwords switch i.e. using7z -p
.logs
Anyhow, on running
scoop install <app>.json
it's always resulting in same7zip.log
in the<app>\<original_ver>
dir:Details
whereas on manually running explicit
7z x ... -p0000
command it succeeded with this output on CLI:Details
I also tried to isolate the
scoop/lib/decompress.ps1
Expand-7zipArchive
function call as instructed in answers here: SO: q/1405750, but it failed as the context or say global config vars were not available to it:Details
versions
Beta Was this translation helpful? Give feedback.
All reactions