Troubleshooting
Problem
When working with IBM Rational Rhapsody 7.6 on Citrix, there is no rhapsody.ini get replicated for individual users.
Symptom
When you start Rational Rhapsody (7.5.3 and previous versions) for the first time, rhapsody.ini used to be copied to the users private Windows-directory but in Rhapsody 7.6, you do not get this copy.
Cause
Unknown
Environment
Citrix
Resolving The Problem
WORKAROUND:
The steps to circumvent this problem are different for Windows 2003 and Windows 2008 Servers.
Windows 2003
----------------------------
Note: If you like to use a script file to perform the steps below, skip this and jump to the section "Copying the ini files using a script"
- Create a folder named Rhapsody under Application Data within your home (by default C:\Documents and Settings\<user_name>\Application Data\Rhapsody)
- Copy rhapsody.ini and Diffmerge.ini files to that folder
Windows 2008
---------------------------
On Windows 2008, by default part of the Rhapsody installation files are located under user profile
(C:\Users\<user_who_installed_rhapsody>\IBM\Rational\Rhapsody\7.6 ).
If you already installed it, we recommend to uninstall and install under a single location outside of "Program Files".
To do this,
- Add an environment variable called IgnoreAllUsersProfile to the system variables and set the value to TRUE
- Run Rhapsody installation and select a location for the installation outside of "Program Files"
(for example: C:\Rhapsody7.6 )
After installation is completed, copy the ini files as follows.
Note: If you like to use a script file to perform the steps below, skip this and jump to the section "Copying the ini files using a script"
- Create the following folders IBM\Rational\Rhapsody\7.6 under your home
(for example: C:\Users\<user_name>\IBM\Rational\Rhapsody\7.6) - Copy rhapsody.ini and Diffmerge.ini files to that folder
Copying the ini files using a script
--------------------------------------------------
A script (.bat) file has been provided that can copy the ini files to user's profile.
To use this file,
- After installing Rhapsody, copy the attached script file (replicate_rhapsody_ini.bat) to the installation folder, where Rhapsody.exe and rhapsody.ini files are located
- Execute (run) the file
You may set it up in a way that this file is executed automatically when logging into Citrix. There is no problem if this script is executed multiple times. It will not overwrite the ini files if it already exists under user profile folder.
One of the ways you can execute this script file automatically when logging into Citrix is by adding it as a logon script.
For this, add this script name with path to the following registry key:
HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsNT\CurrentVersion\Winlogon\Appsetup
Just append it to the end of the value, separated by ','
For example, if the value before was UserLogon.cmd then the new value would be something like UserLogon.cmd, C:\Rhapsody7.6\replicate_rhapsody_ini.bat
Product Synonym
Rational Rhapsody
Was this topic helpful?
Document Information
Modified date:
27 May 2022
UID
swg21568128