How to tell if the user has the Eclipse version installed

I have an environment where Notes was initially installed using the 8.0 Basic Configuration installation. Through the evolution of upgrading we started installing the Eclipse version using either a shortcut to nlnotes.exe or more recently using UseBasicNotes=1.

How do I tell on a users machine if they have the Basic Configuration installed or the Eclipse Standard version installed?

The About dialog doesn’t seem to differentiate between the two. Is there an ini variable?

If they have the Basic version installed, I am having to uninstall and then reinstall the Eclipse version. But if they have the Eclipse version, I can just run the upgrade or FP to the latest version.

Knowing the difference could save me many hours.

Thanks in advance.

Subject: @Function

You can use the @Function @IsInCompositeApp to determine if they are running basic mode or not.

Has to be run from a design element that will display within a compapp to the user. For example a view.

Subject: Didn’t Work

Thanks for your response. I am running Eclipse and I tested that function in a regular Notes application (not composite) and it returned False. It probably only works in a composite application. Since our users don’t have Eclipse, we don’t have composite applications.

Subject: If you have the standard client you have Eclipse/Expeditor

Notes 8 is built on Eclipse and Expeditor (IBM’s additions to Eclipse).

So, you have Expeditor and therefore you have the capability for composite apps.

Howard

Subject: how about @IsEmbeddedInsideWCT

@IsEmbeddedInsideWCTIndicates whether any part of the current Notes session is embedded inside of Workplace client.

Note This @function is new with Release 7.

Syntax

@IsEmbeddedInsideWCT

Return value

flag

Boolean

Returns 1 (True) if any Notes content is open inside Workplace client (even bookmarks)

Returns 0 (False) if this is a standalone Notes environment, or if in the current session, no Notes content is open inside Workplace client

Usage

This function allows you to globally enable or disable Notes UI elements depending on whether or not the Notes content is being viewed from within Workplace client.

The Notes 8.0 Standard client returns a value of True, and the Notes 8.0 Basic client returns a value of False.

You cannot use this function in Web applications.

Subject: That works!

Thanks. Works great.

I put a simple button together that will use a messagebox to tell me which client is installed.

well := @IsEmbeddedInsideWCT;

@If(well = @True;

@Prompt([Ok]; "Notes Version"; "You are running Lotus Notes Eclipse client");

@Prompt([Ok]; "Notes Version"; "You are running Lotus Notes Basic client"))

Subject: C:\Program Files\lotus\notes\framework\rcp\eclipse

I am not 100% positive, as I don’t have a non-eclipse client to compare.

But I would guess they wouldn’t have this:

C:\Program Files\lotus\notes\framework\rcp\eclipse

if the Eclipse client was not installed.