Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: Install folder set to detected Clarion install

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Install folder set to detected Clarion install

    Friedrich,

    I'd like to add the feature to an install to detect the %ROOT% value of a
    Clarion install. I've looked at your detect clarion version.sbi, but it
    does not make sense. I don't see how all those versions could be true at
    the same time, yet it works <g>.

    Init Clarion Template Registration.sbi is not very clear (possibly because
    of the above confusion), what is used from it?

    All I've managed to do in my script is to confirm that %_SB_RETURN% is set
    to 1.

    I'd like to make [INSTALLDIR] set to a specific version of Clarion. Clarion
    6 or better actually. If not present, then the install aborts.

    Does this make sense?

    --
    Russ Eggen
    www.radfusion.com

  2. #2

    Default Re: Install folder set to detected Clarion install

    Hi Russ,

    The following makes it possible to detect Clarion 6.0, 6.1 and 6.2.
    If not present, it aborts the installation. If present, %CLARIONPATH%
    holds the full path and exe name of the Clarion IDE.


    Set Variable %CLARIONPATH% to ""

    If System does have Clarion 6.0 Then
    Set Variable %CLARIONPATH% to %_SB_TMP%
    End
    If System does have Clarion 6.1 Then
    Set Variable %CLARIONPATH% to %_SB_TMP%
    End
    If System does have Clarion 6.2 Then
    Set Variable %CLARIONPATH% to %_SB_TMP%
    End
    If %CLARIONPATH% Length Equal To "0" Then
    Exit Installation
    Else
    Display Message Box "%CLARIONPATH%" -- ""
    End


    Does this help?

    Friedrich


    --
    Friedrich Linder
    CEO, Lindersoft
    www.lindersoft.com
    1.954.252.3910

  3. #3

    Default Re: Install folder set to detected Clarion install

    By the way, this code gives you the path to the latest installed
    Clarion version.

    If you need some code to display, say, all detected Clarion versions
    in a Combo or Checkbox dialog, just let me know.

    Friedrich

    --
    Friedrich Linder
    CEO, Lindersoft
    www.lindersoft.com
    1.954.252.3910

    "point. click. ship" - that's SetupBuilder 5

  4. #4

    Default Re: Install folder set to detected Clarion install

    Some more information. If you use a "If System does have Clarion"
    function, then the %_SB_TMP% variable holds the full path and exe
    name of the (detected) Clarion IDE.

    --
    Friedrich Linder
    CEO, Lindersoft
    www.lindersoft.com
    1.954.252.3910

    "point. click. ship" - that's SetupBuilder 5

  5. #5

    Default Re: Install folder set to detected Clarion install

    Hi Friedrich,

    >Some more information. If you use a "If System does have Clarion"
    >function, then the %_SB_TMP% variable holds the full path and exe
    >name of the (detected) Clarion IDE.

    Is there no Clarion selection dialog? I was looking for this
    yesterday, but couldn't find it. In SB4 you just added a Clarion
    selection dialog and it took care of this. Is there a demo somewhere
    on how to set this up?

    Best regards,

    Arnór Baldvinsson
    Icetips Software
    San Antonio, Texas, USA
    www.icetips.com

  6. #6

    Default Re: Install folder set to detected Clarion install

    Arnór,

    Yes, the "Clarion Environment Detection" dialog can handle this
    automatically. You can even define which version to detect.

    Friedrich

    --
    Friedrich Linder
    CEO, Lindersoft
    www.lindersoft.com
    1.954.252.3910

    "point. click. ship" - that's SetupBuilder 5

  7. #7

    Default Re: Install folder set to detected Clarion install

    Hi Friedrich,

    >Yes, the "Clarion Environment Detection" dialog can handle this
    >automatically. You can even define which version to detect.

    I'm using build 1201 and it tells me I have the most recent update and
    I can not see this anywhere. It is not in the dropdown on the "Define
    Wizzard Dialog" window.

    When I open the "Detect Clarion Version Demo 2.sb5" there is only one
    dialog (Radio Buttons) that is defined right after the "Init Clarion
    Template Registration.sbi" is included, but I can't see how this hooks
    together, so I could use this in my own istall...

    Best regards,

    Arnór Baldvinsson
    Icetips Software
    San Antonio, Texas, USA
    www.icetips.com

  8. #8

    Default Re: Install folder set to detected Clarion install

    Arnor,

    You find it by going to the dialogs view, then add a new dialog. The Detect
    Clarion dialog is one of the choices. It is not a script choice.

    You do have to fill in the static text variables. On one of the tabs you
    may select which version you wish to detect.

    I use this dialog in http://www.radfusion.com/DebugerInstall.exe

    --
    Russ Eggen
    www.radfusion.com

  9. #9

    Default Re: Install folder set to detected Clarion install

    Hi Russ,

    >You find it by going to the dialogs view, then add a new dialog. The Detect
    >Clarion dialog is one of the choices.

    Only if "Enable Clarion Support" is checked in the SB5 options. That
    was the part I was missing

    Best regards,

    Arnór Baldvinsson
    Icetips Software
    San Antonio, Texas, USA
    www.icetips.com


    Subscribe to information from Icetips.com:
    http://www.icetips.com/subscribe.php

  10. #10

    Default Re: Install folder set to detected Clarion install

    Friedrich slipped that in a while back:
    news:A921.1121089652.13567@discuss.softvelocity.co m

    SB5 Dev/Pro Build #1193 is released.

    Because there are a few compiler modifications, I decided to release one
    more release candidate. This will be the last release candidate before the
    final release.

    Please click "Check for Updates..." from within your SB5 IDE to update to
    #1193.

    IMPORTANT: To enable Clarion support, please select Options... from the
    Tools menu and mark the "Enable Clarion Support" checkbox.

    ----------------------------------------------------------------------------

    - SetupBuilder 5.0 Build 1193 #Release Candidate 6# (July 11, 2005)

    And I asked a followup:

    Jane,

    > Upgrade from 1130 dev to 1193 (yes, I've been shying away from upgrades
    > for a while <g>) about 55 seconds by cable modem.

    Thank you!

    > Just so I understand - the checkbox for enabling Clarion support is only
    > required for people writing Clarion add-ons who need to detect Clarion
    > versions and register stuff?

    Yes, this is correct. If you need access to the "If Clarion..." or
    "Register Clarion Templates..." functions, mark the "Enable Clarion Support"
    checkbox.

    Thanks,
    Friedrich

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Clarion install
    By NewsArchive in forum SetupBuilder - NNTP
    Replies: 5
    Last Post: 03-29-2006, 03:35 AM
  2. Conditionally displaying a Select Install Folder dialog
    By NewsArchive in forum SetupBuilder - NNTP
    Replies: 2
    Last Post: 02-27-2006, 01:47 AM
  3. Cannot open and compress service file - error
    By NewsArchive in forum SetupBuilder - NNTP
    Replies: 6
    Last Post: 12-06-2005, 04:40 AM
  4. Deferent text in Select Install Folder dialog ?
    By NewsArchive in forum SetupBuilder - NNTP
    Replies: 2
    Last Post: 09-06-2005, 12:12 AM
  5. Conditional copy files
    By NewsArchive in forum SetupBuilder - NNTP
    Replies: 1
    Last Post: 02-22-2005, 01:59 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •