PDA

View Full Version : Script changes, Compile -- Test Vs Run



NewsArchive
06-11-2005, 09:05 AM
If i make a script change and

Click "Test" I am prompted to save the file, it is compiled and then run in
test mode -- Good

Click "Run" I am prompted to save the file, it is ** NOT ** compiled and
then run in "real" mode -- BAD

Is this as intended?

--
Kevin B. Erskine, Owner, TopSpeed Certified Clarion Professional
415.331.6003
http://www.Software-By-Ragazzi.com
"Begin a new era of productivity..."© '96-05 Software By Ragazzi(tm)

NewsArchive
06-11-2005, 09:05 AM
Can you reproduce this? Both functions use the same compiler switch. At
the moment I cannot reproduce this (both Test and Run re-compile here if
there was a script change.

Thanks,
Friedrich

--
Friedrich Linder
CEO, Lindersoft
www.lindersoft.com
1.954.252.3910

"point. click. ship" - that's SetupBuilder 5

NewsArchive
06-11-2005, 09:05 AM
Yes, But I found why....

I have a project open that uses "include Scripts" --

If I am editing the "Include Script" -- This problem happens

If I am editing the "Install Script" -- This problem ** DOES NOT ** happen

So something is different in the was "Test" and "Run" handle checking for
changes before running.

NewsArchive
06-11-2005, 09:06 AM
Okay, thank you! I'll check this.

Friedrich

--
Friedrich Linder
CEO, Lindersoft
www.lindersoft.com
1.954.252.3910

"point. click. ship" - that's SetupBuilder 5

NewsArchive
06-12-2005, 08:30 AM
Kevin,

I cannot reproduce this on any of our machines :-( I tried a project with
15 include scripts, but now way. Would it be possible for you to send me a
demo script/include script example?

Thanks,
Friedrich

--
Friedrich Linder
CEO, Lindersoft
www.lindersoft.com
1.954.252.3910

"point. click. ship" - that's SetupBuilder 5

NewsArchive
06-12-2005, 08:30 AM
Friedrich,

Don't know if this will help you isolate the but, but the behavior itself is
a regression. You'll recall you found and fixed this several releases back.

--
Best regards,

Mark

-------------------------------------------------------------------
Why waste time learning when ignorance is instantaneous?
We do email right!
Rock solid hosting services at http://www.lanbytes.net

NewsArchive
06-12-2005, 08:31 AM
Mark,

Thank you! You are right. I fixed this several releases back, but I think
I forgot to change one line in the TOOLBAR source code :-( The "Run"
function initiated from the menu bar should work fine. I have fixed this
Toolbar problem now.

Thanks,
Friedrich

--
Friedrich Linder
CEO, Lindersoft
www.lindersoft.com
1.954.252.3910

"point. click. ship" - that's SetupBuilder 5

NewsArchive
06-12-2005, 08:31 AM
Wait a second... I do see a difference in the source code (one line in the
"Run" function). I'll comment this out. It would be great if you could
check this again in the next build.

Thanks,
Friedrich

--
Friedrich Linder
CEO, Lindersoft
www.lindersoft.com
1.954.252.3910

"point. click. ship" - that's SetupBuilder 5

NewsArchive
06-12-2005, 08:31 AM
Kevin,

I think this only happens if you click the "Run" button on the TOOLBAR. If
you use Build | Run Installer... from the MENU it should work fine.

Could you please test this?

Thanks,
Friedrich

--
Friedrich Linder
CEO, Lindersoft
www.lindersoft.com
1.954.252.3910

"point. click. ship" - that's SetupBuilder 5

NewsArchive
06-13-2005, 08:40 AM
Yes, you are correct the toolbar menu button saves the script, but does not
recompile - only runs it

The menu dropdown "run" command saves and builds the script before running.

Glad you found the problem and I was not "crazy" -- Ha Ha