PDA

View Full Version : SetupBuilder Clarion version detection



NewsArchive
01-07-2019, 09:33 AM
My installer is configured to look for Clarion 10 and 11. But only
Clarion 11 shows and there is no option to search for another version.

How does SB check for Clarion version and how would it miss that I had
C10 installed?

thanks

Mike

NewsArchive
01-08-2019, 05:14 AM
Mike,

> My installer is configured to look for Clarion 10 and 11. But only
> Clarion 11 shows and there is no option to search for another version.
>
> How does SB check for Clarion version and how would it miss that I had
> C10 installed?

Any chance you copied the C10 folders instead of actually running the
C10 install?

--
Lee White

RPM Report Viewer.: http://www.cwaddons.com/products/rpm/
Report Faxing.....: http://www.cwaddons.com/products/afe/
---Enroll Today---: http://CWaddons.com

Creative Reporting: http://www.CreativeReporting.com

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

NewsArchive
01-08-2019, 05:15 AM
Nope - I installed from the SV install files.

The Clarion versions used to be stored in Win.ini - but that seems to
have stopped.

Mike

NewsArchive
01-08-2019, 05:16 AM
Mike,

> Nope - I installed from the SV install files.

Well THAT was your first mistake!<g>

> The Clarion versions used to be stored in Win.ini - but that seems to
> have stopped.

It's all in the registry now.

My installs are Clarion version specific which has always kept the
headaches to a minimum. I still use SB to get the root path but I
simply display it in an entry so the developer can put it wherever
they want.

If System does have "Clarion 10.0" Then
Set Variable %CLARION_IDE% to "%_SB_TMP%"
Set Variable %CLARION_IDE_DIR% to "%_SB_TMP%" [Remove File Name]
Set Variable %CLARION_IDE_DIR% to FUNCTION:Extract Full Folder
Else
Set Variable %CLARION_IDE% to ""
Set Variable %CLARION_IDE_DIR% to "C:\Clarion10"
End


--
Lee White

RPM Report Viewer.: http://www.cwaddons.com/products/rpm/
Report Faxing.....: http://www.cwaddons.com/products/afe/
---Enroll Today---: http://CWaddons.com

Creative Reporting: http://www.CreativeReporting.com

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

NewsArchive
01-08-2019, 05:16 AM
Lee

Thanks for the SB script and I think I'll go back to one install per
Clarion version like you suggest.

Mike

NewsArchive
01-08-2019, 05:17 AM
Hi Mike,

> My installer is configured to look for Clarion 10 and 11. But only
> Clarion 11 shows and there is no option to search for another version.
>
> How does SB check for Clarion version and how would it miss that I had
> C10 installed?

I would suggest post in the setupbuilder newsgroup as I'm not sure if
Freidrich visits this ng very much.

With the old IDE there were routine problems where the the Clarion
installer didn't update the correct registry keys because it didn't run
elevated. But I don't recall running into that with the new IDE. I
tested all my installers for C11 with both C10 and C11 installed on the
same virtual machine as well as some older builds as well and they were
all detected properly.

That said, I seem to recall some issue that came up in C9 or C9.1 where
it wasn't found, but I do not remember what the problem was.

Does this happen on ALL machines with C10 and 11 installed?

Best regards,

--
Arnor Baldvinsson
Icetips Alta LLC

NewsArchive
01-08-2019, 05:17 AM
Hi Arnor

I have only tried it on my machine because it's for a new template I'm
releasing today. So I'll go with separate installs for now

thanks

Mike

NewsArchive
01-08-2019, 05:18 AM
Hi Mike,

SetupBuilder uses the Product GUIDs for the Clarion versions (that's the
correct and only valid method in Windows). If it does not find the Product
GUID in the Windows Registry then the (C10) environment is not correctly
registered.

What does C10 Manager report in your case?

http://www.lindersoft.com/projects/C10_Manager.exe

Friedrich

NewsArchive
01-08-2019, 05:19 AM
Hi Friedrich

It says Failed for the 2 Clarion 10 sections.

But I'm more concerned about my customers having the same problem. So I
will probably stick to separate installs for now.

With a separate C10 install there is the option to locate a Clarion version.

I appreciate it is not Setupbuilder at fault here :)

regards

Mike