PDA

View Full Version : Clarion Detection



NewsArchive
05-13-2011, 02:30 AM
I occasionally get customers with problems in their Clarion detection.
Sometimes it requires that they run the "VistaFix". I was just
thinking that it would make sense for the detection window to mention
something like this:

If the correct installation folder is not shown, run "VistaFix"
(www.lindersoft.com/forums/showthread.php?t=18582) then rerun this
installer in Admin mode.

I'm I out of my mind? <g>

Mike Hanson
www.boxsoft.net

NewsArchive
05-13-2011, 02:31 AM
Mike,

> I occasionally get customers with problems in their Clarion detection.
> Sometimes it requires that they run the "VistaFix". I was just
> thinking that it would make sense for the detection window to mention
> something like this:
>
> If the correct installation folder is not shown, run "VistaFix"
> (www.lindersoft.com/forums/showthread.php?t=18582) then rerun this
> installer in Admin mode.
>
> I'm I out of my mind? <g>

You only need this "Vista" (UAC) fix for "old" Clarion 6 environments. I
know that some developers embed that tool and run it automatically (it's a
freeware app).

BTW, it's also possible that C7 is "misconfigured" if your install does not
detect any valid Clarion version:

http://www.lindersoft.com/forums/showthread.php?t=21872

Of course, you can also display the above message if you want. But there is
no need to mention the "Admin mode" thing because your C7 installs run (by
default) elevated.

And on top of all this, there is a nice "Allow user to search for Supported
Clarion Version root directory" option in the Clarion Detection Environment
dialog. The user can search for a Supported Clarion Version for the case
where no supported Clarion version is found.

But the future is C8, so I would not waste my time with it if I were you <g>

Friedrich

NewsArchive
05-13-2011, 02:31 AM
>And on top of all this, there is a nice "Allow user to search for Supported
>Clarion Version root directory" option in the Clarion Detection Environment
>dialog. The user can search for a Supported Clarion Version for the case
>where no supported Clarion version is found.

Hmmm. I've got that option turned on. The most recent fellow
complained that he got to the detection window, with everything
greyed-out and no way to proceed. What should it look like?

Mike Hanson
www.boxsoft.net

NewsArchive
05-13-2011, 02:32 AM
Mike,

> Hmmm. I've got that option turned on. The most recent fellow
> complained that he got to the detection window, with everything
> greyed-out and no way to proceed. What should it look like?

See attached screenshots. No Clarion version detected, but C6 was
installed.

Friedrich

NewsArchive
05-13-2011, 02:33 AM
I've never seen that option in my installers. I've just noticed,
though, that on the first tab of the "Detection Dialog Properties",
I've got nothing in hte "Search for Support Clarion Versions" field
(the last on the tab). What should be there? I notice there's a
variable called #DLG_DETECTCLARION_SEARCH#. I tried adding that, but
the detection dialog looks the same.

Mike Hanson
www.boxsoft.net

NewsArchive
05-13-2011, 02:34 AM
Mike,

> I've never seen that option in my installers. I've just noticed,
> though, that on the first tab of the "Detection Dialog Properties",
> I've got nothing in hte "Search for Support Clarion Versions" field
> (the last on the tab). What should be there? I notice there's a
> variable called #DLG_DETECTCLARION_SEARCH#. I tried adding that, but
> the detection dialog looks the same.

See attached...

--
Lee White

RPM Report Viewer.: http://www.cwaddons.com/products/rpm/
RPM Review........: http://www.clarionmag.com/cmag/v11/v11n06rpm.html
Report Faxing.....: http://www.cwaddons.com/products/afe/
---Enroll Today---: http://CWaddons.com

Enhanced Reporting: http://www.cpcs-inc.com


Product Release & Update Notices
http://twitter.com/DeveloperPLUS

NewsArchive
05-14-2011, 02:00 AM
That's what I had. But it's the first tab of that dialog that had the
empty option in the last field. When the user runs the installer, he
sees *ALL* versions of Clarion listed, but they're disabled. There's
also a disabled button to "Change..." on the right edge of the screen.
There's no option to "Search for support Clarion version" at the end
of the list, which is why I figured that field from the first tab
needed to be filled. However, it doesn't seem to make any difference
in the installer.

Mike Hanson
www.boxsoft.net

NewsArchive
05-14-2011, 02:01 AM
Mike,

> That's what I had. But it's the first tab of that dialog that had the
> empty option in the last field. When the user runs the installer, he
> sees *ALL* versions of Clarion listed, but they're disabled. There's
> also a disabled button to "Change..." on the right edge of the screen.
> There's no option to "Search for support Clarion version" at the end
> of the list, which is why I figured that field from the first tab
> needed to be filled. However, it doesn't seem to make any difference
> in the installer.

Please note that you can only display 10 Clarion versions. And if you use
this "Search" option, only 9 versions can be displayed (because the 10th
item is the "Search for Supported Clarion Version" radio button).

So if you support C5, C55, C6, C61, C62, C63, C7, C71, C72, C73, C80 then
you are out of luck because that would be 11 versions. You have to remove
support for C5 and C55 to make it work <g>.

Friedrich

NewsArchive
05-14-2011, 02:02 AM
Hi Friedrich -

How does it determine which C7 or C8 build to install in?

Jeff Slarve
www.jssoftware.com
www.twitter.com/jslarve

NewsArchive
05-14-2011, 02:02 AM
Hi Jeff,

>
> How does it determine which C7 or C8 build to install in?
>

It uses the Product GUID and the file version resource information to
determine which C7 or C8 build is installed.

Friedrich

NewsArchive
05-14-2011, 02:03 AM
I mean a specific C7 build or a specific C8 build (some people keep
them all)

Jeff Slarve
www.jssoftware.com
www.twitter.com/jslarve

NewsArchive
05-14-2011, 02:03 AM
> So if you support C5, C55, C6, C61, C62, C63, C7, C71, C72, C73, C80 then
> you are out of luck because that would be 11 versions. You have to remove
> support for C5 and C55 to make it work <g>.

Given the prolific release rate of SV for new versions these days, what is
the best way to handle that?

We still have support for C55 on a few of our products, but would be
reluctant to disable that option and enable the search feature (since as
you mentioned - if the installer can not detect ANY Clarion version then
things are most likely going to go bad if we let the developer "find" it on
their own).

Do you have plans to handle the display differently or what do you suggest?

Inquiring minds want to know<g>

Charles


--
-------------------------------------------------------------------------------------------------------
Charles Edmonds
www.clarionproseries.com - "Get ProPath, make your Clarion programs ready
for Windows 7 and Vista!"
www.ezchangelog.com - "Free ChangeLog software to manage your projects!"
www.setupcast.com - "A revolutionary new publishing system for software
developers - enhanced for SetupBuilder users!"
www.pagesnip.com - "Print and Save the Web, just the way you want it!"
www.clarionproseries.com - "Serious tools for Clarion Developers"
www.ezround.com - "Round Corner HTML tables with matching Banners, Buttons
and Forms - Now with PNG support!
www.lansrad.com - "Intelligent Solutions for Universal Problems"
www.fotokiss.com - "World's Best Auction Photo Editor"
-------------------------------------------------------------------------------------------------------

NewsArchive
05-14-2011, 02:04 AM
Seems like scrollable listbox motif using the currently selected
record might be more intuitive to the customer than radio buttons.

Or, even better, a tree that shows all of the C7 builds underneath the
C7 branch, and all of the C8 builds under the C8 branch, etc.

And if it could show the installed folder for each version, that would
be pretty cool. Even if it was just a tooltip.

>
>
>Given the prolific release rate of SV for new versions these days, what is
>the best way to handle that?

Jeff Slarve
www.jssoftware.com
www.twitter.com/jslarve

NewsArchive
05-14-2011, 02:05 AM
I didn't have C5 on, but it turns out that there are 10 with
everything up to C55. <g> I actually don't support C55 anymore, so
I'm removing that one and it should be fine.

Curiously, when it finds versions, it shows only those that are
available (4 on my machine). If none are found, then it shows 10, but
they're all disabled. Also, with only 4 showing on my machine,
there's room for the "Search" option, but it doesn't appear.

Is that correct?

Mike Hanson
www.boxsoft.net

NewsArchive
05-14-2011, 02:06 AM
Mike,

On the advanced tab check the version(s) you want to detect and then
check the last option, "Disable next button..." THEN check the "Allow
user to search..." option.

--
Lee White

RPM Report Viewer.: http://www.cwaddons.com/products/rpm/
RPM Review........: http://www.clarionmag.com/cmag/v11/v11n06rpm.html
Report Faxing.....: http://www.cwaddons.com/products/afe/
---Enroll Today---: http://CWaddons.com

Enhanced Reporting: http://www.cpcs-inc.com


Product Release & Update Notices
http://twitter.com/DeveloperPLUS

NewsArchive
05-14-2011, 02:07 AM
Yeah, I got those set as you describe. I think it's because 10 other
versions were already in the list (albeit disabled).

On my machine I see only four versions (all enabled), but I don't see
the "Search" option.

Mike Hanson
www.boxsoft.net

NewsArchive
05-14-2011, 06:36 AM
Hi Jeff,

> I mean a specific C7 build or a specific C8 build (some people keep
> them all)

If they "keep" them all (multiple builds of the same version on the same
machine) then they are on their own <g>. Clarion "auto-detection" only
works if the Clarion version is "correctly" installed.

By design, the Clarion deployment strategy does not allow multiple builds of
the same version. A new build always replaces the previous one. Similar to
a, say, Visual Studio 2010 install -- you can't have the same version
installed multiple-times on the same machine.

Friedrich

NewsArchive
05-14-2011, 06:37 AM
Hi Charles,

> Given the prolific release rate of SV for new versions these days, what is
> the best way to handle that?
>
> We still have support for C55 on a few of our products, but would be
> reluctant to disable that option and enable the search feature (since as
> you mentioned - if the installer can not detect ANY Clarion version then
> things are most likely going to go bad if we let the developer "find" it
> on their own).
>
> Do you have plans to handle the display differently or what do you
> suggest?
>
> Inquiring minds want to know<g>

I think it's time to "increase" the number of simultaneously supported
Clarion versions <g>.

I'll try to support up to 20 versions in the next SB build.

Friedrich

NewsArchive
05-14-2011, 06:37 AM
> I think it's time to "increase" the number of simultaneously supported
> Clarion versions <g>.
>
> I'll try to support up to 20 versions in the next SB build.

Sounds like a plan!

There are always those exceptions to the rule<g> and as usual SetupBuilder
makes it easy do deal with such situations.

:-)

Charles


--
-------------------------------------------------------------------------------------------------------
Charles Edmonds
www.clarionproseries.com - "Get ProPath, make your Clarion programs ready
for Windows 7 and Vista!"
www.ezchangelog.com - "Free ChangeLog software to manage your projects!"
www.setupcast.com - "A revolutionary new publishing system for software
developers - enhanced for SetupBuilder users!"
www.pagesnip.com - "Print and Save the Web, just the way you want it!"
www.clarionproseries.com - "Serious tools for Clarion Developers"
www.ezround.com - "Round Corner HTML tables with matching Banners, Buttons
and Forms - Now with PNG support!
www.lansrad.com - "Intelligent Solutions for Universal Problems"
www.fotokiss.com - "World's Best Auction Photo Editor"
-------------------------------------------------------------------------------------------------------

NewsArchive
05-14-2011, 06:38 AM
Mike,

> Yeah, I got those set as you describe. I think it's because 10 other
> versions were already in the list (albeit disabled).
>
> On my machine I see only four versions (all enabled), but I don't see
> the "Search" option.

I think you do not see the "Search" option because the installer detected a
valid Clarion version.

---

[X] Allow user to search for Supported Clarion Version root directory

[in] If this checkbox is marked, the user can search for a Supported Clarion
Version for the case where no supported Clarion version is found. The user
can click the "Change" button and the folder selection dialog appears. The
user can navigate to a Supported Clarion Version "root" folder

---

Friedrich

NewsArchive
05-14-2011, 06:39 AM
I suspected that. Thanks.

Mike Hanson