I copied the uninstall command from the software record:

RunDll32 C:\PROGRA~2\COMMON~1\INSTAL~1\PROFES~1\RunTime\11\00\Intel32\Ctor.dll,LaunchSetup "C:\Program Files (x86)\InstallShield Installation Information\{E1020C75-AA99-4740-9B3F-8273D76C413A}\setup.exe" -l0x9 -removeonly

I tried running that command right on the computer and it worked but it required me to click YES. Do you have any idea if i can add a parameter to make it silent, or to send a 'y' when it runs?
1 Comment   [ + ] Show Comment

Comments

  • You can try to add '-s' to the command line to make it silent. If this doesn't help you can try to create a reponse file (run this command line with -r switch) and then run the removal with created .iss file.

    http://www.itninja.com/blog/view/installshield-setup-silent-installation-switches
Please log in to comment

Answers

1
Can you tell me the entry of the software in "Programs and Features"? So that I can give you a script to uninstall any software by using that entry.

save the below script as .vbs file after changed the underlined name by your software name.

On Error Resume Next
const AppName = "VLC media player"

const HKEY_LOCAL_MACHINE = &H80000002

Set WshShell = WScript.CreateObject("WScript.Shell")

'First, find the GUID 
strComputer = "."
Set objReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\"&_ 
    strComputer & "\root\default:StdRegProv")
strKeyPath = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"
objReg.EnumKey HKEY_LOCAL_MACHINE, strKeyPath, arrSubKeys

For Each subkey In arrSubKeys
    InstalledAppName = ""
    InstalledAppName = WshShell.RegRead("HKLM\" & strKeyPath & "\" & subkey & "\DisplayName")

    If InStr(InstalledAppName, AppName) > 0 then
RawGUID = ""
GUID = ""
        RawGUID = WshShell.RegRead("HKLM\" & strKeyPath & "\" & subkey & "\UninstallString")
        GUID = Mid(RawGUID, instr(RawGUID, "{"), 38)
If GUID<>"" then
   ' Found matching GUID, Uninstalling...
       WshShell.Run "msiexec /x " & GUID & " /qn"
   Exit For
End If
    End If
Next

Answered 03/30/2016 by: rajumaddu
White Belt

  • Wow. Thanks. I will give it a try
Please log in to comment
Answer this question or Comment on this question for clarity