What will happen if we try to install a software using powershell which has already installed in a server . For an example I already have notepad++ in my server, Now I try to install same notepad++ version in my server using powershell. Then what will be the output?. Besides, Is there a way that I could find whether a software has already installed in server or not.
Powershell silent installation issue
245 Views Asked by Ram Ramesh At
1
There are 1 best solutions below
Related Questions in POWERSHELL
- PowerShell Linphone Configuration
- How avoid \t being converted to Tab in Powershell
- How do I get my terminal to work in VS Code? Exit Code:2, doesn't allow me to type anything
- Npm command not working in powershell but works in cmd
- Issue with path not being treated as encapsulated when calling cmd /C
- Native command throws error only when I redirect to a variable
- Logic Apps and long running Azure Function (Powershell)
- April fools - PsExec (PsTools)
- How to use nested ForEach-Object
- Batch Script-Powershell MessageBox | How do I set TopMost within PS command line of Batch?
- Execution Stuck at Get-PnPPage if function executed on Button Click
- How can I expand a column from group output?
- How to use expression in regex -replace with capturing group in powershell
- powershell where-object -cnotmatch filter unwanted lines
- How to make Visual Studio 2022 project launch Windows Terminal instead of PowerShell?
Related Questions in WINDOWS-INSTALLER
- Wix bundle of third party exe and new msi cant figure out detect conditions
- create MSI that can be installed in console per user and per machine
- Invoke-command works only when any user is logged (msi install)
- Windows installer silently skips over component marked as 'Local'
- Customizing the Behavior of the BrowseDlg in WiX to Use a Custom Dialog for Invalid Directories
- Unable to format string in desired format - WiX
- Creating a Desktop Version of a Web Application (NextJS TypeScript Golang Echo)
- wix toolset radio button condition
- Creating an Installer Wizard
- Using msiexec on unattend.xml as SynchronousCommand but it run as asynchronous
- How to protect MSI installer digital signature from tampering
- I finished writing the code for an Android application, and it was in Python kivy, and while converting it to exe, this problem appeared
- Windows Installer Issue: Files Not Replaced After Major Upgrade - Seeking Assistance and Clarification
- WinAPI / WIX - How to detect if the MSI installer is running on ARM64 or x86?
- 'The cabinet file media1.cab required for this installation is corrupted and cannot be used ' in dowloading Node.js
Related Questions in EXE
- How to request administrator rights?
- Wix bundle of third party exe and new msi cant figure out detect conditions
- Unable to run get .exe file from assembly NASM
- Combining Dependent DLL Files with Executable using windeployqt
- How do i convert a typescript nodejs project into a single executable exe
- Exe file missing icons/images on Network Drive
- Change an exe file's compatibility settings with C#
- OAuth implementation with WINUI unpackaged app not working
- Python Kivy project is not getting Converted into portable .exe file
- Converting the Python file (from the Kivi library used in it) to an executable file
- How to send keystrokes to an inactive window
- Cannot include ffmpeg.exe using auto-py-to-exe
- VST SDK Steinberk/ VST3 Project Generator not opening
- Editing the exe program in jetbrains rider avalonia
- Problem executing a JavaFX by double-clicking
Related Questions in REMOTE-SERVER
- Deploying a Spring Boot and Angular application on XAMPP on a different server
- Using Jsch for file transfer from remote to local but file getting deleted on getting input stream
- Connect to Remote servers using SSH failed on Windows 11
- Error in opening a application through command prompt when the application is deployed to remote site
- code doesn't work in PyCharm, but work in remote executing
- How to import from py file when running jupyter notebook on a remote server
- Why can I no longer access an external API when I log out of the remote session?
- Running Remote SSH not exiting
- VSCode Devcontainers Port forwarding doesn't work properly on remote server
- Attach Visual Studio Code to docker Container not working
- VScode/WSL: Could not fetch remote environment & Failed to connect to the remote extension host server(Error:WebSocket Close with status code 1006)
- Modifying an Environment Variable remotely with Powershell
- Why do I not get the same result when I run a TAIL command from console of a remote server as when I run the same command from a script on local svr?
- Ubuntu Server Remote Access - Without Port Forwarding or VPN
- Explorer and Source Control don't refresh automatically when working on remote directory
Related Questions in SILENT-INSTALLER
- Invoke-command works only when any user is logged (msi install)
- Integrate the nsis installer with electron application. But, Desktop application window not open
- Get all CLI parameters/switches from NSIS installer
- InstallShield [PUBLIC] property passed to MSI on silent install?
- How to automatically install SqlLocalDB after installing my C# app
- How to make a self-extracting package that can run a batch script as admin after the extracting?
- Running macOS pkg installer silently inside other pkg installer
- Inno Setup override default settings for /SUPPRESSMSGBOXES
- In Wix installer InstallCondition and InstallCommand do not work correctly together
- Inno Setup - Get extraction progress of 7z archive
- Why my silent installation of SQL express 2019 getting error?
- PowerShell Start-Process doing only partial installation
- How to SILENTLY install WiX Toolset Build Tools v3.11?
- Silent installation of mysql-client in a debian container
- How to Install a Suit/Advance UI setup.exe silently in InstallShield
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
There are many kinds of installers, but most add records in the Add / Remove list of programs, but there are no guarantees. Here is C++ code to scan the registry and check via WMI. You can use scripts instead of course, but it is not an exact science to find what is installed - some installers are very custom and non-standard and follow few guidelines.
Registry Entries:
MSI Packages:
For MSI packages there are ways to check whether the exact same version or a related version is installed. If you have the product code of the MSI, you can simply check whether it is installed like this:
Longer sample linked here.
You can find the product code for an installed MSI using several approaches: How can I find the product GUID of an installed MSI setup?
If you have the upgrade code for a family of MSIs you can use the RelatedProducts method to find out whether a related product is installed:
How can I find the Upgrade Code for an installed MSI file?. You can get the upgrade code for an MSI due to be installed by looking in the Property table using Orca.
Pragmatic Approaches:
One option is to identify a key file from each installation and check for its existence using any language you want - scripting will do.
The above script snippet from this rant on how to find the installed VCRedist version.
Link: