Giter Club home page Giter Club logo

Comments (6)

SpecterShell avatar SpecterShell commented on July 20, 2024

That switch will not be used unless you specify the install destination by using the -l or --location switches from WinGet.
In user scope the program will be installed to %LOCALAPPDATA%\Programs\AutoHotkey by default.

from winget-pkgs.

akulbe avatar akulbe commented on July 20, 2024

from winget-pkgs.

Trenly avatar Trenly commented on July 20, 2024

Shouldn’t the application still end up on $PATH though?

WinGet doesn’t have the ability to add programs to PATH unless they have the installer type portable - which are loose binaries that don’t have an installer. In all other cases, it is up to the application's installer to update PATH.

from winget-pkgs.

akulbe avatar akulbe commented on July 20, 2024

@Trenly Question. If the installer's default action is to create C:\Program Files\AutoHotkey\ and put the relevant files there, why wouldn't installing the application with winget do the same thing?

from winget-pkgs.

Trenly avatar Trenly commented on July 20, 2024

@Trenly Question. If the installer's default action is to create C:\Program Files\AutoHotkey\ and put the relevant files there, why wouldn't installing the application with winget do the same thing?

As @SpecterShell mentioned, the installer puts the files in different locations depending on if itsinstalling in user scope or machine scope. If you don’t specify --scope machine, the installer will generally be executed in user scope. If you're an admin, running the installer you downloaded yourself will likely default to the machine scope

from winget-pkgs.

stephengillie avatar stephengillie commented on July 20, 2024

I tested this with #153765 and wasn't able to verify this behavior. This package installs normally (into \Program FIles) on a Windows 10 VM:

image

The application reports missing a configuration file, but this might be normal program operation:
image

Should this be tested in another way?

from winget-pkgs.

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.