PDA

View Full Version : Errors adding C8 to dialog for template installer.



NewsArchive
05-04-2011, 10:34 AM
Friedrich,

Been going down the list, adding C8 checkbox to dialogs, changing scripts
for the
dialog detection variable, and all of a sudden compiling one installer
starts throwing
an error:

:error GEN1007: Reference to constant %CLARIONDETECTION$ has not been
previously defined.

It is defined in Wizard Dialog definitions as in all the rest of the
installers.

I cannot find anything wrong, but it keeps throwing the error.

--
Best Regards
---
Bo Schmitz
Comsoft7
http://www.Comsoft7.com

NewsArchive
05-04-2011, 10:35 AM
Bo,

> Been going down the list, adding C8 checkbox to dialogs, changing scripts
> for the dialog detection variable, and all of a sudden compiling one
> installer starts throwing an error:
>
> :error GEN1007: Reference to constant %CLARIONDETECTION$ has not been
> previously defined.
>
> It is defined in Wizard Dialog definitions as in all the rest of the
> installers.
>
> I cannot find anything wrong, but it keeps throwing the error.

I assume CLARIONDETECTION is your Dialog Label, correct?

So it should be $CLARIONDETECTION$ and not %CLARIONDETECTION$ (note the '%'
at the beggining; it should be a '$')

Does this help?

Friedrich

NewsArchive
05-04-2011, 11:01 AM
Friedrich,

My typo, it is -- $CLARIONDETECTION$

The installer is the same that compiled earlier, the only thing I changed
was a script line
looking for 8 in %_SB_RETURN%, and checking the C8 checkbox in the
dialog window.
Changed version numbers and name of installer as well.

I did this with other installers and they compile fine. This one has a
problem all of a sudden
with no other changes than above.

Bo

NewsArchive
05-05-2011, 12:37 AM
Hi Bo,

> My typo, it is -- $CLARIONDETECTION$
>
> The installer is the same that compiled earlier, the only thing I changed
> was a script line looking for 8 in %_SB_RETURN%, and checking the
> C8 checkbox in the dialog window.
> Changed version numbers and name of installer as well.
>
> I did this with other installers and they compile fine. This one has a
> problem all of a sudden with no other changes than above.

If you are interested, please send this .sb7 project file to support [at]
lindersoft [dot] com and we'll review your script.

Friedrich

NewsArchive
05-05-2011, 12:37 AM
BTW, the compiler should report a line number for this error. Please also
send this line number.

Friedrich

NewsArchive
05-05-2011, 12:38 AM
Friedrich,

Huhhh??? Tried to compile it again to get the line number and SB crashed.
Restarted it , and it compiled. I had restarted it earlier with same
crashing.

#@$% ghosts <?>

I had 2 copies of SB running, one with my master file in it, another to copy
and paste code
lines for the script into the version I was updating.

Working now.
--
Best Regards
---
Bo Schmitz
Comsoft7
http://www.Comsoft7.com

NewsArchive
05-05-2011, 12:38 AM
Bo,

> Huhhh??? Tried to compile it again to get the line number and SB crashed.
> Restarted it , and it compiled. I had restarted it earlier with same
> crashing.
>
> #@$% ghosts <?>
>
> I had 2 copies of SB running, one with my master file in it, another to
> copy and paste code lines for the script into the version I was updating.
>
> Working now.

Perfect! :-)

Friedrich

NewsArchive
05-05-2011, 12:39 AM
Hi Friedrich,

>> Working now.
>
> Perfect! :-)

Just so you know, I have run around 30 compile processes today with the
Clarion 8 thing and no problems:) Wish my brain worked that way...

Best regards,

--
Arnór Baldvinsson - Icetips Alta LLC
Port Angeles, Washington
www.icetips.com - www.buildautomator.com - www.altawebworks.com
Icetips product subscriptions at http://www.icetips.com/subscribe.php

NewsArchive
05-05-2011, 12:39 AM
Hi Arnór,

> Just so you know, I have run around 30 compile processes today with the
> Clarion 8 thing and no problems:) Wish my brain worked that way...

:)

Thank you for the good news!

Friedrich