Salesforce

Is it possible to do silent uninstall of the WebClient application

« Go Back

Information

 
TitleIs it possible to do silent uninstall of the WebClient application
URL NameP97474
Article Number000149532
EnvironmentProduct: Progress
Version: 9.x
Product: OpenEdge
Version: 10.x, 11.x
OS: All supported platforms
Question/Problem Description
Is it possible to do silent uninstall of the WebClient application
How to perform the silent uninstall of the WebClient application
Steps to Reproduce
Clarifying Information
Error Message
Defect Number
Enhancement Number
Cause
Resolution
Currently it is not possible to perform the silent uninstall of the WebClient application using the WebClient utilities.
Workaround
To uninstall WebClient Silently

Since the WebClient installer is based on InstallShield, it is possible to use InstallShield's "silent installation" feature to replay a previously-saved installation or uninstallation script. The idea to uninstall silently is to
  1. Save the uninstall script during an interactive session on a development or test machine then
  2. Deploy the saved script on production systems to perform the uninstall
Steps to record the iss file:

1. Install WebClient on a test (development) machine

2. Open the registry editor and go to the branch: 

32-bit WebClient install on 32-bit Windows or 64-bit WebClient install on 64-bit Windows: 
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\{CLSID}
32-bit WebClient install on 64-bit Windows:
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{CLSID}

3. Search for "PSC WebClient" and find the key containing the information for the version of WebClient that is being considered.
Look at the value for "UninstallString" and copy the value to the clipboard

example:
"UninstallString"= "C:\Program Files (x86)\InstallShield Installation Information\{6E9EBFF1-A957-42FA-94FC-90951C2015B1}\setup.exe" -runfromtemp -l0x0409  -removeonly

4. Open a command line, then paste the content of the clipboard. Append the following parameters to the command line: -r -f1"c:\wcuninst.iss"
This uses InstallShield's "record actions to file" feature. Note that there are no spaces after "f1" and before the double quotes.

5. Run the uninstallation interactively as usual. At the end the actions will be saved to the file specified after -f1.

Steps to replay the WebClient uninstall iss file:

1. Copy the .iss file to the machine where the WebClient uninstall should happen

2. Run the command obtained in Step 3 above, with the additional parameters: -s -f1"c:\path\to\wcuninst.iss"

Example:

 "C:\Program Files (x86)\InstallShield Installation Information\{6E9EBFF1-A957-42FA-94FC-90951C2015B1}\setup.exe" -runfromtemp -l0x0409  -removeonly -s -f1"c:\path\to\wcuninst.iss"

To uninstall a WebClient Application in silent mode

The '-ua' parameter runs uninstall, but this is not silent.
C:\Program Files (x86)\Common Files\Progress Software\WebClient\prowcini.exe "APPNAME" -ua

A batch file to delete the registry entries and Application folder would achieve the same result:

Example:
CD "C:\WebApps\WebClient\AppName\"
if NOT exist wcapp.prowcapp GOTO NEXTLABEL
CD /d C:
C:\WINNT\REGEDIT /s C:\RemoveKeyApp.reg
DEL C:\WebApps\WebClient\AppName\ /s /q
:NEXTLABEL

The RemoveKeyApp.reg is simply the registry value of the WebClient Application Name from :

For 32-bit install on 32-bit OS or 64-bit install on 64-bit OS:
HKEY_LOCAL_MACHINE\SOFTWARE\<appname>
HKEY_LOCAL_MACHINE\SOFTWARE\<Vendor name>\<appname> 
HKEY_CURRENT_USER\Software\Vendor name>\<appname> 
 
For 32-bit install on 64-bit OS:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\<appname>
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\<Vendor name>\<appname>
HKEY_CURRENT_USER\Software\Vendor name>\<appname> 

Example: RemoveKeyApp.reg
Windows Registry Editor Version 5.00

[-HKEY_LOCAL_MACHINE\SOFTWARE\AppName]
Notes

References to Other Documentation:
Progress Article(s):
 Considerations when upgrading from OpenEdge 11 to a later OpenEdge 11 version.
 
Keyword Phrase
Last Modified Date11/20/2020 7:37 AM

Powered by