Ninite | A PowerShell Client for Ninite | Command Line Interface library
kandi X-RAY | Ninite Summary
kandi X-RAY | Ninite Summary
This is a small Ninite client written in PowerShell. You can choose the programs, the installer will be downloaded from the Official Website and then run directly.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of Ninite
Ninite Key Features
Ninite Examples and Code Snippets
Community Discussions
Trending Discussions on Ninite
QUESTION
Hey guys I need some help, is there a way to create a .bat script that can install multiple applications with out having to specify the user.
For example I have this:
"C:\Users\User\Downloads\Setup\ChromeSetup.exe" /S /norestart "C:\Users\User\Downloads\Setup\readerdc64_en_xa_crd_install.exe" /S /norestart "C:\Users\User\Downloads\Setup\SlackSetup.exe" /S /norestart "C:\Users\User\Downloads\Setup\TeamViewer_Setup_x64.exe" /S /norestart
Which works for the specified user but I have multiple machines I want to run this on locally and its just kind of a pain to have to go back in and change the user for each install. Is there a way to make this install to any user without having to specifically refer to the user?
Also I cannot use Ninite or other programs due to some of our other software not being available for those tools.
...ANSWER
Answered 2022-Apr-03 at 20:52The %USERNAME%
environment variable returns the current user, so you can just replace each Users\User
with Users\%USERNAME%
.
QUESTION
CCleaner contains a tool to list and then uninstall programs on your PC. This list seems to include applications in a more comprehensive way than a walk through the uninstall registry keys. One example of this, is Atom (the Open Source text editor). This program does not appear in the uninstall registry, and is installed in the AppData folder of the user (I'm not aware of a way to install this for all users without building a custom package).
I wrote a script that installs and updates certain software packages on a regular basis. This makes it easy for me to keep them up to date without visiting a dozen or so websites every week or building a custom installer every time I want to update them (they don't auto-update like Chrome or Firefox). Therefore, I need a list that I can create dynamically and use to check for updates and if I need to execute the installer.
So my question is: How do I emulate what CCleaner does when it creates its list of programs for uninstalling -- programmatically? I can execute the GUI and navigate to the uninstall tool and click "save to text file" but that isn't dynamic. Any answer that allows me to capture (in a Powershell script) the same list of applications that CCleaner generates in the uninstall tool will be acceptable.
...ANSWER
Answered 2020-Nov-20 at 16:16You can use Get-Package
to list installed programs as well. It will list Atom. You may need to combine the registry approach with Get-Package
in the case it doesn't show all.
QUESTION
Ok, So I am working on the powershell remote deployment of software to ADUsers. I have remote access to the computer and all, no problems there.
Right now I am at the point where I have a exe file from Ninite to just install 7zip onto the client pc just to see when it works so i can start deploying some bigger programs to it.
The guide I have found to help me deploy out the software for now looks like this:
...ANSWER
Answered 2020-Nov-18 at 12:56When I do run this code, I get the error:
A positional parameter cannot be found that accepts argument 'Installer.exe'.
You'll want to use quotation marks to qualify path names with spaces in them:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install Ninite
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page