PDA

View Full Version : Install to LibSrc or LibSrc\Win under C6 and C7 (140KB attachement)



NewsArchive
02-18-2008, 02:01 AM
Concerns Clarion 6 and Clarion 7 3rd-party developers:

The following solution can be used to detect Clarion 6 or Clarion 7 and
install into LibSrc under C6 and LibSrc\Win under C7. I have attached two
screenshots and the demo project.

1. "Files and Folders" Visualizer

Create a %LIBSRC% folder variable (see screenshot c6c7a.gif)

A folder variable acts like a normal variable. You can add files and
folders to folder variables.

2. Script Editor (see screenshot c6c7b.gif)

Note: We have already added the Clarion Detection Dialog (Line 52) and
detect C6 and C7.

Line 60:
If the "Clarion Detection Dialog" wizard is displayed and the "Next" button
is pressed...

Line 61:
....if the selected Clarion ID contains "Clarion 7"...

Line 62:
....then set the %LIBSRC% folder variable to LibSrc\Win

Line 64:
....else set the %LIBSRC% folder variable to LibSrc

Hope this helps.

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

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

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
02-18-2008, 02:02 AM
Brilliant...

One thing... The %LibSrc% declaration and the usage MUST be the same CASE
or my compiler complains .....

Kind Regards

Ben

NewsArchive
02-18-2008, 02:02 AM
> Brilliant...

:)

> One thing... The %LibSrc% declaration and the usage MUST be the same CASE
> or my compiler complains .....

Yes, SetupBuilder variables are case-sensitive.

Friedrich