PDA

View Full Version : Template registration w/2560



NewsArchive
04-13-2009, 07:06 AM
Hi, Friedich.
I'm creating new installers for my products, and testing several combinations
of Clarion/OS.
On XP with clarion 6, if I register the template from the installer, when I
exit the installer Clarion 6 remains opened and hanged... I have to kill it
from the task list. Was this observed or it is just me?


--
Jorge Alejandro Lavera - Huenuleufu Development SRL
www.ClarionDevelopment.com - Custom development.
www.ClarionTemplates.com - Templates for Clarion.
www.IP-Tree.com - Analyze and document your network.
www.InBack.com - Protect your data.

NewsArchive
04-13-2009, 07:07 AM
o..O...Only youuuuu ..... ;)

not here at least virtual xp sp3 c6 and c7 test perfect

Cordialement - Best regards
Jean-Pierre GUTSATZ

CGF

DMC - Data Management Center
A tool to let you Migrate Import Export Transfer your Data
www.dmc-fr.com
Certified by Microsoft : "Works with Vista" &
"Works with Windows Server 2008"

NewsArchive
04-13-2009, 07:07 AM
Hi Jorge,

I have never seen this before and we did not receive any similar report.

I assume you are using "Terminate Application [Application Window's Title]"
to close the IDE. This function does nothing more (or less) than sending a
WM_CLOSE event to Clarion.

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

SetupBuilder "point. click. ship"
Create Windows Vista ready installations in minutes

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
04-13-2009, 07:08 AM
Hi, Friedrich.

> Hi Jorge,
>
> I have never seen this before and we did not receive any similar report.

Ok, then it can be something in this Clarion. Will test further.

> I assume you are using "Terminate Application [Application Window's
> Title]" to close the IDE. This function does nothing more (or less)
> than sending a WM_CLOSE event to Clarion.

Hmm, nop. I'm not either open nor closing it. The template registration
script seems to open it automatically, and it remains opened. the installer
closes, etc. but when I select the opened Clarion, it is hanged. Never saw
this before either. Do not worry, it is probably a corrupted installation.


--
Jorge Alejandro Lavera - Huenuleufu Development SRL
www.ClarionDevelopment.com - Custom development.
www.ClarionTemplates.com - Templates for Clarion.
www.IP-Tree.com - Analyze and document your network.
www.InBack.com - Protect your data.

NewsArchive
04-13-2009, 07:09 AM
Jorge,

My Clarion 6 is also left opened but works fine....

those are the ending lines of all scripts used for all clarion versions in case...

If %_SB_INSTALLERFLAG% Equals "1" on Position "$SB_CLARIONTEMPLATEFLAG$" Then
Display Message Box "Register Clarion Templates?\n\nThis installer will..." -- "Register Templates?"
If %_SB_RETURN% Equals "$IDYES$" Then
Set Variable %C6ACTIVE% to FUNCTION:Detect Active Application("C60SRVX.EXE") [Application File Name]
If %C6ACTIVE% Equals "1" Then
Display Message Box "Please make sure the Clarion IDE is not active!\n" -- "Clarion Active"
End
Register all pending Clarion Templates
End
End


[ Final User Interface ]
! Final wizard dialog definition(s)
Define Wizard Dialog "#1" (Finish)

! The Wizard Loop displays the dialog screens that the user sees in the installation
Loop Wizard (Abort Dialog Active)
/* Wizard Auto Break */
End



Cordialement - Best regards
Jean-Pierre GUTSATZ

CGF

DMC - Data Management Center
A tool to let you Migrate Import Export Transfer your Data
www.dmc-fr.com
Certified by Microsoft : "Works with Vista" &
"Works with Windows Server 2008"

NewsArchive
04-13-2009, 07:10 AM
It is funny how many different ways you can do the same thing in SB <g>.
Mine is totally different, but it does the same in the end.

If %CHECKBOXES% Equals "1" on Position "1" Then
! Register all queued Clarion Template files
Register all pending Clarion Templates
If %_SB_ERRORCODE% Equals "0" Then
Display Message Box "Your template should be registrered now." --
"Templates Registrered"
Else
Display Message Box "There was a problem while registrering your
templa..." -- "Registration unsuccesful"
End
End

--
Jorge Alejandro Lavera - Huenuleufu Development SRL
www.ClarionDevelopment.com - Custom development.
www.ClarionTemplates.com - Templates for Clarion.
www.IP-Tree.com - Analyze and document your network.
www.InBack.com - Protect your data.

NewsArchive
04-13-2009, 07:11 AM
Regarding the
If %C6ACTIVE% Equals "1" Then
Display Message Box "Please make sure the Clarion IDE is not
active!\n" -- "Clarion Active"
End

part, does it handle retry? i.e. if the user does NOT closes the IDE, the
installer stays there or continue?

--
Jorge Alejandro Lavera - Huenuleufu Development SRL
www.ClarionDevelopment.com - Custom development.
www.ClarionTemplates.com - Templates for Clarion.
www.IP-Tree.com - Analyze and document your network.
www.InBack.com - Protect your data.

NewsArchive
04-13-2009, 07:12 AM
For that only His Master's Voice will be able to answer ;)
sorry

Cordialement - Best regards
Jean-Pierre GUTSATZ

CGF

DMC - Data Management Center
A tool to let you Migrate Import Export Transfer your Data
www.dmc-fr.com
Certified by Microsoft : "Works with Vista" &
"Works with Windows Server 2008"

NewsArchive
04-13-2009, 07:12 AM
Jorge,

> Regarding the
> If %C6ACTIVE% Equals "1" Then
> Display Message Box "Please make sure the Clarion IDE is not
> active!\n" -- "Clarion Active"
> End
>
> part, does it handle retry? i.e. if the user does NOT closes the IDE,
> the installer stays there or continue?

Yes, you can handle "Retry" here if you want. For example, a simple Loop(4)
with a "Wait" (to give some time to close) and then a "Break" to leave the
Loop if active returns 0.

Friedrich