IBM Support

Working with Rational Rhapsody 7.6 on Citrix results in missing rhapsody.ini file

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"

  1. Create a folder named Rhapsody under Application Data within your home (by default C:\Documents and Settings\<user_name>\Application Data\Rhapsody)
  2. 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,
  1. Add an environment variable called IgnoreAllUsersProfile to the system variables and set the value to TRUE
  2. 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"

  1. Create the following folders IBM\Rational\Rhapsody\7.6 under your home
    (for example: C:\Users\<user_name>\IBM\Rational\Rhapsody\7.6)
  2. 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,

  1. 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
  2. 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

Disclaimer

All source code and/or binaries attached to this document are referred to here as "the Program". IBM is not providing program services of any kind for the Program. IBM is providing the Program on an "AS IS" basis without warranty of any kind. IBM WILL NOT BE LIABLE FOR ANY ACTUAL, DIRECT, SPECIAL, INCIDENTAL, OR INDIRECT DAMAGES OR FOR ANY ECONOMIC CONSEQUENTIAL DAMAGES (INCLUDING LOST PROFITS OR SAVINGS), EVEN IF IBM, OR ITS RESELLER, HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.


replicate_rhapsody_ini.batreplicate_rhapsody_ini.bat

[{"Product":{"code":"SSB2MU","label":"IBM Engineering Systems Design Rhapsody"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"General Information","Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.6;7.6.0.1","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Product Synonym

Rational Rhapsody

Document Information

Modified date:
27 May 2022

UID

swg21568128