PDA

View Full Version : Detecting C7



NewsArchive
11-22-2007, 03:00 AM
Hi Friedrich,

Not quite a SB topic, but I figured you knew<g> What method is best
to detect the existence of a Clarion 7 install on a computer? I find
it in the registry as HKLM\Softvelocity\Clarion 7 with the root key so
I can find it the folder, but it does not include the EXE name... The
older installs I can enumerate from the win.ini so that's not a
problem.

Best regards,

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


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

NewsArchive
11-22-2007, 03:00 AM
Hi Arnor,

I just use "If Clarion" in SB 6.6. :-)

--
Phil Carroll
http://www.enablingsimplicity.com

NewsArchive
11-22-2007, 03:01 AM
Hi Phil,

>I just use "If Clarion" in SB 6.6. :-)

No problem doing this in SB:) I'm talking about detecting Clarion 7
in my own code (clarion or .NET) I.e. what method should be used to
detect it. I figured that since Friedrich does this in SB he would
know;)

Best regards,

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


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

NewsArchive
11-22-2007, 03:13 AM
Hi Arnór,

Yes, you can use "HKLM\Softvelocity\Clarion 7" to detect the Clarion root
from within your application. Clarion.exe is the IDE name (for both C7 and
Clarion7.Net).

BTW, the upcoming new SetupBuilder 6.7 can also detect Clarion.Net.

Friedrich

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

"point. click. ship" - that's SetupBuilder 6.6
Create Windows Vista ready installations in minutes

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
11-23-2007, 02:51 AM
My feeble idea of a joke.

Actually, it should have occurred to me that Clarion 7 is Clarion.exe
regardless of version. (I have C7PE) It would appear this will also be
the name of the exe for future versions of Clarion.

Inexplicably, the redirection file is Clarion70.red. Why not Clarion.red?

--
Phil Carroll
http://www.enablingsimplicity.com

NewsArchive
11-23-2007, 02:52 AM
Hi Phil,

>Actually, it should have occurred to me that Clarion 7 is Clarion.exe
>regardless of version. (I have C7PE) It would appear this will also be
>the name of the exe for future versions of Clarion.

Ok, so it is always Clarion.exe? That's good to know as I will - at
some point in this project - need to know the exe names. I can get
that for all the pre C7 versions from the win.ini file, but it does
not appear that Clarion 7 puts anything but the root into the
registry.

Best regards,

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


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

NewsArchive
11-23-2007, 02:52 AM
>Yes, you can use "HKLM\Softvelocity\Clarion 7" to detect the Clarion root
>from within your application. Clarion.exe is the IDE name (for both C7 and
>Clarion7.Net).
>
>BTW, the upcoming new SetupBuilder 6.7 can also detect Clarion.Net.

If someone has multiple versions of C6 (or prior), does SB detect
them, or does it only see one?

Mike Hanson
www.boxsoft.net

NewsArchive
11-23-2007, 02:53 AM
Hi Mike,

> If someone has multiple versions of C6 (or prior), does SB detect
> them, or does it only see one?

Only the "real" one is detected. And there can only be one "real" Clarion 6
version installed.

Friedrich

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

"point. click. ship" - that's SetupBuilder 6.6
Create Windows Vista ready installations in minutes

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
11-23-2007, 02:53 AM
>> If someone has multiple versions of C6 (or prior), does SB detect
>> them, or does it only see one?
>
>Only the "real" one is detected. And there can only be one "real" Clarion 6
>version installed.

That's what I expected. Thanks.

Mike Hanson
www.boxsoft.net

NewsArchive
11-23-2007, 02:55 AM
By the way, that's the improved Clarion 7 / Clarion.NET detection in the
upcoming SetupBuilder 6.7 (see screenshot).

Friedrich

NewsArchive
11-23-2007, 02:55 AM
>By the way, that's the improved Clarion 7 / Clarion.NET detection in the
>upcoming SetupBuilder 6.7 (see screenshot).

Cool!

Mike Hanson
www.boxsoft.net

NewsArchive
11-23-2007, 02:55 AM
>
> Cool!
>

:)

Friedrich

NewsArchive
11-23-2007, 02:56 AM
Hi Friedrich,

>Yes, you can use "HKLM\Softvelocity\Clarion 7" to detect the Clarion root
>from within your application. Clarion.exe is the IDE name (for both C7 and
>Clarion7.Net).

Thanks:)

>BTW, the upcoming new SetupBuilder 6.7 can also detect Clarion.Net.

Cool:)

Best regards,

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


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