PDA

View Full Version : Two SB6 minor problems



NewsArchive
01-30-2007, 06:16 AM
Hi Friedrich

Two small items with SB6

1: When using the New project Wizard, it offers [SB5]... Eula.rtf

2: Occasionally, something, somewhere comments out the final line of the script, and
then it will not compile saying... Not enough End Statements. This hapened twice
yesterday when I was editing a script, saving, switching to one of the include .SBI
scripts, making changes there, switching back, and saying [OK] to save changes prompt
and then trying to run script as test..

and again today, with a brand new project (no includes), set it all up, and the first
time I tried to compile, I got the same "Not enough End Statements" error.

I cant reproduce every time, just occasionally. It seemed related to when I selected a
few lines, and commented them... but that was yesterday ...

See what you can find.

Thanks

John Griffiths

NewsArchive
01-30-2007, 06:16 AM
Hi John,

Thank you for the info. I have fixed the [SB5] issue in our internal source
codes.

It would be great if you could find a pattern to reproduce this problem. I
received a similar report some days ago, but cannot reproduce this here on
our machines :-(

Thanks again,
Friedrich

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

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

NewsArchive
01-30-2007, 06:16 AM
Friedrich,

I have had the same problem as John with the last line 'END' being commented
out. I uncomment it and all is fine. I'll make a few changes recompile and
behold, the line is commented out again.

I havent been able to develop a pattern, but will try again, now that my
install is pretty much completed.

Skip

NewsArchive
01-30-2007, 06:16 AM
Skip,

Thank you! I think something sends a "comment-out event" to the Script
Editor. But I have no idea what triggers it.

Item in review.

Friedrich

NewsArchive
01-30-2007, 06:16 AM
Hi Friedrich,

This has happened to me quite a lot in SB6. It never happened in SB5. So far,
the only pattern I can see is that it seems to happen after I have saved the
project and exited SB6 and later reopen the project. The result is always the
same, the last 'End' statement is commented out and I don't see/realize it
until I try to compile and get the not enough End statements error.

John

NewsArchive
01-30-2007, 06:17 AM
Hi John,

Very, very strange. 60%-70% of my time is spent in the SB6 IDE, but I have
never seen this :-(

So it must be a very specific thing that causes this. I'll check the
save/open project functions now.

Thanks,
Friedrich

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

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

NewsArchive
02-01-2007, 11:21 AM
I am using the included script quite often.
Changes the output directory and the path to licensfil.tps.
It comments out the last line and/or the install licensfil line app. every
3.th time.
Try to se dear Friederich, about you can get the same result.
Its a bit frightening, for if it comments out lines randomly, I will not be
able to see it as easy as on this install.

Edvard Korsbęk

NewsArchive
02-01-2007, 11:21 AM
Hi Edvard,

Thanks for the information. I have tried to reproduce this error since some
days.

It always comments out the last line, nothing else. The good think is that
the compiler catches this.

I'll keep you posted.

Thanks,
Friedrich

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

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

NewsArchive
02-02-2007, 03:14 AM
> It always comments out the last line, nothing else. The good think is
> that the compiler catches this.
[SNIP]
Unfortunately its not my experience.
I have had line 95 commenteed out several times - And thats a install files
line.
+ the last line as other users, which the compiler catches.
I catch line 95 as well, because I only install one file.
If the same thing happens to one of my bigger APP's, which has 20-30 lines
of install, I won't find out before a customer complains.
Good luck with your search for the reason - It loks quite difficult for
minor programmers than you to find.... :-) !

Edvard

NewsArchive
02-05-2007, 02:58 AM
It was impossible to reproduce this at will, but I hope it's fixed now. I
think it was caused by a combination of three minor bugs.

The "comment-out" issue can happen (in SB5 and SB6) if the include script is
larger than the main script.

Friedrich

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

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