Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/IDE/Project Management    [ Add a report in this area ]  
Report #:  101839   Status: Open
IDE ignores the BDSCOMMONDIR environment variable if installed for "just me"
Project:  Delphi Build #:  16.0.4358.45540
Version:    16.2 Submitted By:   Eivind Bakkestuen
Report Type:  Basic functionality failure Date Reported:  12/15/2011 4:07:42 PM
Severity:    Commonly encountered problem Last Updated: 3/20/2012 2:24:39 AM
Platform:    All versions Internal Tracking #:   289192
Resolution: None (Resolution Comments) Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description
If Rad Studio is installed with  "just me" selected as target user instead of installing for "all users" (which is the default), then the BDSCOMMONDIR variable in rsvars.bat is set to a user-specific path as opposed to the public path (eg >   "C:\Users\David\Documents\RAD Studio\9.0" ).

Problems appear when installing 3rd party components, because 3rd party installers rely on the BDSCOMMONDIR environment variable to be correct.

The problem is that the IDE internally does not use the user-specific path, but instead always assumes the public path that is used when installing for "all users" (eg "C:\Users\Public\Documents\RAD Studio\9.0")

After installing 3rd party components, on IDE startup it will report that BPLs are missing, or other bogus messages caused by the BPLs not being found.

It can be worked around by manually changing the value in rsvars.bat to the public directory, but it is not known wether this might cause other problems down the road if some parts of the IDE actually do respect the "just me" setting.
Steps to Reproduce:
install RS with "just me" selected, run once

install a 3rd party library (eg, NexusDB)

Start IDE. Errors appear because the IDE looks for the BPLs in the wrong place
Workarounds
None
Attachment
None
Comments

None

Server Response from: ETNACODE01