Comments (6)
How did you install it? You need to either use the MSI installer, or if using WMF you can use the install-package
or install-module
cmdlets. Either hook up the path. If you use the ZIP, you need to either extract it to your Modules directory or set the PATH yourself. ZIPs can't do that.
from psmsi.
Sorry, I see you did use the MSI installer from the title. Note that when any installer (batch, Windows Installer, etc.) update environment variables like PATH
command shells (at least built-in ones like cmd.exe and things like powershell.exe that run within cmd.exe) do not automatically pick up those changes. You need to restart the environment. That should work and, so far as I know, has for anyone I know using it.
If not, please reopen this bug and share out what your PSMODULEPATH and PATH environment variables expand to, ex:
$env:PATH
$env:PSMODULEPATH
from psmsi.
It does not work. My env:
PS C:\Users\Administrator> $env:PATH %SystemRoot%\system32\WindowsPowerShell\v1.0\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System 32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;D:\Python27;D:\Python27\Scripts;C:\Us ers\Administrator\AppData\Local\Programs\Windows Installer PowerShell Module
PS C:\Users\Administrator> $env:PSMODULEPATH %PSMODULEPATH%;C:\Windows\system32\WindowsPowerShell\v1.0\Modules\;C:\Users\Administrator\AppData\Local\Programs\Window s Installer PowerShell Module\
from psmsi.
@alex-chan What specifically does not work? Your environment looks right.
It's better you stop using the MSI anyway. Just use install-module msi
(or install-package msi
, but it has a wider set of sources it queries) and everything works fine.
from psmsi.
Hi, we encounter a similar case, and we resolve it by "import" module in script. Because on some version of Powershell, it does not import all available module automatically. On some win7 system, it has this kind of powershell.
I don't know if my issue is related, just for your information.
from psmsi.
Not an issue with this module, but a limitation of older versions of PowerShell that some automatically import.
from psmsi.
Related Issues (19)
- Installer/Artifacts HOT 2
- How do I install psmsi? HOT 8
- Unable to find package MSI: How to install? HOT 8
- README doesn't say where to get binaries HOT 1
- Cannot load in PowerShell 6 (PowerShell Core) HOT 3
- Remove-MSISource cannot remove a path if it does not exist HOT 1
- WIN7 loads module, but several cmdlets missing
- The process cannot access the file 'C:\Program Files\WindowsPowerShell\Modules\MSI\3.2.26.21626\Microsoft.Deployment.Compression.dll' because it is being used by another process. HOT 1
- Module is not loaded automatically in PowerShell Core
- How to import from path? HOT 7
- set target/destination not effect with install-msiproduct HOT 2
- Unable to load module in PowerShell v2 HOT 6
- Unable to install directly from URL HOT 1
- get-msisummaryinfo : A share violation has occurred HOT 6
- Compare-MSIPackage
- services HOT 1
- Support asynchronous install of MSI to allow cancelling of install.
- Can not download installer HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from psmsi.