Questions tagged [uninstallstring]

29 questions
6
votes
4 answers

Apache 2.4 - remove | delete | uninstall

I have been searching the web for quite some time, but I could not found how to completely remove the apache 2.4 . Using : Windows 7 c:\apache24\ I've tried all commands, but nothing works. httpd -k shutdown httpd -k stop httpd -k uninstall keep…
Sahar Millis
  • 801
  • 2
  • 13
  • 21
5
votes
1 answer

HowTo: Parse the UninstallString reg entry

In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ is the list of installed programs in my machine (at least most of them). There, there's a String Value called UninstallString which has what you need to run in order to…
sebagomez
  • 9,501
  • 7
  • 51
  • 89
4
votes
1 answer

Silently Uninstall NVIDIA Display Driver using Uninstall String

I can uninstall NVIDIA Graphics Driver from PowerShell but I am unable to figure out how to do it silently. The normal code looks like this: #Get Uninstall String from Registry $us = Get-childItem -Path…
Ali Furqan
  • 45
  • 5
3
votes
2 answers

Extract GUID from UninstallString

i want to have an overview of any software which is installed on a Windows system (or at least all software that is registering itself in Windows). With Powershell i am able to extract the data into a gridview and after filtering there into a csv…
Sascha
  • 45
  • 7
2
votes
1 answer

Unable to remotely uninstall Google Chrome using registry key without manual acceptance

Get-Package "Google Chrome" | % { & ($_.Meta.Attributes["UninstallString"] -replace '"') /S This command uninstalls other software except Google chrome , provider is programs. I have tried many things but this does not work. Please help
2
votes
2 answers

How to uninstall MSIs using the Uninstall Path

I am trying to get the uninstall paths of a set of applications and uninstall them. So far i an get the list of uninstall paths. but i am struggling to actually uninstall the programs. My code so far is. $app = @("msi1", "msi2", "msi3",…
Dave
  • 29
  • 1
  • 7
2
votes
2 answers

Update ProductName of existing Product

I created an exe installer using Inno Setup and I packaged it in an MSI using MSIWrapper. In order to do that I inserted the following lines in the iss (InnoSetup) file: [...] #define MyAppName…
2
votes
1 answer

Executing UninstallString in Inno Setup

My requirement is to check for previous installation of SQL native Client 11, before installation and uninstall the previous version. I have been able to check for the previous installation with no problems, however, I am unable to uninstall the…
2
votes
1 answer

Can an installed application's Programs and Features display name be localized?

Is it possible for an installed Windows application to localize the display name? If yes, I assume that changes what's stored in the DisplayName registry key for this application. I'm asking because I'm interested in how you'd query a potentially…
Anthony Mastrean
  • 21,850
  • 21
  • 110
  • 188
1
vote
2 answers

Get several Uninstall Strings from Registry with Powershell

I want to uninstall a program. There can be several versions of this program installed at the same time. I want to uninstall them with the uninstall string from the registry. I need to get the subkeys of…
user18209625
  • 139
  • 2
  • 15
1
vote
1 answer

Uninstall program using get-process and uninstallstring with call operator (&)

I'm trying create a uninstall script to uninstall any program tha I want. I was using this script: get-package -Name "XXXXX" | Uninstall-Package But I saw that when the "provideName" attribut is "Program" it not working, so I use this. $packageArray…
1
vote
1 answer

Powershell to Loop through each user profile to get Version number of software and then create uninstall string and run the command

Hoping someone can give me an idea on how to proceed with the remaining script. The script is to get Version number of Installed Chrome from that build Build a string for the uninstall as shown below. I'm stuck on the second part, fine on getting…
Yubz
  • 25
  • 4
1
vote
2 answers

Run MsiExec.exe from c++? Windows

MsiExec.exe /X{9BA100BF-B59D-4657-9530-891B6EE24E31}; I need to run this command through my cpp project in main. This is a new version of a piece of software that needs to remove the older version before installing. I want to do this using the…
1
vote
1 answer

NSIS uninstaller doesn't run un.onInit

In my .nsi file I have the following logic in the un.onInit function: Function un.onInit MessageBox MB_YESNO "This will uninstall. Continue?" IDYES checkRunning checkRunning: FindProcDLL::FindProc "app.exe" IntCmp $R0 1 0 notRunning …
Gooey
  • 4,740
  • 10
  • 42
  • 76
1
vote
1 answer

Uninstall String from Registry Always the Same?

I just need a little reassurance here. I am creating a basic C# program that, among other things, will uninstall and reinstall the most current version of a program (I can't build this functionality into the program itself). The way I am doing it is…
KJ3
  • 5,168
  • 4
  • 33
  • 53
1
2