Coder Social home page Coder Social logo

Comments (6)

sharpjs avatar sharpjs commented on September 26, 2024 2

@w3lld0ne: I discovered it. I have WinGet configured to prefer per-machine installs. When I change that to per-user, WinGet installs WinObjEx64 from a non-elevated terminal without error.

I think this is bug/gotcha in WinGet's install-from-ZIP support: WinGet would need to self-elevate to create the machine-scope install directory in $env:ProgramFiles\WinGet\Packages, but it does not. This is plausible, as for MSI- and EXE- based installs, the installer does the elevation, not WinGet. The appropriate place for me to report this, then, is microsoft/winget-cli, not here. Apologies for the false alarm and wasted time.

For reference, my WinGet configuration includes:

{
    "installBehavior": {
        "preferences": {
            "scope": "machine" <-- what caused the problem
        }
    }
}

from winobjex64.

hfiref0x avatar hfiref0x commented on September 26, 2024

WinObjEx64 doesn't require elevation to start. Show properties of this file please.

from winobjex64.

sharpjs avatar sharpjs commented on September 26, 2024

@hfiref0x: WinObjEx64 does not fail. The WinGet install is what fails.

from winobjex64.

hfiref0x avatar hfiref0x commented on September 26, 2024

I've never produced any winget installs for this program and have no idea who did that. Guess this is not my fault.

from winobjex64.

sharpjs avatar sharpjs commented on September 26, 2024

Fair enough. Yeah, looking at the manifests, it was @w3lld0ne, not you. I'll close this and see if there's any way to raise the issue with @w3lld0ne or just submit a PR for it myself. Sorry for the bother.

from winobjex64.

w3lld0ne avatar w3lld0ne commented on September 26, 2024

@sharpjs this seems like not an issue with the package (it installs perfectly fine for me on clean VM from unelevated terminal), but with your WinGet instance or smth.

from winobjex64.

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.