33 questions
0
votes
1
answer
71
views
wix - Uinstall from Apps & Features does not show the Maintenance dialog
I am using wix toolset v4 to build an MSI that is using the built-in dialog WixUI_InstallDir.
When i double click on the MSI installer to uninstall the program, it does open the Maintenance dialog ...
-2
votes
1
answer
45
views
How to get a custom program to run when uninstall from Windows is chosen?
I've had many problems with InstallShield and all of the baggage that goes along with all of the .msi installers. So I've been toying with the idea of writing my own installer framework. One of the ...
0
votes
0
answers
152
views
Powershell script to uninstall a software when running via SCCM does not identify the registry keys of that software
I'm trying to uninstall a software using this code
$path = "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{Product-cod-1}"
function Uninstall_SW {
Write-Host "Starting ...
0
votes
1
answer
43
views
Start-Processes with multiple Paths in Variable
The various paths from the variable "$EXECleanUninstallStringsX86" are always transferred all at once and not individually. Although two processes are started for two paths, the paths of ...
-3
votes
1
answer
166
views
Uninstall applications including those not installed from MSI with Python
I want to uninstall any application in my system using python
I tried using wmic command but it only shows few applications in your system not all of them . I am trying but not getting solution for ...
0
votes
1
answer
1k
views
Getting Uninstall string for application from regedit via powershell
I have been getting the uninstall string via below script.
But I am getting an output like this.
MsiExec.exe /I{629388F2-A011-4F5C-A6BF-98A80A25317C}
My desired output:
{629388F2-A011-4F5C-A6BF-...
1
vote
2
answers
10k
views
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 ...
0
votes
1
answer
1k
views
Executing Uninstall String with parameters in Powershell
I get the following uninstall string from the registry:
$uninstallstring = MsiExec.exe /X{123-12323-123213-A6123-123123}"
I can execute this string with:
cmd /c $uninstallstring
That works but ...
0
votes
1
answer
558
views
Attempting to Silently Uninstall Python, but I get the error "You cannot call a method on a null-valued expression."
I am trying to push an uninstallation script org wide to remove python. Because this is happening on the backend, I need it to uninstall silently. What am I doing wrong? Thanks for any help in advance....
4
votes
1
answer
3k
views
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 -...
1
vote
1
answer
2k
views
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&...
2
votes
1
answer
1k
views
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 ...
3
votes
2
answers
5k
views
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 ...
0
votes
0
answers
750
views
How to create uninstall.exe
How to create uninstall.exe for a single self contained app.exe winforms c# project. I am working on a project that is run directly from single app.exe without installation and there should be a ...
1
vote
1
answer
2k
views
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.
...
0
votes
1
answer
119
views
Syntax error with Uninstaller using Powershell
I'm trying to get my universal uninstaller working. Here is my code:
CLS
$Software = "Zoom"
$Filter = "*" + $Software + "*"
$Program = $ProgUninstall = $FileUninstaller =...
2
votes
2
answers
582
views
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 "...
0
votes
2
answers
2k
views
How to Uninstall .exe silently in c++
I have UninstallString and I want to uninstall the program silently so that no user interaction involved.
I have the UninstallString like the following :
C:\Program Files\Notepad++\uninstall.exe
C:\...
3
votes
2
answers
1k
views
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 ...
0
votes
0
answers
4k
views
Uninstalling a program silently - Is there a way to execute rundll32.exe silently via PowerShell?
I'm trying to uninstall a Mindspark program using PowerShell. I was able to see the uninstall string for the program is:
rundll32 "C:\Program Files (x86)\DailyHomeGuide_bg\bar\1.bin\bgBar.dll",O ...
1
vote
2
answers
868
views
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 ...
2
votes
1
answer
3k
views
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 ...
2
votes
1
answer
555
views
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'...
1
vote
1
answer
1k
views
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::...
9
votes
4
answers
67k
views
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 -...
0
votes
1
answer
898
views
Silently uninstall software using its GUID
I want to uninstall my software that only prompt a UAC window and after that it doesn't show any UI.
i am using msiexec.exe to uninstall it. But how can i do it silently....
MsiExec.exe /x{Product ...
0
votes
1
answer
13k
views
Trying to script a silent uninstall with VBScript
I am attempting to write a script to an uninstall of some applications. I have the script working, but every program throws up a prompt when run.
I know that the applications support the “/S” ...
1
vote
1
answer
2k
views
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 ...
0
votes
1
answer
1k
views
Uninstall program using System.Diagnostic.Process and its UninstallString in C#
Im Using this Code (Tried this too) To uninstall a program using my Uninstall string in my registry, but there's some errors in the code of the first link.
Im Trying to fix it but I'm having trouble ...
0
votes
3
answers
4k
views
Executing UninstallString using C#
I have a problem to execute uninstallString using process, it won't work in all cases.
I need a generic procedure that will run in any case.
one of my ideas was to parse uninstall string
Code:
int ...
0
votes
1
answer
2k
views
uninstall string
I am developing an desktop based application using VB.NET, similar to add/remove program. everything was working fine until i start working on uninstall feature.
Now what am i doing is that i get ...
0
votes
1
answer
2k
views
Custom uninstaller for a WIX generated MSI
I have an MSI that is being generated from WIX scripts.
My question is similar to this question.
I want to create a custom uninstaller instead of using the default MSI uninstaller.
I am thinking of ...
5
votes
1
answer
4k
views
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 ...