NewsArchive
12-07-2010, 02:34 AM
Hello Fredrich,
In a virtaul XP machine I have
c6
c7.2
c7.3
all in seperate folders
This script detects only c6.3 and c7.3
! Detect and configure Clarion 7 IDE
If System does have Clarion 7.0 Then
Set Variable %SELECTED_CLARION_EDITIONS% to "1" [Append Value]
Set Variable %DETECTED_CLARION_EDITIONS% to "Clarion 7.0|" [Append
Value]
Set Variable %CLARION7_IDE_DIR% to "%_SB_TMP%"
Set Variable %_SB_TMP% to FUNCTION:Extract Full Folder(%_SB_TMP%)
Set Variable %CLARION7_ROOT_DIR% to FUNCTION:Extract Full
Folder(%_SB_TMP%)
Set Variable %CLARION7_TEMPLATE% to
"%CLARION7_ROOT_DIR%\accessory\template\win"
Set Variable %CLARION7_PATH% to
"%CLARION7_ROOT_DIR%\accessory\examples\dmc"
End
! Detect and configure Clarion 7.1 IDE
If System does have Clarion 7.1 Then
Set Variable %SELECTED_CLARION_EDITIONS% to "1" [Append Value]
Set Variable %DETECTED_CLARION_EDITIONS% to "Clarion 7.1|" [Append
Value]
Set Variable %CLARION7_IDE_DIR% to "%_SB_TMP%"
Set Variable %_SB_TMP% to FUNCTION:Extract Full Folder(%_SB_TMP%)
Set Variable %CLARION7_ROOT_DIR% to FUNCTION:Extract Full
Folder(%_SB_TMP%)
Set Variable %CLARION7_TEMPLATE% to
"%CLARION7_ROOT_DIR%\accessory\template\win"
Set Variable %CLARION7_PATH% to
"%CLARION7_ROOT_DIR%\accessory\examples\dmc"
End
! Detect and configure Clarion 7.2 IDE
If System does have Clarion 7.2 Then
Set Variable %SELECTED_CLARION_EDITIONS% to "1" [Append Value]
Set Variable %DETECTED_CLARION_EDITIONS% to "Clarion 7.2|" [Append
Value]
Set Variable %CLARION7_IDE_DIR% to "%_SB_TMP%"
Set Variable %_SB_TMP% to FUNCTION:Extract Full Folder(%_SB_TMP%)
Set Variable %CLARION7_ROOT_DIR% to FUNCTION:Extract Full
Folder(%_SB_TMP%)
Set Variable %CLARION7_TEMPLATE% to
"%CLARION7_ROOT_DIR%\accessory\template\win"
Set Variable %CLARION7_PATH% to
"%CLARION7_ROOT_DIR%\accessory\examples\dmc"
End
! Detect and configure Clarion 7.3 IDE
If System does have Clarion 7.3 Then
Set Variable %SELECTED_CLARION_EDITIONS% to "1" [Append Value]
Set Variable %DETECTED_CLARION_EDITIONS% to "Clarion 7.3|" [Append
Value]
Set Variable %CLARION7_IDE_DIR% to "%_SB_TMP%"
Set Variable %_SB_TMP% to FUNCTION:Extract Full Folder(%_SB_TMP%)
Set Variable %CLARION7_ROOT_DIR% to FUNCTION:Extract Full
Folder(%_SB_TMP%)
Set Variable %CLARION7_TEMPLATE% to
"%CLARION7_ROOT_DIR%\accessory\template\win"
Set Variable %CLARION7_PATH% to
"%CLARION7_ROOT_DIR%\accessory\examples\dmc"
End
"appending" should detect and trigger both c7's no ?
--
Merci
Cordialement - Best regards
__________________________________________________ _____
For those who do not understand ... : "Qui bene amat bene castigat."
__________________________________________________ _____
DMC - Data Management Center : a tool to let you Migrate Import Export
Transfer your Data
www.dmc-fr.com/database_migration.html Certified by Microsoft : "Works
with Vista" & "Works with Windows Server 2008"
In a virtaul XP machine I have
c6
c7.2
c7.3
all in seperate folders
This script detects only c6.3 and c7.3
! Detect and configure Clarion 7 IDE
If System does have Clarion 7.0 Then
Set Variable %SELECTED_CLARION_EDITIONS% to "1" [Append Value]
Set Variable %DETECTED_CLARION_EDITIONS% to "Clarion 7.0|" [Append
Value]
Set Variable %CLARION7_IDE_DIR% to "%_SB_TMP%"
Set Variable %_SB_TMP% to FUNCTION:Extract Full Folder(%_SB_TMP%)
Set Variable %CLARION7_ROOT_DIR% to FUNCTION:Extract Full
Folder(%_SB_TMP%)
Set Variable %CLARION7_TEMPLATE% to
"%CLARION7_ROOT_DIR%\accessory\template\win"
Set Variable %CLARION7_PATH% to
"%CLARION7_ROOT_DIR%\accessory\examples\dmc"
End
! Detect and configure Clarion 7.1 IDE
If System does have Clarion 7.1 Then
Set Variable %SELECTED_CLARION_EDITIONS% to "1" [Append Value]
Set Variable %DETECTED_CLARION_EDITIONS% to "Clarion 7.1|" [Append
Value]
Set Variable %CLARION7_IDE_DIR% to "%_SB_TMP%"
Set Variable %_SB_TMP% to FUNCTION:Extract Full Folder(%_SB_TMP%)
Set Variable %CLARION7_ROOT_DIR% to FUNCTION:Extract Full
Folder(%_SB_TMP%)
Set Variable %CLARION7_TEMPLATE% to
"%CLARION7_ROOT_DIR%\accessory\template\win"
Set Variable %CLARION7_PATH% to
"%CLARION7_ROOT_DIR%\accessory\examples\dmc"
End
! Detect and configure Clarion 7.2 IDE
If System does have Clarion 7.2 Then
Set Variable %SELECTED_CLARION_EDITIONS% to "1" [Append Value]
Set Variable %DETECTED_CLARION_EDITIONS% to "Clarion 7.2|" [Append
Value]
Set Variable %CLARION7_IDE_DIR% to "%_SB_TMP%"
Set Variable %_SB_TMP% to FUNCTION:Extract Full Folder(%_SB_TMP%)
Set Variable %CLARION7_ROOT_DIR% to FUNCTION:Extract Full
Folder(%_SB_TMP%)
Set Variable %CLARION7_TEMPLATE% to
"%CLARION7_ROOT_DIR%\accessory\template\win"
Set Variable %CLARION7_PATH% to
"%CLARION7_ROOT_DIR%\accessory\examples\dmc"
End
! Detect and configure Clarion 7.3 IDE
If System does have Clarion 7.3 Then
Set Variable %SELECTED_CLARION_EDITIONS% to "1" [Append Value]
Set Variable %DETECTED_CLARION_EDITIONS% to "Clarion 7.3|" [Append
Value]
Set Variable %CLARION7_IDE_DIR% to "%_SB_TMP%"
Set Variable %_SB_TMP% to FUNCTION:Extract Full Folder(%_SB_TMP%)
Set Variable %CLARION7_ROOT_DIR% to FUNCTION:Extract Full
Folder(%_SB_TMP%)
Set Variable %CLARION7_TEMPLATE% to
"%CLARION7_ROOT_DIR%\accessory\template\win"
Set Variable %CLARION7_PATH% to
"%CLARION7_ROOT_DIR%\accessory\examples\dmc"
End
"appending" should detect and trigger both c7's no ?
--
Merci
Cordialement - Best regards
__________________________________________________ _____
For those who do not understand ... : "Qui bene amat bene castigat."
__________________________________________________ _____
DMC - Data Management Center : a tool to let you Migrate Import Export
Transfer your Data
www.dmc-fr.com/database_migration.html Certified by Microsoft : "Works
with Vista" & "Works with Windows Server 2008"