Questions tagged [uninstallstring]
29 questions
0
votes
1 answer
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-98A80A25317C}
After desired output , I will assign…

Arbelac
- 1,698
- 6
- 37
- 90
0
votes
1 answer
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 I want to execute it with the parameters /quiet and…

user18209625
- 139
- 2
- 15
0
votes
1 answer
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.
$Programs = $SearchList | ?{$_.DisplayName…

GrayVi02
- 15
- 4
0
votes
3 answers
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 indexOfExe =…

Roy
- 1
- 1
- 1
0
votes
0 answers
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 uninstall.exe that will delete app.exe file and delete…

Umar Shahzad
- 1
- 1
0
votes
1 answer
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 = $FileArg = $NULL
try
{
if (Test-Path -Path…

Koobah84
- 185
- 2
- 12
0
votes
2 answers
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:\Program…

JAY prakash
- 3
- 1
- 4
0
votes
0 answers
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 mindsparktoolbarkey="DailyHomeGuide_bg"…

mdinh1
- 31
- 1
- 3
0
votes
1 answer
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 Guid}
how it is possible in silent mode

Anoop Mishra
- 1,005
- 2
- 10
- 33
0
votes
1 answer
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 the uninstall string of the specific application…

Sakhawat
- 405
- 2
- 6
- 20
0
votes
1 answer
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” parameter so a silent uninstall can be done. I can run…

user3583386
- 1
- 1
- 1
- 3
0
votes
1 answer
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 adding a custom action that executes after…

Ries
- 2,844
- 4
- 32
- 45
0
votes
1 answer
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 figuring out what would be in file name, and what…

Ruan
- 3,969
- 10
- 60
- 87
-3
votes
1 answer
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 this problem . Any advice would be helpful