Question & Answer
Question
How can you manually uninstall IBM Rational Rhapsody from Microsoft Windows 7 or Windows XP?
Cause
There may be a variety of reasons to uninstall manually. For example, you may have run into the following error while using Add/Remove Programs:
MSI Error 1605 : "This action is only valid for products that are currently installed."
Answer
You should consider following options before deciding whether manual removal is really necessary.
1. Fix the problem automatically by FixIT solution
2. Fix the problem manually
If you are not able to solve your problem by either of methods, proceed with reading further.
Warning: Follow instructions written in this technote only if the product fails to uninstall using the windows add/remove programs feature (e.g MSI Error 1605 : "This action is only valid for products that are currently installed."). At the end, it is strongly recommended to reinstall the product and uninstall it again through Add or Remove Programs to make sure all the unnecessary entries left by the manual removal are properly cleaned from your registry.
In the following steps, you're going to remove a <version> of Rhapsody. The <version> will be one of the listed versions in "Software version" section on the right-hand side of this technote. In case of fixpack releases (4-digit version like 7.6.1.1 and 7.5.3.2), <version> will likely be represented in 3-digit format (e.g 7.6.1.1 -> 761 or 7.6.1 and 7.5.3.2 -> 753 or 7.5.3) unless commented otherwise.
Preparation
Manual removal of Rhapsody shall be done from the Administrator account. To enable the Administrator account, read the following document from the Microsoft Knowledge Base: Enable and Disable the Built-in Administrator Account.
Step 1: Stop Rational Rhapsody
- Click Start > Run
- Type taskmgr
- On the TaskManager, kill all rhapsody.exe processes
Step 2: Remove Rhapsody files and folders
- Delete the following product folders.
If a folder is not present, proceed to the next one.
Windows XP:
C:\Program Files\IBM\Rational\Rhapsody\<version>
C:\Documents and Settings\<User Account>\Rhap<version>Help
Windows 7
C:\Users\<User Account>\Rhap<version>Help
C:\Program Files (x86)\IBM\Rational\Rhapsody\<version>
C:\Users\<User Account>\IBM\Rational\Rhapsody\<version>
- Delete shortcuts on Desktop
- Remove relevant entries from All Program > IBM Rational folder.
Step 3: Remove Rhapsody from the registry
- Read the statement below
REGISTRY EDITS: This solution contains information about modifying the system registry. Before making any modifications to the Microsoft Registry Editor, it is strongly recommended that you make a backup of the existing registry. For more information describing how to back up the registry, refer to Microsoft Knowledge Base article 256986
- Click Start > Run
- Type regedit and Click OK
- In the Windows registry editor, in the left pane, delete the following keys if they are present. If one is not present, proceed to the next one.
- HKLM\SOFTWARE\Classes\Installer\Products\<Product ID>
Note: Product ID for a particular version is as below:
6D06ADF52A865C04CAE94A4CB25CEE5C (v8.1)
48750B84E9A332241A8071FE742F5F46 (v8.0.6)
094F4731AF56AAA489DCC9847243EDB9 (v8.0.5)
6D06ADF52A865C04CAE94A4CB25CEE5C (v8.0.4)
8B34A620BF1739E42835970175343D28 (v8.0.3)
75DCC3CA48FEA5E469E90AAB54AB1258 (v8.0.2)
CE064D8FC689811438DE7D1A1A0D330E (v8.0.1)
525EB6CD29E52FD48855EFF322C19B1B (v8.0)
0EB5DA79DCE33AA40BBB919FD4A9760D (v7.6.1.1)
83C591D961ADF1F4B97C0111D0C567B2 (v7.6.1)
A397EFD83FFCA1B42815BD52F5BA8EEB (v7.5.3.3)
CF9F646EF2F798A4E991D990F8052821 (v7.5.3)
- This step is optional if you go through Step 4 at the end of this technote.
The following items should not be removed if other Rhapsody versions are installed.
- HKLM\SOFTWARE\Classes\Rhapsody.*
- HKLM\SOFTWARE\Classes\rpyFile
- HKLM\SOFTWARE\Classes\RhapATG.*
- HKLM\SOFTWARE\Classes\RhapsodyReporter
- HKLM\SOFTWARE\Classes\RhapsodyServer
- HKLM\SOFTWARE\Classes\RTFConverter
- HKLM\SOFTWARE\Classes\rgGatewayVendorAddin.*
- HKLM\SOFTWARE\Classes\RTFConverter.*
- HKLM\SOFTWARE\Classes\TestConductor.*
- HKLM\SOFTWARE\I-Logic\Rhapsody
- This step is optional if you go through Step 4 at the end of this technote.
Delete the following keys if they are present.
- HKLM\SOFTWARE\Telelogic\*Rhapsody*\<version>
- HKLM\SOFTWARE\Telelogic\*Rhapsody*<version>
Note: Do not delete the entire telelogic registry entry in HKLM\Software\Telelogic, unless you're absolutely sure its consequence. Other Rational products might use some of sub-folders in this registry key.
If you're trying to remove 7.5.3, then delete registry keys enclosed in red. See below.
- Navigate to the following key: HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
- Select Uninstall
- Click Find
- Type "<version>" (such as "7.6.1.1")
- Click Find Next
A value appears in the right pane that includes the word "7.6.1.1".
If none hit, try again without 4th digit ("7.6.1" instead of "7.6.1.1").
For example:
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{97AD5BE0-3ECD-4AA3-B0BB-19F94D9A67D0}\DisplayVersion: "7.6.1.1"
In this case, remove 97AD5BE0-3ECD-4AA3-B0BB-19F94D9A67D0 key as a whole.
- Remove any values with <version> of Rhapsody in the path from the following key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SharedDlls
For example:
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\SharedDLLs\C:\Users\Administrator\IBM\Rational\Rhapsody\7.6.1\Share\Properties\CPP_RulesComposer.prp: 0x00000001
In this case, remove the value "C:\Users\Administrator\IBM\Rational\Rhapsody\7.6.1\Share\Properties\CPP_RulesComposer.prp" form the key.
- Proceed to Step 4 ONLY IF you want to ensure all registries related to Rhapsody are removed.
Step 4: (Optional) Reinstall Rhapsody and uninstall it again from Add or Remove Programs
- Install Rhapsody using the installer for the <version> you removed in previous steps
- Once completed, uninstall the <version> of Rhapsody from Add or Remove Programs
- Complete
Related Information
Product Synonym
Rational Rhapsody
Was this topic helpful?
Document Information
Modified date:
27 May 2022
UID
swg21615958