PDA

View Full Version : clarion root folder + installing different dll versions



NewsArchive
04-28-2006, 04:22 AM
Hi,

Trying to get to grips with SetupBuilder Pro and would appreciate a
kick-start :)

1. What's the right way to get a Clarion root folder (e.g. c:\c55\) when
looking at the detected clarion ide (c:\c55\c55pe.exe)?

2. And how do you move on to push files into (say) c:\c55\lib\ or
c:\c55\3rdparty\lib\ ?

3. Installing into Clarion 6, say I want to pick a different dll based on
clarion build number. Got the build number OK from the help but what then?
"Features" looked useful but that's Developer only. Putting IF.... /END...
into the [ Install Files ] section seems to work but is it the right way to
go about this?


TIA

Simon Kemp

NewsArchive
04-28-2006, 04:22 AM
Simon,

> Trying to get to grips with SetupBuilder Pro and would appreciate a
> kick-start :)
>
> 1. What's the right way to get a Clarion root folder (e.g. c:\c55\) when
> looking at the detected clarion ide (c:\c55\c55pe.exe)?

If you are using the "Clarion Environment Detection" dialog, the variable
holds the path to the IDE.

Use the "Extract Folder" Script Function twice to get the Clarion "root"

Set Variable %ROOT% to ScriptItem->Extract Folder(%IDEPATH%)
Set Variable %ROOT% to ScriptItem->Extract Folder(%ROOT%)

> 2. And how do you move on to push files into (say) c:\c55\lib\ or
> c:\c55\3rdparty\lib\ ?

Create a 3rdparty and 3rdparty\lib folder under "Application Folder"
(Files and Folder -> lower left list)

> 3. Installing into Clarion 6, say I want to pick a different dll based on
> clarion build number. Got the build number OK from the help but what then?
> "Features" looked useful but that's Developer only. Putting IF.... /END...
> into the [ Install Files ] section seems to work but is it the right way
> to go about this?

If you have the build, I would suggest to use If..Then..Else Statements.

Does this help?

Friedrich

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

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

NewsArchive
04-28-2006, 04:22 AM
Friedrich,

Thank-you, it's all starting to make sense now...

Simon

NewsArchive
04-28-2006, 04:22 AM
Simon,

Great, thank you! If there are any further questions, just let me know.

Friedrich

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

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