This Question is Answered

1 "correct" answer available (5 pts) 12 "helpful" answers available (3 pts)
5 Replies Last post: Sep 4, 2008 8:35 AM by cbarber

How to get whether the client has installed 6.0.2 RTE specifically?

Sep 4, 2008 1:52 AM

Click to view tiju's profile Level 6 tiju 102 posts since
Oct 17, 2007

The VBScript

curl = NOT IsNULL(CreateObject("Curl.Surge.6.0.2"))

is not helping me.

Click to view friedger's profile MVP friedger 108 posts since
Jan 13, 2008
1. Re: How to get whether the client has installed 6.0.2 RTE specifically? Sep 4, 2008 2:48 AM

Why not handle it in Curl itself?

Have a small starter applet that checks for minor version


Friedger

Click to view tiju's profile Level 6 tiju 102 posts since
Oct 17, 2007
2. Re: How to get whether the client has installed 6.0.2 RTE specifically? Sep 4, 2008 4:39 AM
in response to: friedger

By using the api-version-switch macro?
Click to view friedger's profile MVP friedger 108 posts since
Jan 13, 2008
3. Re: How to get whether the client has installed 6.0.2 RTE specifically? Sep 4, 2008 4:56 AM
in response to: tiju

For example the api-version-switch. I was more thinking about

{if curl-version-number == "6.0.2" then .. else ..}


Friedger

Click to view tiju's profile Level 6 tiju 102 posts since
Oct 17, 2007
4. Re: How to get whether the client has installed 6.0.2 RTE specifically? Sep 4, 2008 5:52 AM
in response to: friedger

Thanks Friedger. That helped.




{curl 6.0 applet}
{api-version-switch
 case "6.0.2" do    
    {{get-the-applet}.browse-url {url "<%=startApplet%>"}}
    else
  {{get-the-applet}.browse-url {url "<%=curlInstall%>"}}    
}


Click to view cbarber's profile Curl cbarber 115 posts since
Sep 27, 2007
5. Re: How to get whether the client has installed 6.0.2 RTE specifically? Sep 4, 2008 8:35 AM
in response to: tiju
Note that if you want to match 6.0.2 any later version of 6.0, you can write:

{api-version-switch case "6.0.2+" do ...}


and if you want to simply make sure that the user has installed some minimum patch version, you can write:

{curl 6.0.2+ applet}