GithubHelp home page GithubHelp logo

7ziparchivedsc's People

Contributors

mkht avatar

Stargazers

 avatar

Watchers

 avatar  avatar

7ziparchivedsc's Issues

Error with 7Z containing jdk

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.

use pipeline

can I expand zip like this
Get-Item -Path .\t.7z | Expand-7ZipArchive -Destination .\ok

Path of over 260 characters is not supported

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

ANSI issues in PowerShell 7

While the output of Expand-7ZipArchive is correct in PowerShell 5.1, the same cannot be said for the latest stable of PowerShell, which is currently 7.4:

bug

This is with the default terminal included in Windows 10, no special terminal app or anything.

Problem with Int32 value in Test-TargetResource

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."

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.