mkht / 7ziparchivedsc Goto Github PK
View Code? Open in Web Editor NEWPowerShell DSC Resource to expand an archive file to a specific path.
License: MIT License
PowerShell DSC Resource to expand an archive file to a specific path.
License: MIT License
I'm trying to use 7ZipArchiveDsc to expand a 7Z file containing a jdk folder but somehow I get this error:
VERBOSE: [MDC-MON01]: [[x7ZipArchive]LogStash] Extracting archive: c:\windows\temp\dsc\logstash.7z to c:\logstash
Access to the path 'C:\logstash\a6e34166-0b36-4f99-b75b-337a3a343e12\logstash\jdk1.8.0_192' is denied.
+ CategoryInfo : NotSpecified: (:) [], CimException
+ FullyQualifiedErrorId : System.IO.IOException,Set-TargetResource
+ PSComputerName : mdc-mon01.gameloft.org
Expanding this archive manually (ie 7z.exe x logstash.7z) works normally.
can I expand zip like this
Get-Item -Path .\t.7z | Expand-7ZipArchive -Destination .\ok
Azure CIやAppVeyorではIntegrationテスト時にAccess deniedが発生してしまう
ローカルでは成功するのになぜCIで失敗するのか、原因がわからない
I have an Oracle package that I am trying to extract and it fails on one file, which has over 255 chars in length for the full path. Yes I could probably trim down the path to extract to, but that will not be future proof.
Error I get:
[[x7ZipArchive]x7ZipArchive_b9c366ec-18c4-4d1e-86ed-feca54f0e966_202202251202489510975] The file
"client\stage\Components\oracle.jdk\1.8.0.201.0\1\DataFiles\Expanded\filegroup3\lib\missioncontrol\plugins\com.jrockit.
mc.console.ui.notification_5.5.2.174165\com.jrockit.mc.console.ui.notification_contexts.xml" in the archive is not
exist in the destination folder
LZH形式はCRC16チェックサムを使用している
We are facing a problem when a large zip-archive (> 2GB) is extracted on the target machine. The error message indicates an overflow. This is the error message:
PowerShell DSC resource x7ZipArchive failed to execute Test-TargetResource functionality with error message: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Cannot convert value "2179746370" to type "System.Int32". Error: "Value was either too large or too small for an Int32."
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.