Giter VIP home page Giter VIP logo

Comments (4)

brianlala avatar brianlala commented on June 10, 2024

Let me try to repro and will let you know, thanks.

Brian

from autospsourcebuilder.

egor-yudkin avatar egor-yudkin commented on June 10, 2024

Same issue here, I guess.
OOS 2019, October 2021 patch.
Script version 2.0.3.0.

The issue is with a logic that was applicable for early OWA 2013 and 2010 patches, which were ZIP files with EXE extension. The script simply adds .ZIP extension and then runs a custom Expand-Zip function on it.
Expand-Zip function fails to extract anything, because the file is not a proper ZIP archive, and it fails silently.
Then, on the next step script tries to slipstream content of patch file into OOS installation folder. This fails with error mentioned by @beldara, except it's now at line 951 char:13. It tries to extract from .EXE patch file, but the file has .ZIP extension at this point.

Solution, I guess, would be to treat OWA 2013 patches after August 2014 and all 2016/2019 differently - there is no need to work with ZIP in this case. OWA 2010 is a bit more tricky since MS didn't just stop releasing "ZIP-renamed-to-EXE" files after certain patch.

edit1: I realized this mess applies to OWA 2010 as well.

from autospsourcebuilder.

egor-yudkin avatar egor-yudkin commented on June 10, 2024

Pull request #11 has a fix for this. @brianlala, do you think you can review and merge it anytime soon?

from autospsourcebuilder.

brianlala avatar brianlala commented on June 10, 2024

It will take me some time to review as the original PR is over 5 years old now and code has changed significantly since then (I can't even do a compare because it thinks the .ps1 is a binary file). I'm on vacation currently and will revisit next week.

from autospsourcebuilder.

Related Issues (20)

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.