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
- How to ignore warning errors?
- Data execution plan ended with error on DB restore
- Powershell Split a file name
- PowerShell EWS Save as for e-mails
- Run SQL Server Update Statement With Powershell
- using a global variable in multiple functions powershell
- Heisenberg was here: Aliases for PowerShell parameters only appear in cmdlet help when you do NOT document the cmdlet
- PowerShell Script to add newuser
- Why is PowerShell "not recognized" when installing Chocolatey?
- Enumerate a PSCustomObject as key/value pairs
- Unable to start program outside Windows folder
- Ask for creds only if some specified
- PowerShell 3 Parameters
- i can't ping a computer but remoting into it works (powershell enter-pssession)
- Feeding Variables in new-aduser -path option in powershell
Related Questions in WINDOWS-INSTALLER
- How can I install an MSI using python's subprocess, passing an install directory containing a space?
- Upgrading MSI throwing 'method not found' error
- Windows installer - run a subsequent time, select "modify" and run specific steps
- Single Package Authoring
- WiX - How to use a config file to decide which MSI to run?
- Want to create mysql user in installation with full Privileges In NSIS
- How to change Install button display text conditionally
- error of updating an C# web service application by accessing a URL from MS installer command "msiexec" in C# VS 2010
- Service dependencies are causing my wix msi to force a reboot on uninstall
- Running msi causes “module failed to register” in 32bit win7,but works in 64bit win7
- Change the installation path with msi API
- After installation of website it changes Application Pool of web application that follows it.
- Getting strange errors when installing visual studio 2015 community rc
- Creating a silent installer for a MSI
- install msi with a product code through msiexec
Related Questions in EXE
- How to get the exe path in nsis script?
- *.exe from ruby file
- How can we add custom logic while installing exe created by installshield
- How to show the console (command line) when using .exe that was made with cxFreeze?
- Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings'
- py2exe, executable: How to pack data into single file?
- Determine physical file address of directory RVA in PE file
- Create .exe file for java application (with jvm)
- Vuforia augment reality windows
- Can I get assembly code of an exe file using java?
- Continuous deployment and running with TeamCiy
- Eclipse Java project to runnable EXE
- Create a EXE File or BUTTON C#
- Batch File Return Codes with executables
- How to generate serial key for .exe file in WPF
Related Questions in REMOTE-SERVER
- To connect to Remote Desktop connection via local system
- Python Fabric - erasing my remote file when it should be copying to it
- How to register an installation remotely?
- curl php response 204 to download zip file
- Laravel remote server error 500, site doesn't works
- sshd@QNX: Could not load host key / Missing privileges separation
- Error:1722 Getting session names
- How do I issue a remote copy command?
- Stop SQL Triggers on Remote Server
- Netbeans extern connection
- XMPP remote server connection issue iOS
- Unable to establish SSL connection to MySQL server
- Can't connect to remote MySQL server on Windows
- How can I connect to a server using raw and sending string command to a server with C#
- COM+ activation on a remote server with partitions in C#
Related Questions in SILENT-INSTALLER
- Creating a silent installer for a MSI
- Running Innosetup installer in Windows 10
- How to abort Inno Setup installation in /VERYSILENT mode from [Code] section?
- Deploy IBM Client Access V7r1 Silently
- Program for Chocolatey package not have silent installation mode
- Extract MSI file from Flash Player 13 instalation exe file
- Auto-enabling a bho in internet-explorer
- How to install Node.js in custom folder silently on Windows?
- How to ignore optional prerequisites when installing Oracle database in silent mode?
- C# code to run my installer.exe file in silent mode, in the background,
- How to run silent installer in C#
- Squid proxy - Windows silent/automated installation
- A question about writing a background/automatic/silent downloader/installer for an app in C#
- Creating a response file for msi installer
- Making a silent installer to copy files from file to C:\Program Files\... and making shourtcut in start menu
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 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: