Occasional contributor

Uninstall software created with Installshield without manual intervention. The software is not created an A MSI.

Installshield Forum,

I created an InstallShield installer  as an ".exe" not as an MSI. My goal is to uninstall the software in a script without user input.  I can assign a variable the uninstall string via command below:

$uninstall32 = gci "HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall" | foreach { gp $_.PSPath } | ? { $_ -match $clientSoftwareManu } | select UninstallString

Returns -> "C:\Program Files (x86)\InstallShield Installation Information\{098EBBF6-E9BC-4394-A0E2-E58ECAD542E8}\Swf.Client.Installer.exe" -runfromtemp -l0x0409 -removeonly

Running this string from command line causes an installshield box to display with the message and requires a "yes" or "no" click.

The message is "Do you want to completely remove the selected application and all of its features?"

Is there a method to pipe in "yes" to eliminate manual response?


Labels (1)
0 Kudos