PDA

View Full Version : 6.7 bug?



NewsArchive
12-10-2007, 03:45 AM
Friedrich,

It seems like the string assignment is doing an evaluation type function.
I'm not sure when this came in - but I've picked it up after upgrading on
Friday to 6.7.

Basically it manifests when we modify the red file. We read each line, test
if the required path is in the line, and then append where necessary.

If I read a line as follows:
tp?=%ROOT%\Template

append the 3rdparty path to the string:

Var: %REDDIRENTRY%
Value (append)= ; O:\Clarion6\3rdParty\Template

and then write it back in, it ends up:

tp?=\Template ; O:\Clarion6\3rdParty\Template

Hence appearing to evaluate %ROOT% to a variable (which contains nothing, as
it is not a valid script variable in my case). I've rolled back to the
install that I have on disk (which I think was possibly the version we were
on previously - 6.6 2016) for the meantime - but would like to keep up with
the latest and greatest. If there's a script change I need to make in order
to keep up with the new improvements, am happy to do that as well.

Also when assigning a string (in a script):

Var: %REDDIRENTRY%
Value: %%ROOT%%

It comes out as a blank too.

--
Geoff (Capesoft)

CapeSoft - where the computer obeys you!!
www.capesoft.com

http://www.capesoft.com

NewsArchive
12-10-2007, 03:47 AM
Hi Geoff,

Could you provide me with a small demo script?

Friedrich

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

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

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
12-10-2007, 03:47 AM
Geoff,

Re-read your message. %ROOT% is a pre-defined installer variable so it is
resolved at runtime.

To use the "Clarion" %ROOT% item, please enter %%ROOT%%

Does this help?

Friedrich

NewsArchive
12-10-2007, 03:48 AM
Re-read it again (too early in the morning). You already tried %%ROOT%%
<g>. It would be great if you could send me a demo script.

Friedrich

NewsArchive
12-10-2007, 03:48 AM
Geoff,

Definitely a SetupBuilder 6.7 (Build 2070) bug. It worked fine in 6.6
(Build 2040).

Item in review.

Friedrich

NewsArchive
12-10-2007, 03:49 AM
Fixed. We'll make a hotfix available later today.

Thank you for bringing this to our attention!

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

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

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
12-11-2007, 02:18 AM
The problem is caused by the following fix in Build 2040:

FIX : Installer: Possible nested runtime variable definition issue.

The fix is okay, but results in a fundamental Set Variable problem. The
following code snippet does not work correctly in any SB5 or SB6 version:

Set Variable %CAPESOFT% to "This is a test"
Set Variable %TEST% to "%%CAPESOFT%%"
Display Message Box "%TEST%" -- "Result"

It should display %CAPESOFT% but displays "This is a test"

Item still in review...

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

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

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
12-12-2007, 01:41 AM
Update: we have completely rewritten this compiler part now. We'll make a
hotfix available within the next 24-48 hours.

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

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

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
12-13-2007, 03:33 AM
Thanks Friedrich. I only checked the NG now - so I didn't get your request
for a demo script until now. Glad that you managed to resolve it.

--
Geoff (Capesoft)

CapeSoft - where the computer obeys you!!
www.capesoft.com

http://www.capesoft.com